Class SendToQueue
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.SendToQueue
- All Implemented Interfaces:
IStepFunctionsTask
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.202Z")
@Stability(Deprecated)
@Deprecated
public class SendToQueue
extends software.amazon.jsii.JsiiObject
implements IStepFunctionsTask
Deprecated.
(deprecated) A StepFunctions Task to send messages to SQS queue.
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.sqs.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; import software.amazon.awscdk.core.*; Queue queue; TaskInput taskInput; SendToQueue sendToQueue = SendToQueue.Builder.create(queue) .messageBody(taskInput) // the properties below are optional .delay(Duration.minutes(30)) .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET) .messageDeduplicationId("messageDeduplicationId") .messageGroupId("messageGroupId") .build();
-
Nested Class Summary
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
ModifierConstructorDescriptionSendToQueue
(IQueue queue, SendToQueueProps props) Deprecated.protected
SendToQueue
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
SendToQueue
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
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
-
SendToQueue
protected SendToQueue(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
SendToQueue
protected SendToQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
SendToQueue
@Stability(Deprecated) @Deprecated public SendToQueue(@NotNull IQueue queue, @NotNull SendToQueueProps props) Deprecated.- Parameters:
queue
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task) Deprecated.(deprecated) Called when the task object is used in a workflow.- Specified by:
bind
in interfaceIStepFunctionsTask
- Parameters:
_task
- This parameter is required.
-
SqsSendMessage