Interface CfnReceiptRule.SNSActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReceiptRule.SNSActionProperty.Jsii$Proxy
- Enclosing class:
CfnReceiptRule
@Stability(Stable)
public static interface CfnReceiptRule.SNSActionProperty
extends software.amazon.jsii.JsiiSerializable
The action to publish the email content to an Amazon SNS topic.
When executed, this action will send the email as a notification to the specified SNS topic.
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.*;
SNSActionProperty sNSActionProperty = SNSActionProperty.builder()
.encoding("encoding")
.topicArn("topicArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReceiptRule.SNSActionPropertystatic final classAn implementation forCfnReceiptRule.SNSActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncoding
The encoding to use for the email within the Amazon SNS notification.The default value is
UTF-8. UseBASE64if you need to preserve all special characters, especially when the original message uses a different encoding format.- See Also:
-
getTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS Topic to which notification for the email received will be published.- See Also:
-
builder
-