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

AWS Lambda: Find out (and disable) own event source?

Can a lambda function deactivate its own event source (a monthly trigger via EventBridge) without having to manually entering/configuring something? I thought about achieving it using update_event_source_mapping: response =…
and0r
  • 305
  • 1
  • 4
  • 13
0
votes
2 answers

Put event in Amazaon Event bus using Jmeter

We are introducing an event bridge to communicate btw 2 components and we want to Performance test the inbound event bus. We are using jmeter and want to to do a put event in this inbound event bus. has anyone done something like this ?
0
votes
2 answers

How to block lambda on event and timeout after expected time window

Is there a way aws lambda can wait (block and not run/sleep) on an event for a certain amount of time (say 10 hour) and if event isnt received in the window, lambda timeout and raises error. If not with lambda can it be acheived with other aws tech…
user888270
  • 613
  • 2
  • 8
  • 16
0
votes
1 answer

How to pull data from AWS Security Hub using Scheduler?

How to pull data from AWS Security hub automatically using a scheduler ? I am new to AWS on doing some analysis I found below : In Security Hub data is in Json format , we don't have option to do Export to csv/excel ? All Security hub…
Bokambo
  • 4,204
  • 27
  • 79
  • 130
0
votes
1 answer

AWS Cloudwatch event trigger based on different input

I have a requirement to invoke 2 methods x and y specified in the lambda function at different times which is triggered by AWS Cloudwatch event. Is it possible to invoke the handler for different time units by passing in different values to the…
0
votes
1 answer

Is it possible to publish SNS messages from global AWS account to SQS queues in china account

We've have our SNS topics in Singapore region and from there we want to publish to SQS queues in AWS china Nginxia region. We tried to allow access to queues and topics via their respective policy. But giving principal as below is not allowed for…
0
votes
1 answer

unable to trigger lambda with event bridge on aws using pulumi

using pulumi I have created a lambda with a docker image. a event bridge rule added the event bridge rule as a trigger to lambda. code for pulumi main.py file is as follows: import json import base64 import pulumi from pulumi_aws.cloudwatch import…
Deepak
  • 1,503
  • 3
  • 22
  • 45
0
votes
0 answers

How to get details of user who modified a parameter in aws parameter store via sns using amazon eventbridge

I am using the below custom pattern in aws event-bridge to get email via SNS but I also need the details of the user who modified the parameter in parameter store. { "source": [ "aws.ssm" ], "detail-type": [ "Parameter…
0
votes
1 answer

Does AWS Eventbridge API Destination accept request body with POST/PUT Action Method

I am trying to build an API Destination in AWS Eventbridge that should hit a POST endpoint into our system. Request handler in the system expects request body also. So, is there any way to attach request body in AWS Eventbridge API Destnations? I…
Afraz Khan
  • 13
  • 1
  • 5
0
votes
2 answers

AWS Cloudformation Lambda and Event Rule - Lambda not getting triggered with s3 event with a suffix?

I have created a lambda and s3 event rule using cloudformation but lambda is not getting triggered as per configured rule. As per event rule I want lambda to trigger whenever a file is created in a specific s3 bucket with a specific suffix. Rule is…
user10916892
  • 825
  • 12
  • 33
0
votes
0 answers

AWS EventBridge Cloudtrail Log ResponeElement Tag

I'm trying to get the alert which the user fails to log in to the AWS console. I wrote the event bridge rule based on the cloud trail log. Raw Log { "eventVersion": "1.08", "userIdentity": { "type": "IAMUser", "principalId":…
0
votes
0 answers

Multiple files uploaded to s3 in the same time, can only 1 instance start to run task

I have a task on ec2 that will be triggered every time a file gets uploaded to an s3 bucket. It seems like for each file uploaded, an instance will start to run the job. The thing is, our vendor likes to upload a bunch of files at the same time and…
0
votes
1 answer

How to send scheduled custom message using Amazon EventBridge

I'm trying to build an Amazon EventBridge rule that runs on a schedule(weekly), to put an event in the SQS. There are multiple options to choose from, as to what message is to be sent as an event. I understand that it's essentially a JSON object,…
0
votes
1 answer

AWS CDK event bridge and api gateway AWS example does not work

I am following the instructions here to setup an event bridge: https://eventbus-cdk.workshop.aws/en/04-api-gateway-service-integrations/01-rest-api/rest-apis.html Based on the error message, the error is coming from this line of code:…
0
votes
1 answer

How do we raise an event which stores the file name in SQS queue thru lambda, when a new file is uploaded in Amazon S3 bucket?

How do we raise an event which stores the file name in SQS queue thru lambda, when a new file is uploaded in Amazon S3 bucket