SqsQueueProps

class aws_cdk.aws_events_targets.SqsQueueProps(*, message=None, message_group_id=None)

Bases: object

__init__(*, message=None, message_group_id=None)

Customize the SQS Queue Event Target.

Parameters
  • message (Optional[RuleTargetInput]) – The message to send to the queue. Must be a valid JSON text passed to the target queue. Default: the entire CloudWatch event

  • message_group_id (Optional[str]) – Message Group ID for messages sent to this queue. Required for FIFO queues, leave empty for regular queues. Default: - no message group ID (regular queue)

Attributes

message

The message to send to the queue.

Must be a valid JSON text passed to the target queue.

default :default: the entire CloudWatch event

Return type

Optional[RuleTargetInput]

message_group_id

Message Group ID for messages sent to this queue.

Required for FIFO queues, leave empty for regular queues.

default :default: - no message group ID (regular queue)

Return type

Optional[str]