Questions tagged [aws-event-bridge]

For questions about Amazon EventBridge. Amazon EventBridge is a serverless event bus service, formerly called Amazon CloudWatch Events. when using this tag include the more generic [amazon-web-services] tag where possible.

694 questions
2
votes
1 answer

AWS API Gateway integration with AWS Event Bridge(Cloudwatch Events) in Cloudformation Script

Original Requirement: Create a route/path on AWS Api Gateway which connects API Gateway directly to AWS Event Bridge (Cloudwatch Events) and puts/pushes event on an event bus of it. Was able to create it and executes just fine when done from AWS…
2
votes
2 answers

Can SNS Topic be a source to EventBridge?

quick question. I am planning to minimize use of resources by passing SNS topic as a source to EventBridge instead of passing it thru Lambda, then from EventBridge to Firehose. I tried but it is not working. Is it possible, or Lambda is the only way…
2
votes
1 answer

Using an EventBridge event pattern string in a lambda function

I have a lambda function using Python. It's connected to an EventBridge rule that triggers every time there's a change in a Glue table. The event pattern it's outputting looks something like this: { "version":"0", "detail":{ …
ire
  • 491
  • 2
  • 12
  • 26
2
votes
3 answers

EventBridge messages not published to SNS

I configured AWS EventBridge to post events to an SNS target. When an event is received, the SNS target is never triggered and none of the SNS subscribers get the event. If I add other targets to EventBridge it works (eg, Lambda) but the SNS does…
Diego Jancic
  • 7,280
  • 7
  • 52
  • 80
2
votes
2 answers

Cron expression Aws to run every 5 minutes after EventBridge (Cloudwatch trigger) enables

I've seen several examples and all of them just trigger one job at a specific time, I have right now: 0 */5 * ? * * and it triggers at mins 0,5,10, and on. But, I need the trigger to run at +5 of the moment that the trigger was enabled. So, if…
2
votes
0 answers

How can I query events from event bridge in my local nodejs application?

I am using AWS event bridge as event bus for my applications running in AWS. Most of the services are in Lambda. I am writing some integration test and I don't know how I can test events have been sent to event bridge. My integration tests are…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
2
votes
2 answers

Amazon EventBridge Policies for AWS Services as targets using CF/SAM

I'm using AWS CloudFormation to setup an EventBridge Bus + Rules + Targets (say SNS). For SNS as a target, per the doc at https://docs.aws.amazon.com/eventbridge/latest/userguide/resource-based-policies-eventbridge.html#sns-permissions, I need to…
1
vote
0 answers

ApigatewayV2 HttpApi as target for Eventbridge

EventBridge supports targeting APIGateway API as an event target. But aws-events-targets package only supports v1-style RestApi here. I would like to use v2-style HttpApi as the event target. Use Case: Creating private integration from Apigateway to…
vertti
  • 7,539
  • 4
  • 51
  • 81
1
vote
1 answer

Will EventBridge consider an Event as Delivered/Success, when the Event is throttled at the target Lambda function

The target of my EventBridge rule is a Lambda function. While creating the rule, it was noticed that the default value for retry attempts is set at 185. If the function's concurrency limit is reached and the rule tries to send a new event to Lambda,…
100ELL
  • 11
  • 1
1
vote
1 answer

Creating event in eventbridge when an RDS instance is started

I am trying to learn and play a bit with aws serevices. I want to create a rule in the eventbridge that would simply lanch a lambda function when an rds database instance is started. Here is the rule I use: { "version": "0", "detail-type": "RDS…
Ivan
  • 113
  • 3
1
vote
0 answers

Eventbridge Pipes not working with DynamoDB streams source and event bus destination

I am trying to write a terraform script that creates an eventbridge pipe that reads from a dynamodb stream and directly puts it in an event bus. The end goal is to be able to invoke a rule. However, in the console I always see the pipe fail. I have…
1
vote
0 answers

can I configure an enrichment step to an API via API Gateway using EventBridge pipes?

I am working with an Event Bridge pipe and its working ok, but the enrichment step is done by a lambda and now I want to move it to ECS instances, there is one option from AWS where you can configure different types of enrichers, including API…
jpganz18
  • 5,508
  • 17
  • 66
  • 115
1
vote
1 answer

Dynamic input json for event bridge

I have a Event Bridge trigger, which triggers the stepfunction. I have below input json for stepfunction. How would I send the execution_date as current_date in yyyy-mm-dd format. { "id": "1", "execution_date": "2023-06-07" } Im using…
1
vote
1 answer

Create an EventBridge cron for last day of the month in Monday to Friday

I have searched a lot for a solution on the EventBridge for Amazon so I can use a cron which trigger a lambda function on the last day of the month in working days MON-FRI. I cannot accomplish the working days part but here it is the last day…
1
vote
0 answers

How to create a EventBridge scheduler with Node.js

My setup is pretty simple. I am using sst to create a graphql lambda endpoint. Sst also creates an EventBridge Bus and an EventBridge Rules. So whenever I send the proper event to the bus this trigger a second lambda function that sends an email…
CESCO
  • 7,305
  • 8
  • 51
  • 83