Interface PublishToTopicProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublishToTopicProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.128Z")
@Stability(Deprecated)
@Deprecated
public interface PublishToTopicProps
extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Properties for PublishTask.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic PublishToTopicProps.Builderbuilder()Deprecated.default ServiceIntegrationPatternDeprecated.Deprecated.default BooleanDeprecated.default StringDeprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessage
Deprecated.(deprecated) The text message to send to the topic. -
getIntegrationPattern
@Stability(Deprecated) @Deprecated @Nullable default ServiceIntegrationPattern getIntegrationPattern()Deprecated.(deprecated) The service integration pattern indicates different ways to call Publish to SNS.The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
-
getMessagePerSubscriptionType
Deprecated.(deprecated) If true, send a different message to every subscription type.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
-
getSubject
Deprecated.(deprecated) Used as the "Subject" line when the message is delivered to email endpoints.Also included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
-
builder
Deprecated.- Returns:
- a
PublishToTopicProps.BuilderofPublishToTopicProps
-
SnsPublish