Interface SendToQueueProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SendToQueueProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:19.879Z") @Stability(Deprecated) @Deprecated public interface SendToQueueProps extends software.amazon.jsii.JsiiSerializable
Deprecated.
Use `SqsSendMessage`
(deprecated) Properties for SendMessageTask.

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.stepfunctions.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 import software.amazon.awscdk.core.*;
 TaskInput taskInput;
 SendToQueueProps sendToQueueProps = SendToQueueProps.builder()
         .messageBody(taskInput)
         // the properties below are optional
         .delay(Duration.minutes(30))
         .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
         .messageDeduplicationId("messageDeduplicationId")
         .messageGroupId("messageGroupId")
         .build();
 

  • Method Details

    • getMessageBody

      @Stability(Deprecated) @Deprecated @NotNull TaskInput getMessageBody()
      Deprecated.
      (deprecated) The text message to send to the queue.
    • getDelay

      @Stability(Deprecated) @Deprecated @Nullable default software.amazon.awscdk.core.Duration getDelay()
      Deprecated.
      (deprecated) The length of time, in seconds, for which to delay a specific message.

      Valid values are 0-900 seconds.

      Default: Default value of the queue is used

    • getIntegrationPattern

      @Stability(Deprecated) @Deprecated @Nullable default ServiceIntegrationPattern getIntegrationPattern()
      Deprecated.
      (deprecated) The service integration pattern indicates different ways to call SendMessage to SQS.

      The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.

      Default: FIRE_AND_FORGET

    • getMessageDeduplicationId

      @Stability(Deprecated) @Deprecated @Nullable default String getMessageDeduplicationId()
      Deprecated.
      (deprecated) The token used for deduplication of sent messages.

      Default: Use content-based deduplication

    • getMessageGroupId

      @Stability(Deprecated) @Deprecated @Nullable default String getMessageGroupId()
      Deprecated.
      (deprecated) The tag that specifies that a message belongs to a specific message group.

      Required for FIFO queues. FIFO ordering applies to messages in the same message group.

      Default: No group ID

    • builder

      @Stability(Deprecated) @Deprecated static SendToQueueProps.Builder builder()
      Deprecated.
      Returns:
      a SendToQueueProps.Builder of SendToQueueProps