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 This property is required. List<GetManagement Resource Smtp Action1Custom Field> - The name of the header.custom_field blocks are documented below.
- Recipients
This property is required. List<GetManagement Resource Smtp Action1Recipient> - Rewrite Recipient header.recipient blocks are documented below.
- Senders
This property is required. List<GetManagement Resource Smtp Action1Sender> - Rewrite Sender header.sender blocks are documented below.
- Custom
Fields This property is required. []GetManagement Resource Smtp Action1Custom Field - The name of the header.custom_field blocks are documented below.
- Recipients
This property is required. []GetManagement Resource Smtp Action1Recipient - Rewrite Recipient header.recipient blocks are documented below.
- Senders
This property is required. []GetManagement Resource Smtp Action1Sender - Rewrite Sender header.sender blocks are documented below.
- custom
Fields This property is required. List<GetManagement Resource Smtp Action1Custom Field> - The name of the header.custom_field blocks are documented below.
- recipients
This property is required. List<GetManagement Resource Smtp Action1Recipient> - Rewrite Recipient header.recipient blocks are documented below.
- senders
This property is required. List<GetManagement Resource Smtp Action1Sender> - Rewrite Sender header.sender blocks are documented below.
- custom
Fields This property is required. GetManagement Resource Smtp Action1Custom Field[] - The name of the header.custom_field blocks are documented below.
- recipients
This property is required. GetManagement Resource Smtp Action1Recipient[] - Rewrite Recipient header.recipient blocks are documented below.
- senders
This property is required. GetManagement Resource Smtp Action1Sender[] - Rewrite Sender header.sender blocks are documented below.
- custom_
fields This property is required. Sequence[GetManagement Resource Smtp Action1Custom Field] - The name of the header.custom_field blocks are documented below.
- recipients
This property is required. Sequence[GetManagement Resource Smtp Action1Recipient] - Rewrite Recipient header.recipient blocks are documented below.
- senders
This property is required. Sequence[GetManagement Resource Smtp Action1Sender] - Rewrite Sender header.sender blocks are documented below.
- custom
Fields This property is required. List<Property Map> - The name of the header.custom_field blocks are documented below.
- recipients
This property is required. List<Property Map> - Rewrite Recipient header.recipient blocks are documented below.
- senders
This property is required. List<Property Map> - Rewrite Sender header.sender blocks are documented below.
GetManagementResourceSmtpAction1CustomField
GetManagementResourceSmtpAction1Recipient
GetManagementResourceSmtpAction1Sender
GetManagementResourceSmtpAction2
- Allowed
Characters This property is required. 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 This property is required. double - Restrict the size (in kb) of incoming email attachments.
This property is required. bool- Strip activeX tags.
This property is required. bool- Strip JAVA applets.
- Strip
File By Name This property is required. string - Strips file attachments of the specified name from the message.
- Strip
Ftp Links This property is required. bool - Strip ftp links.
- Strip
Mime Of Type This property is required. string - Specifies the MIME type to strip from the message.
- Strip
Port Strings This property is required. bool - Strip ports.
This property is required. bool- Strip JAVA scripts.
- Allowed
Characters This property is required. 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 This property is required. float64 - Restrict the size (in kb) of incoming email attachments.
This property is required. bool- Strip activeX tags.
This property is required. bool- Strip JAVA applets.
- Strip
File By Name This property is required. string - Strips file attachments of the specified name from the message.
- Strip
Ftp Links This property is required. bool - Strip ftp links.
- Strip
Mime Of Type This property is required. string - Specifies the MIME type to strip from the message.
- Strip
Port Strings This property is required. bool - Strip ports.
This property is required. bool- Strip JAVA scripts.
- allowed
Characters This property is required. 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 This property is required. Double - Restrict the size (in kb) of incoming email attachments.
This property is required. Boolean- Strip activeX tags.
This property is required. Boolean- Strip JAVA applets.
- strip
File By Name This property is required. String - Strips file attachments of the specified name from the message.
- strip
Ftp Links This property is required. Boolean - Strip ftp links.
- strip
Mime Of Type This property is required. String - Specifies the MIME type to strip from the message.
- strip
Port Strings This property is required. Boolean - Strip ports.
This property is required. Boolean- Strip JAVA scripts.
- allowed
Characters This property is required. 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 This property is required. number - Restrict the size (in kb) of incoming email attachments.
This property is required. boolean- Strip activeX tags.
This property is required. boolean- Strip JAVA applets.
- strip
File By Name This property is required. string - Strips file attachments of the specified name from the message.
- strip
Ftp Links This property is required. boolean - Strip ftp links.
- strip
Mime Of Type This property is required. string - Specifies the MIME type to strip from the message.
- strip
Port Strings This property is required. boolean - Strip ports.
This property is required. boolean- Strip JAVA scripts.
- allowed_
characters This property is required. 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 This property is required. float - Restrict the size (in kb) of incoming email attachments.
This property is required. bool- Strip activeX tags.
This property is required. bool- Strip JAVA applets.
- strip_
file_ by_ name This property is required. str - Strips file attachments of the specified name from the message.
- strip_
ftp_ links This property is required. bool - Strip ftp links.
- strip_
mime_ of_ type This property is required. str - Specifies the MIME type to strip from the message.
- strip_
port_ strings This property is required. bool - Strip ports.
This property is required. bool- Strip JAVA scripts.
- allowed
Characters This property is required. 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 This property is required. Number - Restrict the size (in kb) of incoming email attachments.
This property is required. Boolean- Strip activeX tags.
This property is required. Boolean- Strip JAVA applets.
- strip
File By Name This property is required. String - Strips file attachments of the specified name from the message.
- strip
Ftp Links This property is required. Boolean - Strip ftp links.
- strip
Mime Of Type This property is required. String - Specifies the MIME type to strip from the message.
- strip
Port Strings This property is required. Boolean - Strip ports.
This property is required. Boolean- Strip JAVA scripts.
GetManagementResourceSmtpCvp
- Allowed
To Modify Content This property is required. bool - Configures the CVP server to inspect but not modify content.
- Enable
Cvp This property is required. bool - Select to enable the Content Vectoring Protocol.
- Reply
Order This property is required. string - Designates when the CVP server returns data to the Security Gateway security server.
- Server
This property is required. string - The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- Allowed
To Modify Content This property is required. bool - Configures the CVP server to inspect but not modify content.
- Enable
Cvp This property is required. bool - Select to enable the Content Vectoring Protocol.
- Reply
Order This property is required. string - Designates when the CVP server returns data to the Security Gateway security server.
- Server
This property is required. string - The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To Modify Content This property is required. Boolean - Configures the CVP server to inspect but not modify content.
- enable
Cvp This property is required. Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order This property is required. String - Designates when the CVP server returns data to the Security Gateway security server.
- server
This property is required. String - The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To Modify Content This property is required. boolean - Configures the CVP server to inspect but not modify content.
- enable
Cvp This property is required. boolean - Select to enable the Content Vectoring Protocol.
- reply
Order This property is required. string - Designates when the CVP server returns data to the Security Gateway security server.
- server
This property is required. string - The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed_
to_ modify_ content This property is required. bool - Configures the CVP server to inspect but not modify content.
- enable_
cvp This property is required. bool - Select to enable the Content Vectoring Protocol.
- reply_
order This property is required. str - Designates when the CVP server returns data to the Security Gateway security server.
- server
This property is required. str - The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To Modify Content This property is required. Boolean - Configures the CVP server to inspect but not modify content.
- enable
Cvp This property is required. Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order This property is required. String - Designates when the CVP server returns data to the Security Gateway security server.
- server
This property is required. 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