We recommend new projects start with resources from the AWS provider.
aws-native.ses.MailManagerTrafficPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args MailManagerTrafficPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args MailManagerTrafficPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MailManagerTrafficPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 Pulumi.Aws Native. Ses. Mail Manager Traffic Policy Accept Action 
- 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 List<Pulumi.Aws Native. Ses. Inputs. Mail Manager Traffic Policy Policy Statement> 
- Conditional statements for filtering email traffic.
- MaxMessage doubleSize Bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- TrafficPolicy stringName 
- The name of the policy. - The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. 
- DefaultAction MailManager Traffic Policy Accept Action 
- 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 []MailManager Traffic Policy Policy Statement Args 
- Conditional statements for filtering email traffic.
- MaxMessage float64Size Bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- 
TagArgs 
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- TrafficPolicy stringName 
- The name of the policy. - The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. 
- defaultAction MailManager Traffic Policy Accept Action 
- 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 List<MailManager Traffic Policy Policy Statement> 
- Conditional statements for filtering email traffic.
- maxMessage DoubleSize Bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- List<Tag>
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- trafficPolicy StringName 
- The name of the policy. - The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. 
- defaultAction MailManager Traffic Policy Accept Action 
- 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 MailManager Traffic Policy Policy Statement[] 
- Conditional statements for filtering email traffic.
- maxMessage numberSize Bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- Tag[]
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- trafficPolicy stringName 
- The name of the policy. - The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. 
- default_action MailManager Traffic Policy Accept Action 
- 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 Sequence[MailManager Traffic Policy Policy Statement Args] 
- Conditional statements for filtering email traffic.
- max_message_ floatsize_ bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- 
Sequence[TagArgs] 
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- traffic_policy_ strname 
- The name of the policy. - The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. 
- defaultAction "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 List<Property Map>
- Conditional statements for filtering email traffic.
- maxMessage NumberSize Bytes 
- The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- List<Property Map>
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- trafficPolicy StringName 
- 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.
- TrafficPolicy stringArn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- TrafficPolicy stringId 
- The identifier of the traffic policy resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- TrafficPolicy stringArn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- TrafficPolicy stringId 
- The identifier of the traffic policy resource.
- id String
- The provider-assigned unique ID for this managed resource.
- trafficPolicy StringArn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- trafficPolicy StringId 
- The identifier of the traffic policy resource.
- id string
- The provider-assigned unique ID for this managed resource.
- trafficPolicy stringArn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- trafficPolicy stringId 
- The identifier of the traffic policy resource.
- id str
- The provider-assigned unique ID for this managed resource.
- traffic_policy_ strarn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- traffic_policy_ strid 
- The identifier of the traffic policy resource.
- id String
- The provider-assigned unique ID for this managed resource.
- trafficPolicy StringArn 
- The Amazon Resource Name (ARN) of the traffic policy resource.
- trafficPolicy StringId 
- The identifier of the traffic policy resource.
Supporting Types
MailManagerTrafficPolicyAcceptAction, MailManagerTrafficPolicyAcceptActionArgs            
- Allow
- ALLOW
- Deny
- DENY
- MailManager Traffic Policy Accept Action Allow 
- ALLOW
- MailManager Traffic Policy Accept Action Deny 
- DENY
- Allow
- ALLOW
- Deny
- DENY
- Allow
- ALLOW
- Deny
- DENY
- ALLOW
- ALLOW
- DENY
- DENY
- "ALLOW"
- ALLOW
- "DENY"
- DENY
MailManagerTrafficPolicyIngressAnalysis, MailManagerTrafficPolicyIngressAnalysisArgs            
- Analyzer string
- ResultField string
- Analyzer string
- ResultField string
- analyzer String
- resultField String
- analyzer string
- resultField string
- analyzer str
- result_field str
- analyzer String
- resultField String
MailManagerTrafficPolicyIngressBooleanExpression, MailManagerTrafficPolicyIngressBooleanExpressionArgs              
MailManagerTrafficPolicyIngressBooleanOperator, MailManagerTrafficPolicyIngressBooleanOperatorArgs              
- IsTrue 
- IS_TRUE
- IsFalse 
- IS_FALSE
- MailManager Traffic Policy Ingress Boolean Operator Is True 
- IS_TRUE
- MailManager Traffic Policy Ingress Boolean Operator Is False 
- 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                  
MailManagerTrafficPolicyIngressIpOperator, MailManagerTrafficPolicyIngressIpOperatorArgs              
- CidrMatches 
- CIDR_MATCHES
- NotCidr Matches 
- NOT_CIDR_MATCHES
- MailManager Traffic Policy Ingress Ip Operator Cidr Matches 
- CIDR_MATCHES
- MailManager Traffic Policy Ingress Ip Operator Not Cidr Matches 
- NOT_CIDR_MATCHES
- CidrMatches 
- CIDR_MATCHES
- NotCidr Matches 
- NOT_CIDR_MATCHES
- CidrMatches 
- CIDR_MATCHES
- NotCidr Matches 
- 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                  
MailManagerTrafficPolicyIngressIpv4Attribute, MailManagerTrafficPolicyIngressIpv4AttributeArgs            
- SenderIp 
- SENDER_IP
- MailManager Traffic Policy Ingress Ipv4Attribute Sender Ip 
- SENDER_IP
- SenderIp 
- SENDER_IP
- SenderIp 
- SENDER_IP
- SENDER_IP
- SENDER_IP
- "SENDER_IP"
- SENDER_IP
MailManagerTrafficPolicyIngressIpv4Expression, MailManagerTrafficPolicyIngressIpv4ExpressionArgs            
MailManagerTrafficPolicyIngressStringEmailAttribute, MailManagerTrafficPolicyIngressStringEmailAttributeArgs                
- Recipient
- RECIPIENT
- MailManager Traffic Policy Ingress String Email Attribute Recipient 
- RECIPIENT
- Recipient
- RECIPIENT
- Recipient
- RECIPIENT
- RECIPIENT
- RECIPIENT
- "RECIPIENT"
- RECIPIENT
MailManagerTrafficPolicyIngressStringExpression, MailManagerTrafficPolicyIngressStringExpressionArgs              
MailManagerTrafficPolicyIngressStringOperator, MailManagerTrafficPolicyIngressStringOperatorArgs              
- EqualsValue 
- EQUALS
- NotEquals 
- NOT_EQUALS
- StartsWith 
- STARTS_WITH
- EndsWith 
- ENDS_WITH
- Contains
- CONTAINS
- MailManager Traffic Policy Ingress String Operator Equals 
- EQUALS
- MailManager Traffic Policy Ingress String Operator Not Equals 
- NOT_EQUALS
- MailManager Traffic Policy Ingress String Operator Starts With 
- STARTS_WITH
- MailManager Traffic Policy Ingress String Operator Ends With 
- ENDS_WITH
- MailManager Traffic Policy Ingress String Operator Contains 
- 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                  
MailManagerTrafficPolicyIngressTlsAttribute, MailManagerTrafficPolicyIngressTlsAttributeArgs              
- TlsProtocol 
- TLS_PROTOCOL
- MailManager Traffic Policy Ingress Tls Attribute Tls Protocol 
- TLS_PROTOCOL
- TlsProtocol 
- TLS_PROTOCOL
- TlsProtocol 
- TLS_PROTOCOL
- TLS_PROTOCOL
- TLS_PROTOCOL
- "TLS_PROTOCOL"
- TLS_PROTOCOL
MailManagerTrafficPolicyIngressTlsProtocolAttribute, MailManagerTrafficPolicyIngressTlsProtocolAttributeArgs                
- Tls12
- TLS1_2
- Tls13
- TLS1_3
- MailManager Traffic Policy Ingress Tls Protocol Attribute Tls12 
- TLS1_2
- MailManager Traffic Policy Ingress Tls Protocol Attribute Tls13 
- 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                
MailManagerTrafficPolicyIngressTlsProtocolOperator, MailManagerTrafficPolicyIngressTlsProtocolOperatorArgs                
- MinimumTls Version 
- MINIMUM_TLS_VERSION
- Is
- IS
- MailManager Traffic Policy Ingress Tls Protocol Operator Minimum Tls Version 
- MINIMUM_TLS_VERSION
- MailManager Traffic Policy Ingress Tls Protocol Operator Is 
- IS
- MinimumTls Version 
- MINIMUM_TLS_VERSION
- Is
- IS
- MinimumTls Version 
- MINIMUM_TLS_VERSION
- Is
- IS
- MINIMUM_TLS_VERSION
- MINIMUM_TLS_VERSION
- IS_
- IS
- "MINIMUM_TLS_VERSION"
- MINIMUM_TLS_VERSION
- "IS"
- IS
MailManagerTrafficPolicyIngressTlsProtocolToEvaluateProperties, MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgs                    
MailManagerTrafficPolicyPolicyCondition0Properties, MailManagerTrafficPolicyPolicyCondition0PropertiesArgs            
MailManagerTrafficPolicyPolicyCondition1Properties, MailManagerTrafficPolicyPolicyCondition1PropertiesArgs            
MailManagerTrafficPolicyPolicyCondition2Properties, MailManagerTrafficPolicyPolicyCondition2PropertiesArgs            
MailManagerTrafficPolicyPolicyCondition3Properties, MailManagerTrafficPolicyPolicyCondition3PropertiesArgs            
MailManagerTrafficPolicyPolicyStatement, MailManagerTrafficPolicyPolicyStatementArgs            
- Action
Pulumi.Aws Native. Ses. Mail Manager Traffic Policy Accept Action 
- 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 List<object>
- The list of conditions to apply to incoming messages for filtering email traffic.
- Action
MailManager Traffic Policy Accept Action 
- 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 []interface{}
- The list of conditions to apply to incoming messages for filtering email traffic.
- action
MailManager Traffic Policy Accept Action 
- 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 List<Object>
- The list of conditions to apply to incoming messages for filtering email traffic.
- action
MailManager Traffic Policy Accept Action 
- 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
(MailManager Traffic Policy Policy Condition0Properties | Mail Manager Traffic Policy Policy Condition1Properties | Mail Manager Traffic Policy Policy Condition2Properties | Mail Manager Traffic Policy Policy Condition3Properties)[] 
- The list of conditions to apply to incoming messages for filtering email traffic.
- action
MailManager Traffic Policy Accept Action 
- 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
Sequence[Union[MailManager Traffic Policy Policy Condition0Properties, Mail Manager Traffic Policy Policy Condition1Properties, Mail Manager Traffic Policy Policy Condition2Properties, Mail Manager Traffic Policy Policy Condition3Properties]] 
- The list of conditions to apply to incoming messages for filtering email traffic.
- action "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 List<Property Map | Property Map | Property Map | Property Map>
- The list of conditions to apply to incoming messages for filtering email traffic.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.