java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.PublishToTopic
All Implemented Interfaces:
IStepFunctionsTask, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.126Z") @Stability(Deprecated) @Deprecated public class PublishToTopic extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
Deprecated.
Use SnsPublish
(deprecated) A Step Functions Task to publish messages to SNS topic.

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();
 

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStepFunctionsTask

    IStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Deprecated.
    protected
    PublishToTopic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    PublishToTopic(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(Task _task)
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • PublishToTopic

      protected PublishToTopic(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • PublishToTopic

      protected PublishToTopic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • PublishToTopic

      @Stability(Deprecated) @Deprecated public PublishToTopic(@NotNull ITopic topic, @NotNull PublishToTopicProps props)
      Deprecated.
      Parameters:
      topic - This parameter is required.
      props - This parameter is required.
  • Method Details