Cloudwatch SQS Event Target
See original GitHub issueIs it possible to have a SQS queue as an event target via a EventRule
?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:16
- Comments:12 (10 by maintainers)
Top Results From Across the Web
CloudWatch Events now Supports Amazon SQS Queue Targets
The Amazon CloudWatch Events service now supports Amazon Simple Queue Service (SQS) queues as event targets. Amazon CloudWatch Events enables ...
Read more >Can I publish to SQS in scheduled Amazon CloudWatch Event?
The answer to this post states that Amazon Simple Notification Service (SNS) topic can be triggered by Amazon CloudWatch Events schedule ...
Read more >Sending and Receiving an event through EventBridge with ...
Choose target as CloudWatch log group and create a log group as sample-eventBridge-log. Choose target as SNS topic and select the SNS topic...
Read more >spanio/cloudwatch-event-sqs/aws - Terraform Registry
terraform-aws-cloudwatch-event-sqs. Terraform module to provision an AWS Cloudwatch Event which posts directly to an AWS SQS queue.
Read more >Choosing the right event-routing service for serverless
Amazon SQS is the oldest and first service released in the Amazon Web ... It is an extension to the existing service CloudWatch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not built in to Queue right now, but you can write a new class that implements
IEventRuleTarget
and put a method like this on it:https://github.com/awslabs/aws-cdk/blob/master/packages/@aws-cdk/aws-sns/lib/topic-base.ts#L282
(Reference your queue instead).
I’m thinking the model should be a mix between this: https://github.com/awslabs/aws-cdk/blob/master/packages/%40aws-cdk/aws-events-targets/lib/ecs-ec2-task.ts
And this: https://github.com/awslabs/aws-cdk/blob/master/packages/%40aws-cdk/aws-events-targets/lib/sns.ts
Specifically, I’m thinking the SQS target takes an
As well as fields that go into SqsParameters: https://docs.aws.amazon.com/AmazonCloudWatchEvents/latest/APIReference/API_SqsParameters.html
(Seems to be only messageGroupId)