checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementResourceSmtp
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Resource Smtp.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const smtp = new checkpoint.ManagementResourceSmtp("smtp", {
action1: {
customField: {
field: "field",
original: "five",
rewritten: "six",
},
recipient: {
original: "three",
rewritten: "four",
},
sender: {
original: "one",
rewritten: "two",
},
},
cvp: {
allowedToModifyContent: true,
enableCvp: false,
replyOrder: "return_data_after_content_is_approved",
server: "serverName",
},
exceptionTrack: "exception log",
mailDeliveryServer: "deliverServer",
match: {
recipient: "expr2",
sender: "expr1",
},
});
import pulumi
import pulumi_checkpoint as checkpoint
smtp = checkpoint.ManagementResourceSmtp("smtp",
action1={
"custom_field": {
"field": "field",
"original": "five",
"rewritten": "six",
},
"recipient": {
"original": "three",
"rewritten": "four",
},
"sender": {
"original": "one",
"rewritten": "two",
},
},
cvp={
"allowed_to_modify_content": True,
"enable_cvp": False,
"reply_order": "return_data_after_content_is_approved",
"server": "serverName",
},
exception_track="exception log",
mail_delivery_server="deliverServer",
match={
"recipient": "expr2",
"sender": "expr1",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkpoint.NewManagementResourceSmtp(ctx, "smtp", &checkpoint.ManagementResourceSmtpArgs{
Action1: &checkpoint.ManagementResourceSmtpAction1Args{
CustomField: &checkpoint.ManagementResourceSmtpAction1CustomFieldArgs{
Field: pulumi.String("field"),
Original: pulumi.String("five"),
Rewritten: pulumi.String("six"),
},
Recipient: &checkpoint.ManagementResourceSmtpAction1RecipientArgs{
Original: pulumi.String("three"),
Rewritten: pulumi.String("four"),
},
Sender: &checkpoint.ManagementResourceSmtpAction1SenderArgs{
Original: pulumi.String("one"),
Rewritten: pulumi.String("two"),
},
},
Cvp: &checkpoint.ManagementResourceSmtpCvpArgs{
AllowedToModifyContent: pulumi.Bool(true),
EnableCvp: pulumi.Bool(false),
ReplyOrder: pulumi.String("return_data_after_content_is_approved"),
Server: pulumi.String("serverName"),
},
ExceptionTrack: pulumi.String("exception log"),
MailDeliveryServer: pulumi.String("deliverServer"),
Match: pulumi.StringMap{
"recipient": pulumi.String("expr2"),
"sender": pulumi.String("expr1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var smtp = new Checkpoint.ManagementResourceSmtp("smtp", new()
{
Action1 = new Checkpoint.Inputs.ManagementResourceSmtpAction1Args
{
CustomField = new Checkpoint.Inputs.ManagementResourceSmtpAction1CustomFieldArgs
{
Field = "field",
Original = "five",
Rewritten = "six",
},
Recipient = new Checkpoint.Inputs.ManagementResourceSmtpAction1RecipientArgs
{
Original = "three",
Rewritten = "four",
},
Sender = new Checkpoint.Inputs.ManagementResourceSmtpAction1SenderArgs
{
Original = "one",
Rewritten = "two",
},
},
Cvp = new Checkpoint.Inputs.ManagementResourceSmtpCvpArgs
{
AllowedToModifyContent = true,
EnableCvp = false,
ReplyOrder = "return_data_after_content_is_approved",
Server = "serverName",
},
ExceptionTrack = "exception log",
MailDeliveryServer = "deliverServer",
Match =
{
{ "recipient", "expr2" },
{ "sender", "expr1" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementResourceSmtp;
import com.pulumi.checkpoint.ManagementResourceSmtpArgs;
import com.pulumi.checkpoint.inputs.ManagementResourceSmtpAction1Args;
import com.pulumi.checkpoint.inputs.ManagementResourceSmtpAction1CustomFieldArgs;
import com.pulumi.checkpoint.inputs.ManagementResourceSmtpAction1RecipientArgs;
import com.pulumi.checkpoint.inputs.ManagementResourceSmtpAction1SenderArgs;
import com.pulumi.checkpoint.inputs.ManagementResourceSmtpCvpArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var smtp = new ManagementResourceSmtp("smtp", ManagementResourceSmtpArgs.builder()
.action1(ManagementResourceSmtpAction1Args.builder()
.customField(ManagementResourceSmtpAction1CustomFieldArgs.builder()
.field("field")
.original("five")
.rewritten("six")
.build())
.recipient(ManagementResourceSmtpAction1RecipientArgs.builder()
.original("three")
.rewritten("four")
.build())
.sender(ManagementResourceSmtpAction1SenderArgs.builder()
.original("one")
.rewritten("two")
.build())
.build())
.cvp(ManagementResourceSmtpCvpArgs.builder()
.allowedToModifyContent(true)
.enableCvp(false)
.replyOrder("return_data_after_content_is_approved")
.server("serverName")
.build())
.exceptionTrack("exception log")
.mailDeliveryServer("deliverServer")
.match(Map.ofEntries(
Map.entry("recipient", "expr2"),
Map.entry("sender", "expr1")
))
.build());
}
}
resources:
smtp:
type: checkpoint:ManagementResourceSmtp
properties:
action1:
customField:
field: field
original: five
rewritten: six
recipient:
original: three
rewritten: four
sender:
original: one
rewritten: two
cvp:
allowedToModifyContent: true
enableCvp: false
replyOrder: return_data_after_content_is_approved
server: serverName
exceptionTrack: exception log
mailDeliveryServer: deliverServer
match:
recipient: expr2
sender: expr1
Using getManagementResourceSmtp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagementResourceSmtp(args: GetManagementResourceSmtpArgs, opts?: InvokeOptions): Promise<GetManagementResourceSmtpResult>
function getManagementResourceSmtpOutput(args: GetManagementResourceSmtpOutputArgs, opts?: InvokeOptions): Output<GetManagementResourceSmtpResult>
def get_management_resource_smtp(id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementResourceSmtpResult
def get_management_resource_smtp_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementResourceSmtpResult]
func LookupManagementResourceSmtp(ctx *Context, args *LookupManagementResourceSmtpArgs, opts ...InvokeOption) (*LookupManagementResourceSmtpResult, error)
func LookupManagementResourceSmtpOutput(ctx *Context, args *LookupManagementResourceSmtpOutputArgs, opts ...InvokeOption) LookupManagementResourceSmtpResultOutput
> Note: This function is named LookupManagementResourceSmtp
in the Go SDK.
public static class GetManagementResourceSmtp
{
public static Task<GetManagementResourceSmtpResult> InvokeAsync(GetManagementResourceSmtpArgs args, InvokeOptions? opts = null)
public static Output<GetManagementResourceSmtpResult> Invoke(GetManagementResourceSmtpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementResourceSmtpResult> getManagementResourceSmtp(GetManagementResourceSmtpArgs args, InvokeOptions options)
public static Output<GetManagementResourceSmtpResult> getManagementResourceSmtp(GetManagementResourceSmtpArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementResourceSmtp:getManagementResourceSmtp
arguments:
# arguments dictionary
The following arguments are supported:
getManagementResourceSmtp Result
The following output properties are available:
- Action1s
List<Get
Management Resource Smtp Action1> - Action2s
List<Get
Management Resource Smtp Action2> - Check
Rulebase boolWith New Destination - Color string
- Comments string
- Cvps
List<Get
Management Resource Smtp Cvp> - Deliver
Messages boolUsing Dns Mx Records - Error
Check boolRulebase With New Destination - Error
Deliver boolMessages Using Dns Mx Records - Error
Mail stringDelivery Server - Exception
Track string - Id string
- Mail
Delivery stringServer - Match Dictionary<string, string>
- Notify
Sender boolOn Error - List<string>
- Name string
- Uid string
- Action1s
[]Get
Management Resource Smtp Action1 - Action2s
[]Get
Management Resource Smtp Action2 - Check
Rulebase boolWith New Destination - Color string
- Comments string
- Cvps
[]Get
Management Resource Smtp Cvp - Deliver
Messages boolUsing Dns Mx Records - Error
Check boolRulebase With New Destination - Error
Deliver boolMessages Using Dns Mx Records - Error
Mail stringDelivery Server - Exception
Track string - Id string
- Mail
Delivery stringServer - Match map[string]string
- Notify
Sender boolOn Error - []string
- Name string
- Uid string
- action1s
List<Get
Management Resource Smtp Action1> - action2s
List<Get
Management Resource Smtp Action2> - check
Rulebase BooleanWith New Destination - color String
- comments String
- cvps
List<Get
Management Resource Smtp Cvp> - deliver
Messages BooleanUsing Dns Mx Records - error
Check BooleanRulebase With New Destination - error
Deliver BooleanMessages Using Dns Mx Records - error
Mail StringDelivery Server - exception
Track String - id String
- mail
Delivery StringServer - match Map<String,String>
- notify
Sender BooleanOn Error - List<String>
- name String
- uid String
- action1s
Get
Management Resource Smtp Action1[] - action2s
Get
Management Resource Smtp Action2[] - check
Rulebase booleanWith New Destination - color string
- comments string
- cvps
Get
Management Resource Smtp Cvp[] - deliver
Messages booleanUsing Dns Mx Records - error
Check booleanRulebase With New Destination - error
Deliver booleanMessages Using Dns Mx Records - error
Mail stringDelivery Server - exception
Track string - id string
- mail
Delivery stringServer - match {[key: string]: string}
- notify
Sender booleanOn Error - string[]
- name string
- uid string
- action1s
Sequence[Get
Management Resource Smtp Action1] - action2s
Sequence[Get
Management Resource Smtp Action2] - check_
rulebase_ boolwith_ new_ destination - color str
- comments str
- cvps
Sequence[Get
Management Resource Smtp Cvp] - deliver_
messages_ boolusing_ dns_ mx_ records - error_
check_ boolrulebase_ with_ new_ destination - error_
deliver_ boolmessages_ using_ dns_ mx_ records - error_
mail_ strdelivery_ server - exception_
track str - id str
- mail_
delivery_ strserver - match Mapping[str, str]
- notify_
sender_ boolon_ error - Sequence[str]
- name str
- uid str
- action1s List<Property Map>
- action2s List<Property Map>
- check
Rulebase BooleanWith New Destination - color String
- comments String
- cvps List<Property Map>
- deliver
Messages BooleanUsing Dns Mx Records - error
Check BooleanRulebase With New Destination - error
Deliver BooleanMessages Using Dns Mx Records - error
Mail StringDelivery Server - exception
Track String - id String
- mail
Delivery StringServer - match Map<String>
- notify
Sender BooleanOn Error - List<String>
- name String
- uid String
Supporting Types
GetManagementResourceSmtpAction1
- Custom
Fields List<GetManagement Resource Smtp Action1Custom Field> - The name of the header.custom_field blocks are documented below.
- Recipients
List<Get
Management Resource Smtp Action1Recipient> - Rewrite Recipient header.recipient blocks are documented below.
- Senders
List<Get
Management Resource Smtp Action1Sender> - Rewrite Sender header.sender blocks are documented below.
- Custom
Fields []GetManagement Resource Smtp Action1Custom Field - The name of the header.custom_field blocks are documented below.
- Recipients
[]Get
Management Resource Smtp Action1Recipient - Rewrite Recipient header.recipient blocks are documented below.
- Senders
[]Get
Management Resource Smtp Action1Sender - Rewrite Sender header.sender blocks are documented below.
- custom
Fields List<GetManagement Resource Smtp Action1Custom Field> - The name of the header.custom_field blocks are documented below.
- recipients
List<Get
Management Resource Smtp Action1Recipient> - Rewrite Recipient header.recipient blocks are documented below.
- senders
List<Get
Management Resource Smtp Action1Sender> - Rewrite Sender header.sender blocks are documented below.
- custom
Fields GetManagement Resource Smtp Action1Custom Field[] - The name of the header.custom_field blocks are documented below.
- recipients
Get
Management Resource Smtp Action1Recipient[] - Rewrite Recipient header.recipient blocks are documented below.
- senders
Get
Management Resource Smtp Action1Sender[] - Rewrite Sender header.sender blocks are documented below.
- custom_
fields Sequence[GetManagement Resource Smtp Action1Custom Field] - The name of the header.custom_field blocks are documented below.
- recipients
Sequence[Get
Management Resource Smtp Action1Recipient] - Rewrite Recipient header.recipient blocks are documented below.
- senders
Sequence[Get
Management Resource Smtp Action1Sender] - Rewrite Sender header.sender blocks are documented below.
- custom
Fields List<Property Map> - The name of the header.custom_field blocks are documented below.
- recipients List<Property Map>
- Rewrite Recipient header.recipient blocks are documented below.
- senders List<Property Map>
- Rewrite Sender header.sender blocks are documented below.
GetManagementResourceSmtpAction1CustomField
GetManagementResourceSmtpAction1Recipient
GetManagementResourceSmtpAction1Sender
GetManagementResourceSmtpAction2
- Allowed
Characters string - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- Mail
Capacity double - Restrict the size (in kb) of incoming email attachments.
- bool
- Strip activeX tags.
- bool
- Strip JAVA applets.
- Strip
File stringBy Name - Strips file attachments of the specified name from the message.
- Strip
Ftp boolLinks - Strip ftp links.
- Strip
Mime stringOf Type - Specifies the MIME type to strip from the message.
- Strip
Port boolStrings - Strip ports.
- bool
- Strip JAVA scripts.
- Allowed
Characters string - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- Mail
Capacity float64 - Restrict the size (in kb) of incoming email attachments.
- bool
- Strip activeX tags.
- bool
- Strip JAVA applets.
- Strip
File stringBy Name - Strips file attachments of the specified name from the message.
- Strip
Ftp boolLinks - Strip ftp links.
- Strip
Mime stringOf Type - Specifies the MIME type to strip from the message.
- Strip
Port boolStrings - Strip ports.
- bool
- Strip JAVA scripts.
- allowed
Characters String - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- mail
Capacity Double - Restrict the size (in kb) of incoming email attachments.
- Boolean
- Strip activeX tags.
- Boolean
- Strip JAVA applets.
- strip
File StringBy Name - Strips file attachments of the specified name from the message.
- strip
Ftp BooleanLinks - Strip ftp links.
- strip
Mime StringOf Type - Specifies the MIME type to strip from the message.
- strip
Port BooleanStrings - Strip ports.
- Boolean
- Strip JAVA scripts.
- allowed
Characters string - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- mail
Capacity number - Restrict the size (in kb) of incoming email attachments.
- boolean
- Strip activeX tags.
- boolean
- Strip JAVA applets.
- strip
File stringBy Name - Strips file attachments of the specified name from the message.
- strip
Ftp booleanLinks - Strip ftp links.
- strip
Mime stringOf Type - Specifies the MIME type to strip from the message.
- strip
Port booleanStrings - Strip ports.
- boolean
- Strip JAVA scripts.
- allowed_
characters str - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- mail_
capacity float - Restrict the size (in kb) of incoming email attachments.
- bool
- Strip activeX tags.
- bool
- Strip JAVA applets.
- strip_
file_ strby_ name - Strips file attachments of the specified name from the message.
- strip_
ftp_ boollinks - Strip ftp links.
- strip_
mime_ strof_ type - Specifies the MIME type to strip from the message.
- strip_
port_ boolstrings - Strip ports.
- bool
- Strip JAVA scripts.
- allowed
Characters String - The MIME email headers can consist of 8 or 7 bit characters (7 ASCII and 8 for sending Binary characters) in order to encode mail data.
- mail
Capacity Number - Restrict the size (in kb) of incoming email attachments.
- Boolean
- Strip activeX tags.
- Boolean
- Strip JAVA applets.
- strip
File StringBy Name - Strips file attachments of the specified name from the message.
- strip
Ftp BooleanLinks - Strip ftp links.
- strip
Mime StringOf Type - Specifies the MIME type to strip from the message.
- strip
Port BooleanStrings - Strip ports.
- Boolean
- Strip JAVA scripts.
GetManagementResourceSmtpCvp
- Allowed
To boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- Server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- Allowed
To boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- Server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order String - Designates when the CVP server returns data to the Security Gateway security server.
- server String
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To booleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp boolean - Select to enable the Content Vectoring Protocol.
- reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed_
to_ boolmodify_ content - Configures the CVP server to inspect but not modify content.
- enable_
cvp bool - Select to enable the Content Vectoring Protocol.
- reply_
order str - Designates when the CVP server returns data to the Security Gateway security server.
- server str
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order String - Designates when the CVP server returns data to the Security Gateway security server.
- server String
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw