interface PolicyStatementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SES.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsses#CfnMailManagerTrafficPolicyPropsMixin_PolicyStatementProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
Python | aws_cdk.cfn_property_mixins.aws_ses.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ses » CfnMailManagerTrafficPolicyPropsMixin » PolicyStatementProperty |
The structure containing traffic policy conditions and actions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from '@aws-cdk/cfn-property-mixins';
const policyStatementProperty: ses.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty = {
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',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | string | 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? | IResolvable | (IResolvable | Policy)[] | The list of conditions to apply to incoming messages for filtering email traffic. |
action?
Type:
string
(optional)
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?
Type:
IResolvable | (IResolvable | Policy)[]
(optional)
The list of conditions to apply to incoming messages for filtering email traffic.

.NET
Go
Java
Python
TypeScript