interface StopActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnReceiptRulePropsMixin.StopActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnReceiptRulePropsMixin_StopActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnReceiptRulePropsMixin.StopActionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnReceiptRulePropsMixin.StopActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnReceiptRulePropsMixin » StopActionProperty |
When included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
For information about setting a stop action in a receipt rule, see the Amazon SES Developer Guide .
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 stopActionProperty: ses_mixins.CfnReceiptRulePropsMixin.StopActionProperty = {
scope: 'scope',
topicArn: 'topicArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| scope? | string | The scope of the StopAction. |
| topic | string | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. |
scope?
Type:
string
(optional)
The scope of the StopAction.
The only acceptable value is RuleSet .
topicArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.
You can find the ARN of a topic by using the ListTopics Amazon SNS operation.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .

.NET
Go
Java
Python
TypeScript