SendToQueueProps

class aws_cdk.aws_stepfunctions_tasks.SendToQueueProps(*, message_body, delay=None, integration_pattern=None, message_deduplication_id=None, message_group_id=None)

Bases: object

__init__(*, message_body, delay=None, integration_pattern=None, message_deduplication_id=None, message_group_id=None)

Properties for SendMessageTask.

Parameters
  • message_body (TaskInput) – The text message to send to the queue.

  • delay (Optional[Duration]) – 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

  • integration_pattern (Optional[ServiceIntegrationPattern]) – 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

  • message_deduplication_id (Optional[str]) – The token used for deduplication of sent messages. Default: Use content-based deduplication

  • message_group_id (Optional[str]) – 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

stability :stability: experimental

Attributes

delay

The length of time, in seconds, for which to delay a specific message.

Valid values are 0-900 seconds.

default :default: Default value of the queue is used

stability :stability: experimental

Return type

Optional[Duration]

integration_pattern

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 :default: FIRE_AND_FORGET

stability :stability: experimental

Return type

Optional[ServiceIntegrationPattern]

message_body

The text message to send to the queue.

stability :stability: experimental

Return type

TaskInput

message_deduplication_id

The token used for deduplication of sent messages.

default :default: Use content-based deduplication

stability :stability: experimental

Return type

Optional[str]

message_group_id

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 :default: No group ID

stability :stability: experimental

Return type

Optional[str]