@Generated(value="jsii-pacmak/0.21.1 (build 9ff44cb)", date="2020-01-07T23:11:00.927Z") @Stability(value=Experimental) public interface PublishToTopicProps extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
PublishToTopicProps.Builder
A builder for
PublishToTopicProps |
static class |
PublishToTopicProps.Jsii$Proxy
An implementation for
PublishToTopicProps |
| Modifier and Type | Method and Description |
|---|---|
static PublishToTopicProps.Builder |
builder() |
default ServiceIntegrationPattern |
getIntegrationPattern()
The service integration pattern indicates different ways to call Publish to SNS.
|
TaskInput |
getMessage()
The text message to send to the topic.
|
default Boolean |
getMessagePerSubscriptionType()
If true, send a different message to every subscription type.
|
default String |
getSubject()
Message subject.
|
@Stability(value=Experimental) TaskInput getMessage()
EXPERIMENTAL
@Stability(value=Experimental) default ServiceIntegrationPattern getIntegrationPattern()
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
EXPERIMENTAL
@Stability(value=Experimental) default Boolean getMessagePerSubscriptionType()
If this is set to true, message must be a JSON object with a "default" key and a key for every subscription type (such as "sqs", "email", etc.) The values are strings representing the messages being sent to every subscription type.
EXPERIMENTAL
https://docs.aws.amazon.com/sns/latest/api/API_Publish.html#API_Publish_RequestParameters@Stability(value=Experimental) default String getSubject()
EXPERIMENTAL
@Stability(value=Experimental) static PublishToTopicProps.Builder builder()
PublishToTopicProps.Builder of PublishToTopicPropsCopyright © 2020. All rights reserved.