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
6
votes
1 answer

How to send specific fields from EventBridge input to its target

I am receiving a webhook event on my AWS EventBridge. The event json body is pretty large and I need to transfer only 4 fields to the target. The fields are…
Lina
  • 1,217
  • 1
  • 15
  • 28
5
votes
2 answers

Unable to validate the following destination configurations

I am trying to enable Eventbridge notification on S3 but I am getting this error message "Unable to validate the following destination configurations " I am not sure what's causing this. Any help would be appreciated.
5
votes
1 answer

Programmatically schedule an AWS Lambda for one time execution

I have two AWS-Lamdbda functions and I want Lambda A to determine a certain point in time like the 4. May 2022 10:00. Then I want Lambda B to be scheduled to run at this specific point in time. I'm probably able to achieve this by programmatically…
Ludi
  • 433
  • 2
  • 16
5
votes
2 answers

AWS EventBridge API Destination Responses

While I understand EventBridge will retry sending an event - through a rule - to a target, such as an API Destination, is there any way to read the receiving API's response code and any returned messages for the respective invocation (i.e., the…
raffibag
  • 119
  • 1
  • 10
5
votes
1 answer

AWS Kinesis Firehose - dynamic partitioning by timestamp other than epoch

My Firehose reads from Eventbridge events that look something like: { "detail": { "key1": "some value", "key2": "some value", "Timestamp": "2022-01-21T19:01:05Z" } } I'd like to perform dynamic partition when saving the events to…
5
votes
1 answer

Eventbridge bus: can't receive messages on custom event bus?

I'm using AWS Eventbridge and I have the exact same rule on my default bus as on a custom bus. The target for both is an SQS queue. When I push an event I can see a message on my queue which is the target of the rule of my default bus. I don't see…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
5
votes
1 answer

AWS Event Bridge DLQ configuration using Serverless Framework

The serverless framework docs of AWS Event Bridge here do not mention how to set up a dead letter queue and retry attempts. I was hoping for the configuration of serverless.yml would look something like below but it did not work. myLambda: …
5
votes
1 answer

How to get last/next execution time for AWS EventBridge rule?

I'm retrieving a list of rules from AWS EventBridge using the SDK in the following way: var response = await ebClient.ListRulesAsync(rulesRequest, cancellationToken); var rules = response.Rules; Each rule in the list have Name, ScheduleExpression,…
dcg
  • 4,187
  • 1
  • 18
  • 32
5
votes
2 answers

SQS with AWS Event Bridge

I am trying to set up a demo environment to try out SQS as an AWS Event Bridge Source. I tried uploading few documents to SQS to see if Event Bridge detects any change, but I don't see any events triggered. How can I test SQS as a source with AWS…
5
votes
1 answer

Will eventbridge throttle lambda if there are so many events in a batch?

I am using AWS Eventbrige eventbus as source to trigger a lambda function. Eventbirge is not low latency service and it sends event to lambda around every 250ms. If there are multiple events in one batch, it will trigger lambda multiple times, one…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
5
votes
2 answers

AWS: forward event bridge event to encrypted SQS (Amazon managed key)

I have an event bus and created an event rule that forwards events to an SQS queue. Now I enabled encryption for my queue, using the default amazon-managed key (alias/aws/sqs). After enabling encryption, the events are not forwarded anymore.…
5
votes
4 answers

regex in CloudWatch event pattern matching

How can I match a CloudWatch event on a regex. I need to invoke only a particular SNS target on a specific job name. e.g, something like below where I want to do a regex match on TranscriptionJobName. Thanks. { "source": [ "aws.transcribe" …
user4848830
  • 779
  • 12
  • 22
4
votes
2 answers

How to modify AWS EventBridge Rule to use AND instead of OR filter logic?

I want to trigger an AWS lambda function via EventBridge every time an S3 Object is created in an S3 bucket called "mybucket", but ONLY if its name/key ends with a ".csv"-suffix AND if it was created within the "in"-folder of that bucket. The…
4
votes
1 answer

Python Lambda boto3 Unknown service: 'scheduler' error

I'm trying to create a EventBridgeScheduler client in my Python 3.9.15 Lambda, but the service responds with UnknownServiceError: Unknown service: 'scheduler'. Isn't this service supported even though it's included in boto3's official documentation?…
Lez
  • 99
  • 7
4
votes
2 answers

AWS CloudFormation Events Api Connection

I am trying to create a cloud formation stack using AWS Events to trigger an API call on a schedule. Most of the stack is working, however, the AWS::Events::ApiConnection is failing to create and I am not sure why. This is the CF snippet that is…
chinds
  • 1,761
  • 4
  • 28
  • 54
1 2
3
46 47