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
2
votes
2 answers
When publishing from AWS event bridge to SNS as a rule target is it possible to add MessageAttributes to allow subscription filtering?
I have an event bridge rule which sends events to an SNS Topic as a target. This works fine. However, I would like subscribers of the topic to have the ability to use subscription filtering, but it appears event bridge does not set MessageAttributes…

user602525
- 3,126
- 4
- 25
- 40
2
votes
0 answers
API destination has become inactive on aws
I want to call an API after every 2 hours, have created an eventbridge rule. Used target as API destination. It worked for the first time, somehow failed.
Now the status of API destination is "inactive", how can we make it active?
Have not found any…

kumar gaurav
- 59
- 10
2
votes
1 answer
How to create a role in CDK that will allow a Lamda to create an EventBridge target
In my CDK code, I've created a Lambda function that I want to create an EventBridge target. When creating an EventBridge target in the Lambda, I need to pass a RoleArn. I've attempted to create this role and pass the ARN to the Lambda function.
When…

Fisu
- 3,294
- 9
- 39
- 61
2
votes
1 answer
Amazon EventBridge rule S3 put object event cannot trigger the AWS StepFunction
After setting the EventBridge, S3 put object event still cannot trigger the StepFuction.
However, I tried to change the event rule to EC2 status. It's working !!!
I also try to change the rule to S3 all event, but it still not working.
Amazon…

Kcwan
- 21
- 1
- 2
2
votes
1 answer
Using Self hosted Kafka as event source for AWS Lamda
I want to use a self-hosted (in EC2 instance) Kafka stream to use as an event source to trigger the lambda function. Although lamda can easily be configured(here) to get triggered from a Kafka stream, I don't want to trigger for all the messages but…

Dhanendra
- 113
- 4
- 11
2
votes
0 answers
Mocking Eventbridge event pattern matching with moto
Is it possible to mock Eventbridge pattern matching, confirmed by the receipt of a pattern- matched message into an SQS queue ?
Asking as I have a boto3/moto script (below) which attempts to do this and which I believe should work, but .. it's not…

Justin
- 4,649
- 6
- 33
- 71
2
votes
2 answers
Consume events from AWS EventBridge in a self hosted kafka cluster outsite aws
We got a SaaS which is publishing it's events on AWS eventbridge (coulple of milion per day). We would love to consume those events and put them on our self hosted Kafka cluster. What would be the best methode to do this? We where thinking about…

Arend-Jan
- 53
- 4
2
votes
1 answer
AWS Chatbot not publishing to Slack
I'm trying to create a Chatbox using CloudFormation. When testing it by creating a message in the Notifaction Topi nothing is published to slack.
notifications.yml
AWSTemplateFormatVersion: 2010-09-09
Transform:
-…

Antarr Byrd
- 24,863
- 33
- 100
- 188
2
votes
1 answer
AWS::Events::Rule Input for target is not a valid JSON text
I have the following resource in my SAM template.yml:
MetricsRule:
Type: AWS::Events::Rule
Properties:
Name: MetricsRule
Description: Puts metrics to the CloudWatch log group
EventBusName: !FindInMap [LambdaConfig, !Ref stage,…

dobeerman
- 1,354
- 15
- 27
2
votes
2 answers
How to create eventbridge rule using boto3 with lambda function as target?
I wanted to create an AWS eventbridge rule with lambda function as the target. The lambda function named 'StartInstance' has been already created via console.
I have created a python script which is using boto3 library to create this eventbridge…

Tarun Khare
- 1,447
- 6
- 25
- 43
2
votes
1 answer
Customize Partner Event Source name in AWS CloudFormation script
I want to define the AppFlow configuration in a SAM template.
I don't want to let AWS automatically generate a Partner Event Source name like aws.partner/appflow/salesforce.com/${AWS::AccountId}/resource
It is possible to specify a custom name when…

Eddy
- 1,662
- 2
- 21
- 36
2
votes
1 answer
Why is the Lambda function added as a target to Event Bridge Rule is not triggered?
I am trying to put a rule and a lambda target to the rule for EventBridge. The rule and the target are successfully added, however, the target Lambda is not triggered. And I cannot see the relevant Trigger when I navigate to the target Lambda…

omerto
- 23
- 1
- 4
2
votes
4 answers
Cloudwatch Event Rule not supporting IAM events
I'm attempting to set up a Cloudwatch Event Rule to notify on any AWS IAM actions like DeleteUser or CreateUser. But when I tried to create an event pattern I couldn't find IAM in the service Name list even though when I searched in the AWS…

Jihed Zouari
- 61
- 5
2
votes
0 answers
Eventbridge non-matched events
As I understand all unmatched events in Amazon EventBridge will be discarded. So how can we count them to make sure that my events are not lost and all matched/routed to targets
For example if producer changes schema and it stops matching rule…

maxx
- 575
- 1
- 6
- 12
2
votes
1 answer
How user aws EventBridge to reboot instance when env degraded
I'm trying to use the event bridge to reboot my degraded ec2 instance whenever the beanstalk changes to warn status, at the destination there is the option to call a lambda function or use the api reboot instance, my doubt is how to get the id of…

GustavoNogueira
- 389
- 1
- 3
- 16