AWS::SES::MailManagerTrafficPolicy - AWS CloudFormation

AWS::SES::MailManagerTrafficPolicy

Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::SES::MailManagerTrafficPolicy", "Properties" : { "DefaultAction" : String, "MaxMessageSizeBytes" : Number, "PolicyStatements" : [ PolicyStatement, ... ], "Tags" : [ Tag, ... ], "TrafficPolicyName" : String } }

YAML

Type: AWS::SES::MailManagerTrafficPolicy Properties: DefaultAction: String MaxMessageSizeBytes: Number PolicyStatements: - PolicyStatement Tags: - Tag TrafficPolicyName: String

Properties

DefaultAction

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

Required: Yes

Type: String

Allowed values: ALLOW | DENY

Update requires: No interruption

MaxMessageSizeBytes

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

Required: No

Type: Number

Minimum: 1

Update requires: No interruption

PolicyStatements

Conditional statements for filtering email traffic.

Required: Yes

Type: Array of PolicyStatement

Update requires: No interruption

Tags

The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

Required: No

Type: Array of Tag

Minimum: 0

Maximum: 200

Update requires: No interruption

TrafficPolicyName

The name of the policy.

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

Required: No

Type: String

Pattern: ^[A-Za-z0-9_\-]+$

Minimum: 3

Maximum: 63

Update requires: No interruption

Return values

Ref

Fn::GetAtt

TrafficPolicyArn

The Amazon Resource Name (ARN) of the traffic policy resource.

TrafficPolicyId

The identifier of the traffic policy resource.