@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.664Z") @Stability(value=Deprecated) @Deprecated public interface PublishToTopicProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
TaskInput taskInput;
PublishToTopicProps publishToTopicProps = PublishToTopicProps.builder()
.message(taskInput)
// the properties below are optional
.integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
.messagePerSubscriptionType(false)
.subject("subject")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PublishToTopicProps.Builder
Deprecated.
|
static class |
PublishToTopicProps.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PublishToTopicProps.Builder |
builder()
Deprecated.
|
default ServiceIntegrationPattern |
getIntegrationPattern()
Deprecated.
|
TaskInput |
getMessage()
Deprecated.
|
default Boolean |
getMessagePerSubscriptionType()
Deprecated.
|
default String |
getSubject()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull TaskInput getMessage()
@Stability(value=Deprecated) @Deprecated @Nullable default ServiceIntegrationPattern getIntegrationPattern()
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getMessagePerSubscriptionType()
If 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.
Default: false
@Stability(value=Deprecated) @Deprecated @Nullable default String getSubject()
Also included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
@Stability(value=Deprecated) @Deprecated static PublishToTopicProps.Builder builder()
PublishToTopicProps.Builder of PublishToTopicPropsCopyright © 2023. All rights reserved.