interface CfnMailManagerTrafficPolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerTrafficPolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerTrafficPolicyMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerTrafficPolicyMixinProps |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerTrafficPolicyMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnMailManagerTrafficPolicyMixinProps |
Properties for CfnMailManagerTrafficPolicyPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const cfnMailManagerTrafficPolicyMixinProps: ses_mixins.CfnMailManagerTrafficPolicyMixinProps = {
defaultAction: 'defaultAction',
maxMessageSizeBytes: 123,
policyStatements: [{
action: 'action',
conditions: [{
booleanExpression: {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
isInAddressList: {
addressLists: ['addressLists'],
attribute: 'attribute',
},
},
operator: 'operator',
},
ipExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
ipv6Expression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
stringExpression: {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
tlsExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
value: 'value',
},
}],
}],
tags: [{
key: 'key',
value: 'value',
}],
trafficPolicyName: 'trafficPolicyName',
};
Properties
| Name | Type | Description |
|---|---|---|
| default | 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. |
| max | number | The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked. |
| policy | IResolvable | (IResolvable | Policy)[] | Conditional statements for filtering email traffic. |
| tags? | Cfn[] | The tags used to organize, track, or control access for the resource. |
| traffic | string | The name of the policy. |
defaultAction?
Type:
string
(optional)
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.
maxMessageSizeBytes?
Type:
number
(optional)
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
policyStatements?
Type:
IResolvable | (IResolvable | Policy)[]
(optional)
Conditional statements for filtering email traffic.
tags?
Type:
Cfn[]
(optional)
The tags used to organize, track, or control access for the resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyName?
Type:
string
(optional)
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

.NET
Go
Java
Python
TypeScript