@Stability(value=Experimental) public static final class SnsPublishProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SnsPublishProps
SnsPublishPropssoftware.amazon.jsii.JsiiObject.InitializationModeSnsPublishProps.Builder, SnsPublishProps.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) |
String |
getComment() |
Duration |
getHeartbeat() |
String |
getInputPath() |
IntegrationPattern |
getIntegrationPattern() |
TaskInput |
getMessage()
The message you want to send.
|
Boolean |
getMessagePerSubscriptionType()
Send different messages for each transport protocol.
|
String |
getOutputPath() |
String |
getResultPath() |
String |
getSubject()
Used as the "Subject" line when the message is delivered to email endpoints.
|
Duration |
getTimeout() |
ITopic |
getTopic()
The SNS topic that the task will publish to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, 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()
SnsPublishPropsWith the exception of SMS, messages must be UTF-8 encoded strings and at most 256 KB in size. For SMS, each message can contain up to 140 characters.
EXPERIMENTAL
getMessage in interface SnsPublishPropspublic ITopic getTopic()
SnsPublishPropsEXPERIMENTAL
getTopic in interface SnsPublishPropspublic Boolean getMessagePerSubscriptionType()
SnsPublishPropsFor example, you might want to send a shorter message to SMS subscribers and a more verbose message to email and SQS subscribers.
Your message must be a JSON object with a top-level JSON key of "default" with a value that is a string You can define other top-level keys that define the message you want to send to a specific transport protocol (i.e. "sqs", "email", "http", etc)
Default: false
EXPERIMENTAL
getMessagePerSubscriptionType in interface SnsPublishPropshttps://docs.aws.amazon.com/sns/latest/api/API_Publish.html#API_Publish_RequestParameterspublic String getSubject()
SnsPublishPropsThis field will also be included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
EXPERIMENTAL
getSubject in interface SnsPublishPropspublic String getComment()
getComment in interface TaskStateBasePropspublic Duration getHeartbeat()
getHeartbeat in interface TaskStateBasePropspublic String getInputPath()
getInputPath in interface TaskStateBasePropspublic IntegrationPattern getIntegrationPattern()
getIntegrationPattern in interface TaskStateBasePropspublic String getOutputPath()
getOutputPath in interface TaskStateBasePropspublic String getResultPath()
getResultPath in interface TaskStateBasePropspublic Duration getTimeout()
getTimeout in interface TaskStateBasePropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.