@Stability(value=Stable) public static final class CfnTopicRule.SnsActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRule.SnsActionProperty>
CfnTopicRule.SnsActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTopicRule.SnsActionProperty |
build()
Builds the configured instance.
|
CfnTopicRule.SnsActionProperty.Builder |
messageFormat(String messageFormat)
Sets the value of
CfnTopicRule.SnsActionProperty.getMessageFormat() |
CfnTopicRule.SnsActionProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnTopicRule.SnsActionProperty.getRoleArn() |
CfnTopicRule.SnsActionProperty.Builder |
targetArn(String targetArn)
Sets the value of
CfnTopicRule.SnsActionProperty.getTargetArn() |
@Stability(value=Stable) public CfnTopicRule.SnsActionProperty.Builder roleArn(String roleArn)
CfnTopicRule.SnsActionProperty.getRoleArn()roleArn - The ARN of the IAM role that grants access. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.SnsActionProperty.Builder targetArn(String targetArn)
CfnTopicRule.SnsActionProperty.getTargetArn()targetArn - The ARN of the SNS topic. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.SnsActionProperty.Builder messageFormat(String messageFormat)
CfnTopicRule.SnsActionProperty.getMessageFormat()messageFormat - (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 .this@Stability(value=Stable) public CfnTopicRule.SnsActionProperty build()
build in interface software.amazon.jsii.Builder<CfnTopicRule.SnsActionProperty>CfnTopicRule.SnsActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.