@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.932Z") @Stability(value=Experimental) 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()
(experimental) The message you want to send.
|
default Boolean |
getMessagePerSubscriptionType()
(experimental) Send different messages for each transport protocol.
|
default String |
getSubject()
(experimental) Used as the "Subject" line when the message is delivered to email endpoints.
|
ITopic |
getTopic()
(experimental) The SNS topic that the task will publish to.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
@Stability(value=Experimental) @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=Experimental) @NotNull ITopic getTopic()
@Stability(value=Experimental) @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=Experimental) @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=Experimental) static SnsPublishProps.Builder builder()
builder
in interface TaskStateBaseProps
SnsPublishProps.Builder
of SnsPublishProps
Copyright © 2021. All rights reserved.