@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.408Z") @Stability(value=Deprecated) @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.
|
software.amazon.jsii.JsiiObject.InitializationModeIStepFunctionsTask.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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected PublishToTopic(software.amazon.jsii.JsiiObjectRef objRef)
protected PublishToTopic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public PublishToTopic(@NotNull ITopic topic, @NotNull PublishToTopicProps props)
topic - This parameter is required.props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task)
bind in interface IStepFunctionsTask_task - This parameter is required.Copyright © 2022. All rights reserved.