@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2020-12-22T12:13:28.427Z") @Stability(value=Stable) public interface SnsPublishProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
SnsPublishProps.Builder
A builder for
SnsPublishProps |
static class |
SnsPublishProps.Jsii$Proxy
An implementation for
SnsPublishProps |
| Modifier and Type | Method and Description |
|---|---|
static SnsPublishProps.Builder |
builder() |
TaskInput |
getMessage()
The message you want to send.
|
default Boolean |
getMessagePerSubscriptionType()
Send different messages for each transport protocol.
|
default String |
getSubject()
Used as the "Subject" line when the message is delivered to email endpoints.
|
ITopic |
getTopic()
The SNS topic that the task will publish to.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getTimeout@Stability(value=Stable) @NotNull TaskInput getMessage()
With 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.
@Stability(value=Stable) @NotNull ITopic getTopic()
@Stability(value=Stable) @Nullable default Boolean getMessagePerSubscriptionType()
For 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
https://docs.aws.amazon.com/sns/latest/api/API_Publish.html#API_Publish_RequestParameters@Stability(value=Stable) @Nullable default String getSubject()
This field will also be included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
@Stability(value=Stable) static SnsPublishProps.Builder builder()
builder in interface TaskStateBasePropsSnsPublishProps.Builder of SnsPublishPropsCopyright © 2020. All rights reserved.