Interface CfnTopicRulePropsMixin.SnsActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.SnsActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.SnsActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action to publish to an Amazon 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.cfnpropertymixins.services.iot.*;
SnsActionProperty snsActionProperty = SnsActionProperty.builder()
.messageFormat("messageFormat")
.roleArn("roleArn")
.targetArn("targetArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.SnsActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.SnsActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessageFormat
(Optional) The message format of the message to publish.Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. For more information, see Amazon SNS Message and JSON Formats in the Amazon Simple Notification Service Developer Guide .
- See Also:
-
getRoleArn
- See Also:
-
getTargetArn
- See Also:
-
builder
-