Show / Hide Table of Contents

Class PublishToTopicProps

(deprecated) Properties for PublishTask.

Inheritance
System.Object
PublishToTopicProps
Implements
IPublishToTopicProps
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class PublishToTopicProps : Object, IPublishToTopicProps
Syntax (vb)
Public Class PublishToTopicProps
    Inherits Object
    Implements IPublishToTopicProps
Remarks

Stability: Deprecated

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.AWS.StepFunctions.Tasks;

TaskInput taskInput;

var publishToTopicProps = new PublishToTopicProps {
    Message = taskInput,

    // the properties below are optional
    IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
    MessagePerSubscriptionType = false,
    Subject = "subject"
};

Synopsis

Constructors

PublishToTopicProps()

Properties

IntegrationPattern

(deprecated) The service integration pattern indicates different ways to call Publish to SNS.

Message

(deprecated) The text message to send to the topic.

MessagePerSubscriptionType

(deprecated) If true, send a different message to every subscription type.

Subject

(deprecated) Used as the "Subject" line when the message is delivered to email endpoints.

Constructors

PublishToTopicProps()

public PublishToTopicProps()

Properties

IntegrationPattern

(deprecated) The service integration pattern indicates different ways to call Publish to SNS.

public Nullable<ServiceIntegrationPattern> IntegrationPattern { get; set; }
Property Value

System.Nullable<ServiceIntegrationPattern>

Remarks

The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.

Default: FIRE_AND_FORGET

Stability: Deprecated

Message

(deprecated) The text message to send to the topic.

public TaskInput Message { get; set; }
Property Value

TaskInput

Remarks

Stability: Deprecated

MessagePerSubscriptionType

(deprecated) If true, send a different message to every subscription type.

public Nullable<bool> MessagePerSubscriptionType { get; set; }
Property Value

System.Nullable<System.Boolean>

Remarks

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

Stability: Deprecated

See: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html#API_Publish_RequestParameters

Subject

(deprecated) Used as the "Subject" line when the message is delivered to email endpoints.

public string Subject { get; set; }
Property Value

System.String

Remarks

Also included, if present, in the standard JSON messages delivered to other endpoints.

Default: - No subject

Stability: Deprecated

Implements

IPublishToTopicProps
Back to top Generated by DocFX