1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ses
  5. MailManagerTrafficPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ses.MailManagerTrafficPolicy

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Definition of AWS::SES::MailManagerTrafficPolicy Resource Type

Create MailManagerTrafficPolicy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MailManagerTrafficPolicy(name: string, args: MailManagerTrafficPolicyArgs, opts?: CustomResourceOptions);
@overload
def MailManagerTrafficPolicy(resource_name: str,
                             args: MailManagerTrafficPolicyArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def MailManagerTrafficPolicy(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             default_action: Optional[MailManagerTrafficPolicyAcceptAction] = None,
                             policy_statements: Optional[Sequence[MailManagerTrafficPolicyPolicyStatementArgs]] = None,
                             max_message_size_bytes: Optional[float] = None,
                             tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                             traffic_policy_name: Optional[str] = None)
func NewMailManagerTrafficPolicy(ctx *Context, name string, args MailManagerTrafficPolicyArgs, opts ...ResourceOption) (*MailManagerTrafficPolicy, error)
public MailManagerTrafficPolicy(string name, MailManagerTrafficPolicyArgs args, CustomResourceOptions? opts = null)
public MailManagerTrafficPolicy(String name, MailManagerTrafficPolicyArgs args)
public MailManagerTrafficPolicy(String name, MailManagerTrafficPolicyArgs args, CustomResourceOptions options)
type: aws-native:ses:MailManagerTrafficPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MailManagerTrafficPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MailManagerTrafficPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MailManagerTrafficPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MailManagerTrafficPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MailManagerTrafficPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MailManagerTrafficPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MailManagerTrafficPolicy resource accepts the following input properties:

DefaultAction This property is required. Pulumi.AwsNative.Ses.MailManagerTrafficPolicyAcceptAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
PolicyStatements This property is required. List<Pulumi.AwsNative.Ses.Inputs.MailManagerTrafficPolicyPolicyStatement>
Conditional statements for filtering email traffic.
MaxMessageSizeBytes double
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
Tags List<Pulumi.AwsNative.Inputs.Tag>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
TrafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

DefaultAction This property is required. MailManagerTrafficPolicyAcceptAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
PolicyStatements This property is required. []MailManagerTrafficPolicyPolicyStatementArgs
Conditional statements for filtering email traffic.
MaxMessageSizeBytes float64
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
Tags TagArgs
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
TrafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction This property is required. MailManagerTrafficPolicyAcceptAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
policyStatements This property is required. List<MailManagerTrafficPolicyPolicyStatement>
Conditional statements for filtering email traffic.
maxMessageSizeBytes Double
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
tags List<Tag>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyName String

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction This property is required. MailManagerTrafficPolicyAcceptAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
policyStatements This property is required. MailManagerTrafficPolicyPolicyStatement[]
Conditional statements for filtering email traffic.
maxMessageSizeBytes number
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
tags Tag[]
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

default_action This property is required. MailManagerTrafficPolicyAcceptAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
policy_statements This property is required. Sequence[MailManagerTrafficPolicyPolicyStatementArgs]
Conditional statements for filtering email traffic.
max_message_size_bytes float
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
tags Sequence[TagArgs]
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
traffic_policy_name str

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction This property is required. "ALLOW" | "DENY"
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
policyStatements This property is required. List<Property Map>
Conditional statements for filtering email traffic.
maxMessageSizeBytes Number
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
tags List<Property Map>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyName String

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Outputs

All input properties are implicitly available as output properties. Additionally, the MailManagerTrafficPolicy resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
TrafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
TrafficPolicyId string
The identifier of the traffic policy resource.
Id string
The provider-assigned unique ID for this managed resource.
TrafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
TrafficPolicyId string
The identifier of the traffic policy resource.
id String
The provider-assigned unique ID for this managed resource.
trafficPolicyArn String
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId String
The identifier of the traffic policy resource.
id string
The provider-assigned unique ID for this managed resource.
trafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId string
The identifier of the traffic policy resource.
id str
The provider-assigned unique ID for this managed resource.
traffic_policy_arn str
The Amazon Resource Name (ARN) of the traffic policy resource.
traffic_policy_id str
The identifier of the traffic policy resource.
id String
The provider-assigned unique ID for this managed resource.
trafficPolicyArn String
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId String
The identifier of the traffic policy resource.

Supporting Types

MailManagerTrafficPolicyAcceptAction
, MailManagerTrafficPolicyAcceptActionArgs

Allow
ALLOW
Deny
DENY
MailManagerTrafficPolicyAcceptActionAllow
ALLOW
MailManagerTrafficPolicyAcceptActionDeny
DENY
Allow
ALLOW
Deny
DENY
Allow
ALLOW
Deny
DENY
ALLOW
ALLOW
DENY
DENY
"ALLOW"
ALLOW
"DENY"
DENY

MailManagerTrafficPolicyIngressAnalysis
, MailManagerTrafficPolicyIngressAnalysisArgs

Analyzer This property is required. string
ResultField This property is required. string
Analyzer This property is required. string
ResultField This property is required. string
analyzer This property is required. String
resultField This property is required. String
analyzer This property is required. string
resultField This property is required. string
analyzer This property is required. str
result_field This property is required. str
analyzer This property is required. String
resultField This property is required. String

MailManagerTrafficPolicyIngressBooleanExpression
, MailManagerTrafficPolicyIngressBooleanExpressionArgs

evaluate This property is required. Property Map
operator This property is required. "IS_TRUE" | "IS_FALSE"

MailManagerTrafficPolicyIngressBooleanOperator
, MailManagerTrafficPolicyIngressBooleanOperatorArgs

IsTrue
IS_TRUE
IsFalse
IS_FALSE
MailManagerTrafficPolicyIngressBooleanOperatorIsTrue
IS_TRUE
MailManagerTrafficPolicyIngressBooleanOperatorIsFalse
IS_FALSE
IsTrue
IS_TRUE
IsFalse
IS_FALSE
IsTrue
IS_TRUE
IsFalse
IS_FALSE
IS_TRUE
IS_TRUE
IS_FALSE
IS_FALSE
"IS_TRUE"
IS_TRUE
"IS_FALSE"
IS_FALSE

MailManagerTrafficPolicyIngressBooleanToEvaluateProperties
, MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgs

analysis This property is required. Property Map

MailManagerTrafficPolicyIngressIpOperator
, MailManagerTrafficPolicyIngressIpOperatorArgs

CidrMatches
CIDR_MATCHES
NotCidrMatches
NOT_CIDR_MATCHES
MailManagerTrafficPolicyIngressIpOperatorCidrMatches
CIDR_MATCHES
MailManagerTrafficPolicyIngressIpOperatorNotCidrMatches
NOT_CIDR_MATCHES
CidrMatches
CIDR_MATCHES
NotCidrMatches
NOT_CIDR_MATCHES
CidrMatches
CIDR_MATCHES
NotCidrMatches
NOT_CIDR_MATCHES
CIDR_MATCHES
CIDR_MATCHES
NOT_CIDR_MATCHES
NOT_CIDR_MATCHES
"CIDR_MATCHES"
CIDR_MATCHES
"NOT_CIDR_MATCHES"
NOT_CIDR_MATCHES

MailManagerTrafficPolicyIngressIpToEvaluateProperties
, MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgs

attribute This property is required. "SENDER_IP"

MailManagerTrafficPolicyIngressIpv4Attribute
, MailManagerTrafficPolicyIngressIpv4AttributeArgs

SenderIp
SENDER_IP
MailManagerTrafficPolicyIngressIpv4AttributeSenderIp
SENDER_IP
SenderIp
SENDER_IP
SenderIp
SENDER_IP
SENDER_IP
SENDER_IP
"SENDER_IP"
SENDER_IP

MailManagerTrafficPolicyIngressIpv4Expression
, MailManagerTrafficPolicyIngressIpv4ExpressionArgs

Evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
Operator This property is required. MailManagerTrafficPolicyIngressIpOperator
Values This property is required. []string
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. List<String>
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. string[]
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. Sequence[str]
evaluate This property is required. Property Map
operator This property is required. "CIDR_MATCHES" | "NOT_CIDR_MATCHES"
values This property is required. List<String>

MailManagerTrafficPolicyIngressStringEmailAttribute
, MailManagerTrafficPolicyIngressStringEmailAttributeArgs

Recipient
RECIPIENT
MailManagerTrafficPolicyIngressStringEmailAttributeRecipient
RECIPIENT
Recipient
RECIPIENT
Recipient
RECIPIENT
RECIPIENT
RECIPIENT
"RECIPIENT"
RECIPIENT

MailManagerTrafficPolicyIngressStringExpression
, MailManagerTrafficPolicyIngressStringExpressionArgs

Evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
Operator This property is required. MailManagerTrafficPolicyIngressStringOperator
Values This property is required. []string
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. List<String>
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. string[]
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. Sequence[str]
evaluate This property is required. Property Map
operator This property is required. "EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"
values This property is required. List<String>

MailManagerTrafficPolicyIngressStringOperator
, MailManagerTrafficPolicyIngressStringOperatorArgs

EqualsValue
EQUALS
NotEquals
NOT_EQUALS
StartsWith
STARTS_WITH
EndsWith
ENDS_WITH
Contains
CONTAINS
MailManagerTrafficPolicyIngressStringOperatorEquals
EQUALS
MailManagerTrafficPolicyIngressStringOperatorNotEquals
NOT_EQUALS
MailManagerTrafficPolicyIngressStringOperatorStartsWith
STARTS_WITH
MailManagerTrafficPolicyIngressStringOperatorEndsWith
ENDS_WITH
MailManagerTrafficPolicyIngressStringOperatorContains
CONTAINS
Equals
EQUALS
NotEquals
NOT_EQUALS
StartsWith
STARTS_WITH
EndsWith
ENDS_WITH
Contains
CONTAINS
Equals
EQUALS
NotEquals
NOT_EQUALS
StartsWith
STARTS_WITH
EndsWith
ENDS_WITH
Contains
CONTAINS
EQUALS
EQUALS
NOT_EQUALS
NOT_EQUALS
STARTS_WITH
STARTS_WITH
ENDS_WITH
ENDS_WITH
CONTAINS
CONTAINS
"EQUALS"
EQUALS
"NOT_EQUALS"
NOT_EQUALS
"STARTS_WITH"
STARTS_WITH
"ENDS_WITH"
ENDS_WITH
"CONTAINS"
CONTAINS

MailManagerTrafficPolicyIngressStringToEvaluateProperties
, MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgs

attribute This property is required. "RECIPIENT"

MailManagerTrafficPolicyIngressTlsAttribute
, MailManagerTrafficPolicyIngressTlsAttributeArgs

TlsProtocol
TLS_PROTOCOL
MailManagerTrafficPolicyIngressTlsAttributeTlsProtocol
TLS_PROTOCOL
TlsProtocol
TLS_PROTOCOL
TlsProtocol
TLS_PROTOCOL
TLS_PROTOCOL
TLS_PROTOCOL
"TLS_PROTOCOL"
TLS_PROTOCOL

MailManagerTrafficPolicyIngressTlsProtocolAttribute
, MailManagerTrafficPolicyIngressTlsProtocolAttributeArgs

Tls12
TLS1_2
Tls13
TLS1_3
MailManagerTrafficPolicyIngressTlsProtocolAttributeTls12
TLS1_2
MailManagerTrafficPolicyIngressTlsProtocolAttributeTls13
TLS1_3
Tls12
TLS1_2
Tls13
TLS1_3
Tls12
TLS1_2
Tls13
TLS1_3
TLS12
TLS1_2
TLS13
TLS1_3
"TLS1_2"
TLS1_2
"TLS1_3"
TLS1_3

MailManagerTrafficPolicyIngressTlsProtocolExpression
, MailManagerTrafficPolicyIngressTlsProtocolExpressionArgs

evaluate This property is required. Property Map
operator This property is required. "MINIMUM_TLS_VERSION" | "IS"
value This property is required. "TLS1_2" | "TLS1_3"

MailManagerTrafficPolicyIngressTlsProtocolOperator
, MailManagerTrafficPolicyIngressTlsProtocolOperatorArgs

MinimumTlsVersion
MINIMUM_TLS_VERSION
Is
IS
MailManagerTrafficPolicyIngressTlsProtocolOperatorMinimumTlsVersion
MINIMUM_TLS_VERSION
MailManagerTrafficPolicyIngressTlsProtocolOperatorIs
IS
MinimumTlsVersion
MINIMUM_TLS_VERSION
Is
IS
MinimumTlsVersion
MINIMUM_TLS_VERSION
Is
IS
MINIMUM_TLS_VERSION
MINIMUM_TLS_VERSION
IS_
IS
"MINIMUM_TLS_VERSION"
MINIMUM_TLS_VERSION
"IS"
IS

MailManagerTrafficPolicyIngressTlsProtocolToEvaluateProperties
, MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgs

attribute This property is required. "TLS_PROTOCOL"

MailManagerTrafficPolicyPolicyCondition0Properties
, MailManagerTrafficPolicyPolicyCondition0PropertiesArgs

stringExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition1Properties
, MailManagerTrafficPolicyPolicyCondition1PropertiesArgs

ipExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition2Properties
, MailManagerTrafficPolicyPolicyCondition2PropertiesArgs

tlsExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition3Properties
, MailManagerTrafficPolicyPolicyCondition3PropertiesArgs

booleanExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyStatement
, MailManagerTrafficPolicyPolicyStatementArgs

Action This property is required. Pulumi.AwsNative.Ses.MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
Conditions This property is required. List<object>
The list of conditions to apply to incoming messages for filtering email traffic.
Action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
Conditions This property is required. []interface{}
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. List<Object>
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. (MailManagerTrafficPolicyPolicyCondition0Properties | MailManagerTrafficPolicyPolicyCondition1Properties | MailManagerTrafficPolicyPolicyCondition2Properties | MailManagerTrafficPolicyPolicyCondition3Properties)[]
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. Sequence[Union[MailManagerTrafficPolicyPolicyCondition0Properties, MailManagerTrafficPolicyPolicyCondition1Properties, MailManagerTrafficPolicyPolicyCondition2Properties, MailManagerTrafficPolicyPolicyCondition3Properties]]
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. "ALLOW" | "DENY"
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. List<Property Map | Property Map | Property Map | Property Map>
The list of conditions to apply to incoming messages for filtering email traffic.

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi