Class SendToQueueProps
(deprecated) Properties for SendMessageTask.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class SendToQueueProps : Object, ISendToQueueProps
Syntax (vb)
Public Class SendToQueueProps
Inherits Object
Implements ISendToQueueProps
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;
using Amazon.CDK;
TaskInput taskInput;
var sendToQueueProps = new SendToQueueProps {
MessageBody = taskInput,
// the properties below are optional
Delay = Duration.Minutes(30),
IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
MessageDeduplicationId = "messageDeduplicationId",
MessageGroupId = "messageGroupId"
};
Synopsis
Constructors
SendToQueueProps() |
Properties
Delay | (deprecated) The length of time, in seconds, for which to delay a specific message. |
IntegrationPattern | (deprecated) The service integration pattern indicates different ways to call SendMessage to SQS. |
MessageBody | (deprecated) The text message to send to the queue. |
MessageDeduplicationId | (deprecated) The token used for deduplication of sent messages. |
MessageGroupId | (deprecated) The tag that specifies that a message belongs to a specific message group. |
Constructors
SendToQueueProps()
public SendToQueueProps()
Properties
Delay
(deprecated) The length of time, in seconds, for which to delay a specific message.
public Duration Delay { get; set; }
Property Value
Remarks
Valid values are 0-900 seconds.
Default: Default value of the queue is used
Stability: Deprecated
IntegrationPattern
(deprecated) The service integration pattern indicates different ways to call SendMessage to SQS.
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
MessageBody
(deprecated) The text message to send to the queue.
public TaskInput MessageBody { get; set; }
Property Value
Remarks
Stability: Deprecated
MessageDeduplicationId
(deprecated) The token used for deduplication of sent messages.
public string MessageDeduplicationId { get; set; }
Property Value
System.String
Remarks
Default: Use content-based deduplication
Stability: Deprecated
MessageGroupId
(deprecated) The tag that specifies that a message belongs to a specific message group.
public string MessageGroupId { get; set; }
Property Value
System.String
Remarks
Required for FIFO queues. FIFO ordering applies to messages in the same message group.
Default: No group ID
Stability: Deprecated