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
1 answer
Not able to attach EventBridge Schedule to Lambda Function in AWS SAM
I'm unable to attach an EventBridge Schedule to a lambda function in AWS SAM.
Here is the section of my SAM template that intends to attach a schedule to the Lambda function:
TestLambda:
Type: AWS::Serverless::Function
Properties:
…

Rohith
- 87
- 1
- 7
0
votes
1 answer
Use input parameter within lambda schedule in Cloudformation
I'm trying to enable/disable lambda scheduled event based on environment, and not having much luck. If the env is prod, it should enable the schedule, and if it's dev it should disable it. However, the schedule status doesn't obey the condition.…

sjl
- 43
- 5
0
votes
1 answer
Adding AWS Eventbridge rules for code commit to run lambda
I am trying to add an eventbridge rule for whenever a codecommit repository is created trigger a lambda function. Below is my rule and I am not sure what to add on reference type or if is there is another rule that I can use.
"source": [
…

keri1
- 11
- 2
0
votes
1 answer
How to include context variables in AWS API-EventBridge Integration Detail body
I have an ApiGatewayv2 EventBridge-PutEvents Integration running. The POST body is sent into event bridge as the event Detail.
The Integration request parameters are as below:
{
'Source': 'com.me.api',
'DetailType': 'ApiEvent',
'Detail':…

Tom Harvey
- 3,681
- 3
- 19
- 28
0
votes
1 answer
AWS Trigger after 100 new files are added to s3
I want a trigger to start a glue job, once after 100 new files(new since the last trigger was fired) are added to s3. How can this be achieved?

rollmaster
- 15
- 2
0
votes
2 answers
AWS lambda event bridge handler not invoked
i have a lambda for some processing and another one to handle errors of the processing lambda. I wired those via a custom eventbus and a rule in it.
my event rule pattern looks like this:
{
"source": ["lambda"]
}
while the policy statement is…

user33262
- 11
- 2
0
votes
1 answer
Recursive AWS lambda with updating state
I have an AWS Lambda that polls from an external server for new events every 6 hours. On every call, if there are any new events, it publishes the updated total number of events polled to a SNS. So I essentially need to call the lambda on fixed…

apocalypsis
- 520
- 8
- 19
0
votes
1 answer
AWS EventBridge - is it able to include tag value of instance in the Rule Pattern & the output
Here is a sample event pattern
{
"source": ["aws.ec2"],
"detail-type": ["EC2 Instance State-change Notification"],
"detail": {
"state": ["terminated"]
}
}
Would it possible to include tag values of specific instance in the detail and…

Sinh Nguyen
- 4,277
- 3
- 18
- 26
0
votes
1 answer
AWS EventBridge customize event pattern
I want to send the event pattern with customized values as follows.
{
"source": ["aws.ecr"],
"detail-type": ["ECR Image Action"],
"detail": {
"action-type": ["PUSH", "DELETE"],
"result": ["SUCCESS"],
"git-repository-name":…

Junseok Lee
- 49
- 3
- 10
0
votes
1 answer
Unable to create scheduled event using AWS SAM
I have a SAM template.yaml like below:
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Resources:
GathererFunction:
Type: 'AWS::Serverless::Function'
Properties:
Handler: main.handler
Runtime:…

solidau
- 4,021
- 3
- 24
- 45
0
votes
1 answer
How do I send AWS Backup events to OpsGenie via Eventbridge?
I have a requirement to send AWS Backup events - specifically failed backups and backups that had Windows VSS fail on backup to a centralized Opsgenie alerting system. AWS directed us to use EventBridge to parse the JSON object produced by AWS…

BPS
- 607
- 8
- 29
0
votes
1 answer
Complex event pattern in AWS(scheduled AND event-based)
I want to create an even pattern in AWS which will do the following:
s3 event happens OR (if anything has not happened in the last 4 hours) every 4 hours. There is custom event pattern and schedule event, but i can't find how to chain both.

rollmaster
- 15
- 2
0
votes
1 answer
AWS CLI events put-targets EcsParameters (structure)
I am trying to get the current Task Definition of an ECS Cluster then update the revision in the cloud bridge event target.
This is what I have so far:
james@LAPTOP:/mnt/c/Users/james$ target_id="xxx_hourly_cron"
james@LAPTOP:/mnt/c/Users/james$…

James Green
- 195
- 3
- 12
0
votes
0 answers
Limit AWS Lambda to max 3 retries from SQS queue
The setup below runs every 5 minutes to put a message into a SQS queue and the lambda pools message from it. If the lambda returns an error it retries every 30 seconds until it succeeds. The aim is to limit retries to maximum 3 attempts so the…

BentCoder
- 12,257
- 22
- 93
- 165
0
votes
1 answer
Configure Event Rule Payload as parametrised bucket
I am defining BucketName which will take user input as a list of bucket separated by ",". I want to use these buckets in the request parameters section of EventRule
Description: Template to create AWS Event Bridge
Parameters:
BucketName:
Type:…

Vikash
- 449
- 1
- 4
- 11