Questions tagged with Amazon EventBridge
Content language: English
Sort by most recent
I have come across an issue which is likely to be a configuration problem at my end. In December I set up a lambda function with a site scraper, it pulls a specific piece of information from the site. I then created a schedule through eventbridge to do this every 10 minutes. (It will eventually happen once a week but for this I used 10mins because I wanted to test it). I also created a topic in SNS with a text message being the way I would get the information.
To summarise, I have an eventbridge schedule, that triggers a lambda function which then triggers an SNS topic to send me a text message. Pretty simple and it worked.
Fast forward to now and it no longer works. I changed a bit of the lambda function code to have a cleaner output when it came to receiving text messages.
I have gone back to the start with it and deleted all triggers. I have set up new schedules and even new rules, created new topics but I no longer get any text messages.
I'm in the UK but have deployed in us-east-1. I'm at a loss at the moment to what the problem may be. I have noticed when I try to create a new rule based on a schedule it takes me to the new eventbridge scheduler page. I have done that still wont work. I also tried with setting up a rule and have it set to 1 minute just to test but still nothing.
I have the SNS topic on asyncronous and on success of the trigger rather than failure. Like I said it worked previously right up until yesterday. I reverted back to the old code and its still no longer working.
I have checked the logs and it seems the scheduler is triggering the lambda but nothing from the amazon sns side.
**EDIT** - I had a look on Amazon SNS I have a delivery rate of 0.51%, almost 900 have failed at the time of writing this.
**EDIT** - Edit 2, I think the problem may be my SMS quota has been reached. I have another question though. Would I be better setting this up in the UK, would it reduce costs?
Thanks
Hi everone,
I am a newbie on AWS. I already went through materials on AWS training about Lambda, Networking and EventBridge and did some tests on my account but I couldn't solve my problems.
The problem:
I have a Django web app that delivers auto text message to my clients. The client can pick date and time to specify when he wants us to send him a message on the front-end, this data is stored on PostgreSQL database.
I want to build an architecture that every time a new date and time record is added on the database, the date and time data is sent to EventBridge to create a trigger (cron) for the lamdba function so that the lambda function will send message at the cron time.
The architecture is basically:
RDS - > EventBridge -> Lambda
An ECS is hosting my web app.
My question is 2 fold:
1. Is the above architecture the best one given the task? Or I should monitor the ECS as soon as the client submit the date and time form, we grab the data right there and send to EventBridge? don't wait until it hits the database.
2.What kind of event and how do I set it up on EventBridge? So that I can extract the date and time data I need so that I can use it as my cron for the lambda trigger?
I am always confused with the concept of "event" (AWS materials says an event is like when an instance is launched or when it failes...etc) but can an event be like a new record is added to a database or a client submit a form on the front end?
Thank you a lot for reading such a long question as I just want to be precise on the problem.
Thanh
We are looking at ways of unifying our DLQ handling but a problem we are facing an issue with identification of the actual source. Our current approach is to have a unique DLQ for each lambda or similar (could be sns, scheduler, etc.) and then have a lambda with the DLQ as source which further processes the failed messages (could be automatic retries, storing in Dynamo for manual handling, etc.). But we think this becomes a bit cumbersome since we will quickly incur quite high fees for the polling (we have a lot of places where we need DLQs).
Our absolute dream scenario is if we could set a tag where we add the DLQ but this isn't available. An alternative would be to use the SenderID in the SQS message to identify the source but this doesn't really seem possible.
Anyone have any suggestions?
Fails because of some reason,This could be for a few reasons, S3 service itself has an internal error. or it could mean that the rate of data access is too high.
So we are planning to implement DLQs mechanism for S3. Is it possible use AWS SQS DLQs mechanism ?. What is the best option to implement DLQ for S3.
Hi,
I'm trying to follow the video tutorial in https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html, also using the webhook.site as a consumer.
Sample messages are sent with success, the sample rule is matched, but the API destination is not called at all.
When sending the same payload using Postman, the endpoint shows request/response.
Cloudwatch does not list failed invocations.
Did anyone try to follow the video recently and can confirm this is actually working?
Thanks!
Just curious about in what scenarios configuring [flexible time window](https://docs.aws.amazon.com/scheduler/latest/UserGuide/managing-schedule-flexible-time-windows.html) can be useful.
Thanks!
*Most probably a bug ?*
When configuring an API Destination as an Eventbridge Pipe enrichment with multiple PathParameters, a validation error is returned when creating said pipe:
```
[array is too long: must have at most 1 elements but instance has 2 elements]
```
**e.g.**,
Consider the following API Destination:
```
https://data.economie.gouv.fr/api/v2/catalog/datasets/*/exports/*/
```
This API Destination expects two path parameters to be templated in. However, configuring the integration as such will return said error:

The error occurs both when trying to create a Pipe via the AWS Management Console and via CLI / CloudFormation.
I am using AWS GuardDuty integration to Slack.
Integration works like this, Cloudwatch Event --> SNS --> Lambda --> Slack.
Last week I got an alert for one finding and I did take action on that. But today I got an alert for the same GuardDuty finding ID in Slack.
Why does it happen? Does GuardDuty sends alerts for the same finding after few days?
Does Amazon EventBridge Pipes integration with SQS use long polling?
Wondering what the pricing is like for this integration?
We are thinking of designing commands and events based architecture for our feature. One problem we observe here is that how do we debug or trace "what happen to these commands and events ?"
For example if i send "createUser" command and when the user is created, we will emit "userCreatedEvent".
Are there any way to correlate these command and events ?
We want to track all the sequence of events completed or not. It will help us in debugging and identity what successfully executed and what events are not successfully executed.
I think I found a bug with EventBridge when the source is a FIFO SQS and the target is Lambda (Most likley not limited to that pair).
I'm using a FIFO queue with batch size of 10 and when I use a tansformation template, the lambda recieves a batch of 10 events BUT they're all for the same event.... I don't get this behavior when I don't use a transformation template.... Each event in the array sent to lambda is unique.
We have built a lambda and function url based REST API service. I read event bridge can invoke api end points. Is it possible to invoke the lambda function url with correct parameters i.e using values from event to build the api path and body from event bridge ?
We might want to transform the event message slightly adaptable to api payload. Do we have any json transformation features available in event bridge ?