Class SendToQueue
(deprecated) A StepFunctions Task to send messages to SQS queue.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class SendToQueue : DeputyBase, IStepFunctionsTask
Syntax (vb)
Public Class SendToQueue
Inherits DeputyBase
Implements IStepFunctionsTask
Remarks
A Function can be used directly as a Resource, but this class mirrors integration with other AWS services via a specific class instance.
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.SQS;
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.AWS.StepFunctions.Tasks;
using Amazon.CDK;
Queue queue;
TaskInput taskInput;
var sendToQueue = new SendToQueue(queue, new SendToQueueProps {
MessageBody = taskInput,
// the properties below are optional
Delay = Duration.Minutes(30),
IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
MessageDeduplicationId = "messageDeduplicationId",
MessageGroupId = "messageGroupId"
});
Synopsis
Constructors
SendToQueue(IQueue, ISendToQueueProps) | |
SendToQueue(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SendToQueue(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Task) | (deprecated) Called when the task object is used in a workflow. |
Constructors
SendToQueue(IQueue, ISendToQueueProps)
public SendToQueue(IQueue queue, ISendToQueueProps props)
Parameters
- queue IQueue
- props ISendToQueueProps
Remarks
Stability: Deprecated
SendToQueue(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SendToQueue(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SendToQueue(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SendToQueue(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Task)
(deprecated) Called when the task object is used in a workflow.
public virtual IStepFunctionsTaskConfig Bind(Task task)
Parameters
- task Task
Returns
Remarks
Stability: Deprecated