interface PolicyStatementProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.CfnMailManagerTrafficPolicy.PolicyStatementProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerTrafficPolicy_PolicyStatementProperty |
Java | software.amazon.awscdk.services.ses.CfnMailManagerTrafficPolicy.PolicyStatementProperty |
Python | aws_cdk.aws_ses.CfnMailManagerTrafficPolicy.PolicyStatementProperty |
TypeScript | aws-cdk-lib » aws_ses » CfnMailManagerTrafficPolicy » 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-lib';
const policyStatementProperty: ses.CfnMailManagerTrafficPolicy.PolicyStatementProperty = {
action: 'action',
conditions: [{
booleanExpression: {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
},
operator: 'operator',
},
ipExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
stringExpression: {
evaluate: {
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
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
[]
The list of conditions to apply to incoming messages for filtering email traffic.