I want to use AWS CloudWatch Events to send a message to SQS on a predefined schedule. The message body is irrelevant, but it does require several message attributes.
While creating this Events rule in CloudFormation I could not find any documentation on how to specify the message attributes. At the moment the resource looks like this -
ScheduledEvent:
Type: AWS::Events::Rule
Properties:
RoleArn: !Ref ScheduledEventRole
ScheduleExpression: !Ref ScheduledEventRule
Targets:
- Arn: !Ref Queue
Id: !GetAtt Queue.Name
Input: "message body"
What should be the message body so that attributes are sent to SQS?