interface PolicyStatementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerTrafficPolicyPropsMixin_PolicyStatementProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » 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 { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const policyStatementProperty: ses_mixins.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