AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SES::MailManagerTrafficPolicy

CfnMailManagerTrafficPolicy

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.

Import

import { CfnMailManagerTrafficPolicy } from 'aws-cdk-lib/aws-ses';

Or use the module namespace:

import * as ses from 'aws-cdk-lib/aws-ses';
// ses.CfnMailManagerTrafficPolicy

Properties

Configuration passed to the constructor as CfnMailManagerTrafficPolicyProps.

defaultActionRequired
string

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.

policyStatementsRequired
IResolvable | IResolvable | PolicyStatementProperty[]

Conditional statements for filtering email traffic.

maxMessageSizeBytesOptional
number

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

tagsOptional
CfnTag[]

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

trafficPolicyNameOptional
string

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon SES Cheat Sheet

Everything you need to know about Amazon SES on one page. HD quality, print-friendly.

Download Free Infographic