@Stability(value=Stable) @Internal 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.
|
protected |
Jsii$Proxy(SnsPublishProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SnsPublishProps.Builder. |
| 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.
|
Map<String,MessageAttribute> |
getMessageAttributes()
Add message attributes when publishing.
|
Boolean |
getMessagePerSubscriptionType()
Send different messages for each transport protocol.
|
String |
getOutputPath() |
String |
getResultPath() |
Map<String,Object> |
getResultSelector() |
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, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(SnsPublishProps.Builder builder)
SnsPublishProps.Builder.public final 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.
getMessage in interface SnsPublishPropspublic final ITopic getTopic()
SnsPublishPropsgetTopic in interface SnsPublishPropspublic final Map<String,MessageAttribute> getMessageAttributes()
SnsPublishPropsThese attributes carry additional metadata about the message and may be used for subscription filters.
Default: {}
getMessageAttributes in interface SnsPublishPropspublic final 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
getMessagePerSubscriptionType in interface SnsPublishPropspublic final String getSubject()
SnsPublishPropsThis field will also be included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
getSubject in interface SnsPublishPropspublic final String getComment()
getComment in interface TaskStateBasePropspublic final Duration getHeartbeat()
getHeartbeat in interface TaskStateBasePropspublic final String getInputPath()
getInputPath in interface TaskStateBasePropspublic final IntegrationPattern getIntegrationPattern()
getIntegrationPattern in interface TaskStateBasePropspublic final String getOutputPath()
getOutputPath in interface TaskStateBasePropspublic final String getResultPath()
getResultPath in interface TaskStateBasePropspublic final Map<String,Object> getResultSelector()
getResultSelector in interface TaskStateBasePropspublic final Duration getTimeout()
getTimeout in interface TaskStateBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.