Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cloudwatch SQS Event Target

See original GitHub issue

Is it possible to have a SQS queue as an event target via a EventRule?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:16
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

rix0rrrcommented, Feb 19, 2019

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:

(Reference your queue instead).

rix0rrrcommented, May 30, 2019

I’m thinking the model should be a mix between this:

And this:

Specifically, I’m thinking the SQS target takes an

  readonly message?: events.RuleTargetInput;

As well as fields that go into SqsParameters:

(Seems to be only messageGroupId)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found