Interface CfnReceiptRule.IStopActionProperty
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).
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStopActionProperty
Syntax (vb)
Public Interface IStopActionProperty
Remarks
For information about setting a stop action in a receipt rule, see the Amazon SES Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var stopActionProperty = new StopActionProperty {
Scope = "scope",
// the properties below are optional
TopicArn = "topicArn"
};
Synopsis
Properties
Scope | The scope of the StopAction. |
TopicArn | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. |
Properties
Scope
The scope of the StopAction.
string Scope { get; }
Property Value
System.String
Remarks
The only acceptable value is RuleSet
.
TopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.
virtual string TopicArn { get; }
Property Value
System.String
Remarks
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 .