interface CfnReceiptRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnReceiptRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnReceiptRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnReceiptRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnReceiptRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnReceiptRuleMixinProps |
Properties for CfnReceiptRulePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html
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 cfnReceiptRuleMixinProps: ses_mixins.CfnReceiptRuleMixinProps = {
after: 'after',
rule: {
actions: [{
addHeaderAction: {
headerName: 'headerName',
headerValue: 'headerValue',
},
bounceAction: {
message: 'message',
sender: 'sender',
smtpReplyCode: 'smtpReplyCode',
statusCode: 'statusCode',
topicArn: 'topicArn',
},
connectAction: {
iamRoleArn: 'iamRoleArn',
instanceArn: 'instanceArn',
},
lambdaAction: {
functionArn: 'functionArn',
invocationType: 'invocationType',
topicArn: 'topicArn',
},
s3Action: {
bucketName: 'bucketName',
iamRoleArn: 'iamRoleArn',
kmsKeyArn: 'kmsKeyArn',
objectKeyPrefix: 'objectKeyPrefix',
topicArn: 'topicArn',
},
snsAction: {
encoding: 'encoding',
topicArn: 'topicArn',
},
stopAction: {
scope: 'scope',
topicArn: 'topicArn',
},
workmailAction: {
organizationArn: 'organizationArn',
topicArn: 'topicArn',
},
}],
enabled: false,
name: 'name',
recipients: ['recipients'],
scanEnabled: false,
tlsPolicy: 'tlsPolicy',
},
ruleSetName: 'ruleSetName',
};
Properties
| Name | Type | Description |
|---|---|---|
| after? | string | The name of an existing rule after which the new rule is placed. |
| rule? | IResolvable | Rule | A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. |
| rule | string | The name of the rule set where the receipt rule is added. |
after?
Type:
string
(optional)
The name of an existing rule after which the new rule is placed.
If this parameter is null, the new rule is inserted at the beginning of the rule list.
rule?
Type:
IResolvable | Rule
(optional)
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
ruleSetName?
Type:
string
(optional)
The name of the rule set where the receipt rule is added.

.NET
Go
Java
Python
TypeScript