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:
- Default
Action 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
- Policy
Statements List<Pulumi.Aws Native. Ses. Inputs. Mail Manager Traffic Policy Policy Statement> - Conditional statements for filtering email traffic.
- Max
Message 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"} }.
- Traffic
Policy 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 []MailManager Traffic Policy Policy Statement Args - Conditional statements for filtering email traffic.
- Max
Message float64Size Bytes - The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
- Tag
Args - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Traffic
Policy 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 List<MailManager Traffic Policy Policy Statement> - Conditional statements for filtering email traffic.
- max
Message 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"} }.
- traffic
Policy 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 MailManager Traffic Policy Policy Statement[] - Conditional statements for filtering email traffic.
- max
Message 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"} }.
- traffic
Policy 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[Tag
Args] - 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.
- default
Action "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
- policy
Statements List<Property Map> - Conditional statements for filtering email traffic.
- max
Message 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"} }.
- traffic
Policy 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.
- Traffic
Policy stringArn - The Amazon Resource Name (ARN) of the traffic policy resource.
- Traffic
Policy stringId - The identifier of the traffic policy resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Traffic
Policy stringArn - The Amazon Resource Name (ARN) of the traffic policy resource.
- Traffic
Policy stringId - The identifier of the traffic policy resource.
- id String
- The provider-assigned unique ID for this managed resource.
- traffic
Policy StringArn - The Amazon Resource Name (ARN) of the traffic policy resource.
- traffic
Policy StringId - The identifier of the traffic policy resource.
- id string
- The provider-assigned unique ID for this managed resource.
- traffic
Policy stringArn - The Amazon Resource Name (ARN) of the traffic policy resource.
- traffic
Policy 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.
- traffic
Policy StringArn - The Amazon Resource Name (ARN) of the traffic policy resource.
- traffic
Policy StringId - The identifier of the traffic policy resource.
Supporting Types
MailManagerTrafficPolicyAcceptAction, MailManagerTrafficPolicyAcceptActionArgs
- Allow
- ALLOW
- Deny
- DENY
- Mail
Manager Traffic Policy Accept Action Allow - ALLOW
- Mail
Manager 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
- Result
Field string
- Analyzer string
- Result
Field string
- analyzer String
- result
Field String
- analyzer string
- result
Field string
- analyzer str
- result_
field str
- analyzer String
- result
Field String
MailManagerTrafficPolicyIngressBooleanExpression, MailManagerTrafficPolicyIngressBooleanExpressionArgs
MailManagerTrafficPolicyIngressBooleanOperator, MailManagerTrafficPolicyIngressBooleanOperatorArgs
- Is
True - IS_TRUE
- Is
False - IS_FALSE
- Mail
Manager Traffic Policy Ingress Boolean Operator Is True - IS_TRUE
- Mail
Manager Traffic Policy Ingress Boolean Operator Is False - IS_FALSE
- Is
True - IS_TRUE
- Is
False - IS_FALSE
- Is
True - IS_TRUE
- Is
False - IS_FALSE
- IS_TRUE
- IS_TRUE
- IS_FALSE
- IS_FALSE
- "IS_TRUE"
- IS_TRUE
- "IS_FALSE"
- IS_FALSE
MailManagerTrafficPolicyIngressBooleanToEvaluateProperties, MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgs
MailManagerTrafficPolicyIngressIpOperator, MailManagerTrafficPolicyIngressIpOperatorArgs
- Cidr
Matches - CIDR_MATCHES
- Not
Cidr Matches - NOT_CIDR_MATCHES
- Mail
Manager Traffic Policy Ingress Ip Operator Cidr Matches - CIDR_MATCHES
- Mail
Manager Traffic Policy Ingress Ip Operator Not Cidr Matches - NOT_CIDR_MATCHES
- Cidr
Matches - CIDR_MATCHES
- Not
Cidr Matches - NOT_CIDR_MATCHES
- Cidr
Matches - CIDR_MATCHES
- Not
Cidr 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
- Sender
Ip - SENDER_IP
- Mail
Manager Traffic Policy Ingress Ipv4Attribute Sender Ip - SENDER_IP
- Sender
Ip - SENDER_IP
- Sender
Ip - SENDER_IP
- SENDER_IP
- SENDER_IP
- "SENDER_IP"
- SENDER_IP
MailManagerTrafficPolicyIngressIpv4Expression, MailManagerTrafficPolicyIngressIpv4ExpressionArgs
MailManagerTrafficPolicyIngressStringEmailAttribute, MailManagerTrafficPolicyIngressStringEmailAttributeArgs
- Recipient
- RECIPIENT
- Mail
Manager Traffic Policy Ingress String Email Attribute Recipient - RECIPIENT
- Recipient
- RECIPIENT
- Recipient
- RECIPIENT
- RECIPIENT
- RECIPIENT
- "RECIPIENT"
- RECIPIENT
MailManagerTrafficPolicyIngressStringExpression, MailManagerTrafficPolicyIngressStringExpressionArgs
MailManagerTrafficPolicyIngressStringOperator, MailManagerTrafficPolicyIngressStringOperatorArgs
- Equals
Value - EQUALS
- Not
Equals - NOT_EQUALS
- Starts
With - STARTS_WITH
- Ends
With - ENDS_WITH
- Contains
- CONTAINS
- Mail
Manager Traffic Policy Ingress String Operator Equals - EQUALS
- Mail
Manager Traffic Policy Ingress String Operator Not Equals - NOT_EQUALS
- Mail
Manager Traffic Policy Ingress String Operator Starts With - STARTS_WITH
- Mail
Manager Traffic Policy Ingress String Operator Ends With - ENDS_WITH
- Mail
Manager Traffic Policy Ingress String Operator 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
- 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
- Tls
Protocol - TLS_PROTOCOL
- Mail
Manager Traffic Policy Ingress Tls Attribute Tls Protocol - TLS_PROTOCOL
- Tls
Protocol - TLS_PROTOCOL
- Tls
Protocol - TLS_PROTOCOL
- TLS_PROTOCOL
- TLS_PROTOCOL
- "TLS_PROTOCOL"
- TLS_PROTOCOL
MailManagerTrafficPolicyIngressTlsProtocolAttribute, MailManagerTrafficPolicyIngressTlsProtocolAttributeArgs
- Tls12
- TLS1_2
- Tls13
- TLS1_3
- Mail
Manager Traffic Policy Ingress Tls Protocol Attribute Tls12 - TLS1_2
- Mail
Manager 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
- Minimum
Tls Version - MINIMUM_TLS_VERSION
- Is
- IS
- Mail
Manager Traffic Policy Ingress Tls Protocol Operator Minimum Tls Version - MINIMUM_TLS_VERSION
- Mail
Manager Traffic Policy Ingress Tls Protocol Operator Is - IS
- Minimum
Tls Version - MINIMUM_TLS_VERSION
- Is
- IS
- Minimum
Tls 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
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 []interface{}
- The list of conditions to apply to incoming messages for filtering email traffic.
- action
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
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
(Mail
Manager 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
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
Sequence[Union[Mail
Manager 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.