@Stability(value=Deprecated) @Deprecated public static final class PublishToTopic.Builder extends Object implements software.amazon.jsii.Builder<PublishToTopic>
PublishToTopic.| Modifier and Type | Method and Description |
|---|---|
PublishToTopic |
build()
Deprecated.
|
static PublishToTopic.Builder |
create(ITopic topic)
Deprecated.
|
PublishToTopic.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
PublishToTopic.Builder |
message(TaskInput message)
Deprecated.
|
PublishToTopic.Builder |
messagePerSubscriptionType(Boolean messagePerSubscriptionType)
Deprecated.
|
PublishToTopic.Builder |
subject(String subject)
Deprecated.
|
@Stability(value=Deprecated) @Deprecated public static PublishToTopic.Builder create(ITopic topic)
topic - This parameter is required.PublishToTopic.Builder.@Stability(value=Deprecated) @Deprecated public PublishToTopic.Builder message(TaskInput message)
message - The text message to send to the topic. This parameter is required.this@Stability(value=Deprecated) @Deprecated public PublishToTopic.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
integrationPattern - The service integration pattern indicates different ways to call Publish to SNS. This parameter is required.this@Stability(value=Deprecated) @Deprecated public PublishToTopic.Builder messagePerSubscriptionType(Boolean messagePerSubscriptionType)
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
messagePerSubscriptionType - If true, send a different message to every subscription type. This parameter is required.this@Stability(value=Deprecated) @Deprecated public PublishToTopic.Builder subject(String subject)
Also included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
subject - Used as the "Subject" line when the message is delivered to email endpoints. This parameter is required.this@Stability(value=Deprecated) @Deprecated public PublishToTopic build()
build in interface software.amazon.jsii.Builder<PublishToTopic>Copyright © 2023. All rights reserved.