@Stability(value=Experimental) public static final class PublishToTopicProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PublishToTopicProps
PublishToTopicPropssoftware.amazon.jsii.JsiiObject.InitializationModePublishToTopicProps.Builder, PublishToTopicProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ServiceIntegrationPattern |
getIntegrationPattern()
The service integration pattern indicates different ways to call Publish to SNS.
|
TaskInput |
getMessage()
The text message to send to the topic.
|
Boolean |
getMessagePerSubscriptionType()
If true, send a different message to every subscription type.
|
String |
getSubject()
Message subject.
|
int |
hashCode() |
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public TaskInput getMessage()
PublishToTopicPropsEXPERIMENTAL
getMessage in interface PublishToTopicPropspublic ServiceIntegrationPattern getIntegrationPattern()
PublishToTopicPropsThe valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
EXPERIMENTAL
getIntegrationPattern in interface PublishToTopicPropspublic Boolean getMessagePerSubscriptionType()
PublishToTopicPropsIf 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
getMessagePerSubscriptionType in interface PublishToTopicPropshttps://docs.aws.amazon.com/sns/latest/api/API_Publish.html#API_Publish_RequestParameterspublic String getSubject()
PublishToTopicPropsEXPERIMENTAL
getSubject in interface PublishToTopicPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.