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.
Questions tagged [aws-event-bridge]
694 questions
0
votes
2 answers
Schedule AWS lambda in a interval with immediately trigger
To run lambda in an interval, I could use EventBridge rule: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html
For example, if I set the rule to 7 days, the lambda will execute at 7 days after the lambda is…

EzyHoo
- 301
- 2
- 14
0
votes
1 answer
Cron not valid?
I'm trying to deploy an EventBridge rule in Terraform with the following cron expression:
schedule_expression = "cron (5 5 * * ? *)"
Trying to apply the plan however, throws
Error: error creating EventBridge Rule (dev-cron):
ValidationException:…

sneedster
- 29
- 5
0
votes
0 answers
What is the terraform way to use AWS Eventbridge input variable content in a ECS task-definition using terraform?
I am working with an eventbridge rule that runs daily and triggers an ECS task definition as the eventbridge target (cloudwatch-event target).
In my terraform script, I'm trying to pass a parameter using eventbridge input variable to the task…

Alex
- 389
- 4
- 21
0
votes
2 answers
Permissions for lambda to create event events:PutEvents
I want to have a lambda creating EventBridge events but I get this error when calling the lambda:
User: arn:aws:sts::120293923901:assumed-role/MyApiOrdersPostFunct-I1QOYC7P1R0Z/MyApiOrdersPostFunct-SJtAeYoiaguW is not authorized to perform:…

Patrik
- 2,207
- 3
- 30
- 48
0
votes
0 answers
Trying to come up with a way to track any ec2 instance type changes across our account
I have been trying to come up with a way to track any and all instance type changed that happen in our companies account. (ex: t2.micro to t2.nano)
I settled on creating a custom config rule that would alert us if the instance changed with a…

Orick
- 1
0
votes
1 answer
Managing EventBridge -> Lambda async retry behaviour
I'm trying to manage Lambda retries in a situation where Eventbridge asynchronously invokes a Lambda function via an events rule (see template at bottom)
I've tried to configure retry behavour on both Eventbridge and Lambda sides, in particular…

Justin
- 4,649
- 6
- 33
- 71
0
votes
1 answer
Am I able to use AWS EventBridge (or alternative) in order to re-run a lambda after an hour if the past one fails?
I have written a lambda using Python which is dependent upon external APIs which can occasionally go down. This is triggered once a day using EventBridge to gather data from yesterday, and updates a file in S3 at the same time every day.
I was…

Niko
- 3
- 1
0
votes
2 answers
AWS Eventbridge Notifications Does Not Work Using SNS topic
I want to receive notifications from AWS Eventbridge when there's a scheduled event for my Amazon Elastic Compute Cloud (Amazon EC2) instance.
I created an Eventbridge rule and set the target to an already working SNS topic. The SNS topic is…

vjwilson
- 754
- 2
- 14
- 30
0
votes
1 answer
Repeat a cron (EventBridge) job during a time interval
I need to trigger a lambda everyday at midnight and repeat every 10 minutes until 5:00am? Is the best way to do this with a cron job on a EventBridge trigger? If so, what is the cron syntax for "every 10 minutes between midnight and 5:00am"?

lukechambers91
- 691
- 1
- 6
- 21
0
votes
1 answer
Stoping all AWS Compute after a certain time period
I've been tasked to crawl urls and abruptly stop the AWS Lambda after 30 seconds after which the number of URLs crawled will be taken as an evaluation metric. In a simple architecture where I have 1 lambda that takes a file and loops through it and…

Muhammad Mubashirullah Durrani
- 329
- 3
- 16
0
votes
0 answers
Adding cross-region target is not permitted. If connect eventbridge between Frankfurt and ohio region
I am using eventbridge aws service and trying to set up event event rule between Ohio and frankfurt and also frankfurt & Ohio. However I am always getting an error "Adding cross-region target is not permitted."
Can anyone pls help me on same?
0
votes
0 answers
Chain Rule Operators AWS Event Bridge
I want to set up a rule in Node for AWS Eventbridge that filters for all the name values in detail that have NOT the prefix 'notWantedPrefixSample'. I'm not sure how to code this. Anybody has an idea? thanks in…

mafehx
- 363
- 2
- 6
- 14
0
votes
1 answer
Millions of GET requests (Amazon S3 USE2-Requests-Tier2) every day?
I was looking at our bill and apparently we are charged more than $600 for Amazon Simple Storage Service USE2-Requests-Tier2, meaning that we have more than 1 billion GET requests a month, so about 3 million every day? We made sure that none of our…

charlieduck
- 11
- 2
0
votes
1 answer
Multiple EventBridge events called from a single Lambda Function(python)
I am trying to create a lambda function in python that can execute some queries in Redshift depending the creation or deletion of parameters in the parameter store.
I have the following eventbridge patterns
{
"source": [
"aws.ssm"
],
…

kain666
- 31
- 4
0
votes
1 answer
EventBridge Rule for findings from SecurityHub
I am trying to create a EventBridge Rule for a "event" pattern as below :
My Json Structure :
{
"Findings": [
{
"SchemaVersion": "2018-10-08",
"Id":…

Bokambo
- 4,204
- 27
- 79
- 130