Class CfnReceiptRule.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).
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StopActionProperty : Object, CfnReceiptRule.IStopActionProperty
Syntax (vb)
Public Class StopActionProperty
Inherits Object
Implements CfnReceiptRule.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
Constructors
StopActionProperty() |
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. |
Constructors
StopActionProperty()
public StopActionProperty()
Properties
Scope
The scope of the StopAction.
public string Scope { get; set; }
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.
public string TopicArn { get; set; }
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 .