@Stability(value=Stable)
public static interface CfnTopicRule.SnsActionProperty
extends software.amazon.jsii.JsiiSerializable
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.iot.*;
SnsActionProperty snsActionProperty = SnsActionProperty.builder()
.roleArn("roleArn")
.targetArn("targetArn")
// the properties below are optional
.messageFormat("messageFormat")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.SnsActionProperty.Builder
A builder for
CfnTopicRule.SnsActionProperty |
static class |
CfnTopicRule.SnsActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.SnsActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.SnsActionProperty.Builder |
builder() |
default String |
getMessageFormat()
(Optional) The message format of the message to publish.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
String |
getTargetArn()
The ARN of the SNS topic.
|
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getTargetArn()
@Stability(value=Stable) @Nullable default String getMessageFormat()
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 .
@Stability(value=Stable) static CfnTopicRule.SnsActionProperty.Builder builder()
Copyright © 2022. All rights reserved.