@Stability(value=Stable)
public static interface CfnReceiptRule.StopActionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ses.*;
StopActionProperty stopActionProperty = StopActionProperty.builder()
.scope("scope")
// the properties below are optional
.topicArn("topicArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnReceiptRule.StopActionProperty.Builder
A builder for
CfnReceiptRule.StopActionProperty |
static class |
CfnReceiptRule.StopActionProperty.Jsii$Proxy
An implementation for
CfnReceiptRule.StopActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnReceiptRule.StopActionProperty.Builder |
builder() |
String |
getScope()
The scope of the StopAction.
|
default String |
getTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.
|
@Stability(value=Stable) @NotNull String getScope()
The only acceptable value is RuleSet .
@Stability(value=Stable) @Nullable default String getTopicArn()
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 .
@Stability(value=Stable) static CfnReceiptRule.StopActionProperty.Builder builder()
Copyright © 2022. All rights reserved.