Interface ISendToQueueProps
(deprecated) Properties for SendMessageTask.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface ISendToQueueProps
Syntax (vb)
Public Interface 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
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. |
Properties
Delay
(deprecated) The length of time, in seconds, for which to delay a specific message.
virtual Duration Delay { get; }
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.
virtual Nullable<ServiceIntegrationPattern> IntegrationPattern { get; }
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.
TaskInput MessageBody { get; }
Property Value
Remarks
Stability: Deprecated
MessageDeduplicationId
(deprecated) The token used for deduplication of sent messages.
virtual string MessageDeduplicationId { get; }
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.
virtual string MessageGroupId { get; }
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