@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:29.613Z") @Deprecated public class PublishToTopic extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
A Function can be used directly as a Resource, but this class mirrors integration with other AWS services via a specific class instance.
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.sns.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; TaskInput taskInput; Topic topic; PublishToTopic publishToTopic = PublishToTopic.Builder.create(topic) .message(taskInput) // the properties below are optional .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET) .messagePerSubscriptionType(false) .subject("subject") .build();
Modifier and Type | Class and Description |
---|---|
static class |
PublishToTopic.Builder
Deprecated.
|
IStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
PublishToTopic(ITopic topic,
PublishToTopicProps props)
Deprecated.
|
protected |
PublishToTopic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
PublishToTopic(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StepFunctionsTaskConfig |
bind(Task _task)
Deprecated.
|
protected PublishToTopic(software.amazon.jsii.JsiiObjectRef objRef)
protected PublishToTopic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public PublishToTopic(ITopic topic, PublishToTopicProps props)
topic
- This parameter is required.props
- This parameter is required.@Deprecated public StepFunctionsTaskConfig bind(Task _task)
bind
in interface IStepFunctionsTask
_task
- This parameter is required.