AWS::SES::MailManagerTrafficPolicyResource 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.
import { CfnMailManagerTrafficPolicy } from 'aws-cdk-lib/aws-ses';Or use the module namespace:
import * as ses from 'aws-cdk-lib/aws-ses';
// ses.CfnMailManagerTrafficPolicyConfiguration passed to the constructor as CfnMailManagerTrafficPolicyProps.
defaultActionRequiredstringDefault 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.
policyStatementsRequiredIResolvable | IResolvable | PolicyStatementProperty[]Conditional statements for filtering email traffic.
maxMessageSizeBytesOptionalnumberThe maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
tagsOptionalCfnTag[]The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyNameOptionalstringThe name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon SES on one page. HD quality, print-friendly.
Download Free Infographicaws-sesAWS::SES::MailManagerTrafficPolicy