EventRuleAddTargetSQS

Description

Add the specified SQS queue target to the specified rule, or update the SQS queue target if it is already associated with the rule. Targets are the resources that are invoked when a rule is triggered.

Resources

AWS::SQS::QueuePolicy

SQS queue policy to allow EventBridge rule to call SQS SendMessage, GetQueueAttributes, and GetQueueUrl APIs.

Input

eventRule

Logical ID of AWS::Events::Rule resource that invoke a lambda function when it is triggered.

targetId

The ID of the target within the specified rule. Must be a valid CloudFormation syntax that resolves to a string.

sqsQueue

Logical ID of AWS::SQS::Queue resource to send a message to when the rule is triggered.

Output

None