@Stability(value=Experimental) public static final class SnsTopicAction.Builder extends Object implements software.amazon.jsii.Builder<SnsTopicAction>
SnsTopicAction.| Modifier and Type | Method and Description |
|---|---|
SnsTopicAction |
build() |
static SnsTopicAction.Builder |
create(ITopic topic) |
SnsTopicAction.Builder |
messageFormat(SnsActionMessageFormat messageFormat)
(experimental) The message format of the message to publish.
|
SnsTopicAction.Builder |
role(IRole role)
(experimental) The IAM role that allows access to AWS service.
|
@Stability(value=Experimental) public static SnsTopicAction.Builder create(ITopic topic)
topic - The Amazon SNS topic to publish data on. This parameter is required.SnsTopicAction.Builder.@Stability(value=Experimental) public SnsTopicAction.Builder role(IRole role)
Default: a new role will be created
role - The IAM role that allows access to AWS service. This parameter is required.this@Stability(value=Experimental) public SnsTopicAction.Builder messageFormat(SnsActionMessageFormat messageFormat)
SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted.
Default: SnsActionMessageFormat.RAW
messageFormat - The message format of the message to publish. This parameter is required.this@Stability(value=Experimental) public SnsTopicAction build()
build in interface software.amazon.jsii.Builder<SnsTopicAction>Copyright © 2023. All rights reserved.