821 questions
0
votes
0
answers
54
views
React to specific IAM Events in AWS
What I am trying to achieve is to trigger specific actions within my AWS Account when specific IAM actions are performed. This appeared to be much more complicated than I expected, so I wanted to ...
0
votes
0
answers
46
views
Is it possible to create an HTTP API Gateway integration to EventBridge that reads the detail-type from a detail-type attribute of the payload?
My input to API Gateway looks like this:
{
"detail": {
"stuff": "goeshere"
},
"detail-type": "ApiGatewayTest",
"source&...
0
votes
0
answers
51
views
Serverless Offline with EventBridge Scheduler Error: The execution role you provide must allow AWS EventBridge Scheduler to assume the role
As the title says, I'm encountering this error when running in SLS Offline. I just want to confirm if EventBridge Scheduler really isn't supported by SLS Offline?
resources.ts
export const resources = ...
0
votes
0
answers
87
views
How can I pass an entire AWS SES event from EventBridge to an ECS Task?
I want to run an ECS Task on Fargate every time an AWS SES event has happened. I am able to run a Lambda function and the lambda function receives the event, but based on the documentation, as I ...
0
votes
1
answer
86
views
Is it possible to customize the SFN execution name when triggering SFN using SQS + Eventbridge Pipes?
I am trying to trigger an SFN using SQS + Pipes, and I wanted to know if it's possible to configure the name of the SFN execution based on the payload.
Example:
If the event is as follows:
{"...
0
votes
1
answer
93
views
How can I flatten the Kafka message content so that headers and payload appear as top-level fields inside detail, and not nested under a value key?
I'm using the Amazon EventBridge Sink Connector for Kafka Connect to send messages from a Kafka topic into EventBridge. The source message in my Kafka topic looks like this:
{
"headers": {
...
0
votes
0
answers
42
views
How do I use an AWS eventbridge schema to get an object of the defined class from the event json struct?
When I generate schema for an AWS EventBridge event, I get something like the following.
Now, what's passed to my lambda isn't an instance of this class. It's an instance of a struct that uses the '...
0
votes
0
answers
19
views
Debugging eventbridge events from aws transfer
I want to trigger a lambda on SFTPConnectorDirectoryListingCompleted coming from aws.transfer. The doc claims that Transfer will deliver events to the default bus. However, from the console, I cannot ...
2
votes
1
answer
107
views
How to create a single CloudWatch EventBridge rule for multiple AWS DMS tasks finishing full load?
I'm using AWS DMS to migrate data from several sources into Redshift. For each replication task, I want to trigger a Lambda function when the full load finishes. Currently, I'm creating a separate AWS:...
0
votes
1
answer
94
views
How to invoke a microservice on EKS multiple times per minute (migrating from EventBridge + Lambda)?
I'm currently using AWS EventBridge Scheduler to trigger 44 schedules per minute, all pointing to a single AWS Lambda function. AWS automatically handles the execution, and I typically see 7–9 ...
1
vote
1
answer
306
views
How to create EventBridge rule that triggers Lambda/Step function on another account?
I have two AWS accounts named A and B. I want to create an EventBridge rule on A that will run Lambda/Step function on B, and on runtime I don't have access to B, only to A.
The problem with lambda ...
0
votes
0
answers
30
views
How do I combine multiple fields in an EventBridge anything-but match?
How do I write an EventBridge rule that matches any event EXCEPT where the source is "com.prosc.store" and the detail-type is "Login"? Assume that there are too many unknown event ...
0
votes
0
answers
130
views
Passing parameters from AWS EventBridge Pipe to ECS task read by a python application
I am totally at a loss trying to figure out a seemingly simple thing and all searches are taking me in different directions, except offering the clear solution.
I have a python application (not flask/...
1
vote
1
answer
141
views
Why isn’t my EventBridge Pipe scaling with increased SQS FIFO messages
I’m facing an issue with a webhook system built using AWS SQS FIFO queues, EventBridge Pipes, Step Functions, and Lambda. Here’s the setup:
• SQS FIFO Queue:
• Receives webhook messages containing ...
0
votes
0
answers
28
views
AWS Glue input arguments passed through EventBridge should be visible in the Lambda function
When triggering an AWS Glue job through EventBridge and passing input arguments (e.g., --fname, --lname), the Lambda function triggered by the Glue job state change event does not receive or display ...
0
votes
1
answer
172
views
EventBridge Event bus doesn't receive cross-account events
I'm trying to send EventBridge events to the Event bus of our backup account, but the bus isn't receiving the events. I've been following this blog post, and translated the example given into ...
0
votes
1
answer
244
views
How to Pass SQS Message Body as Environment Variables to AWS Batch Containers Using EventBridge
I am configuring a workflow where messages from an SQS queue trigger AWS Batch jobs, and the content of these messages is passed as environment variables to the container executing the job. I am using ...
0
votes
0
answers
34
views
Event driven record deletions in AWS
Using only AWS infracode, is it possible for a stream of events to trigger updates and deletions of existing matched records in a table or database?
In other words, are components like EventBridge, ...
0
votes
1
answer
207
views
Why can't I combine multiple anything-but conditions in AWS EventBridge event patterns?
I'm trying to create an AWS EventBridge rule, and I need to filter out events based on detail.type.
Each of these rules works separately:
Rule 1:
This successfully filters out "foo-v2" and &...
1
vote
1
answer
164
views
Are AWS EventBridge events processed/retried independently?
For a single event bus, if earlier messages cannot be delivered and enter the retry loop (which according to docs lasts up to 24 hours), will later messages be blocked from delivery?
Put another way: ...
0
votes
0
answers
65
views
What policies does a StateMachine need to execute the SendTaskSuccess and SendTaskFailure back to an EventBridge Rule/Bus
I have an architecture divided in 2 different AWS Accounts. Using AWS SAM, I have a StateMachine (lets call it the parent function) in Account A; and an EventBus, EventRule, and StateMachine (lets ...
0
votes
1
answer
34
views
How to configure event bridge for suffix ending with random date
I have configured my event bridge rule to listen event for NXP*.out files. Here is my code.
{
"detail-type": ["vg_1"],
"source": ["vg_1.bbg"],
"...
0
votes
0
answers
24
views
AWS Pipe- mapping between api destination request payload and response
I have a aws event bridge pipe where I am calling a 3rd party api using api destination,
payload like:
{
"request_id": 123,
"FirstName": "Launch",
"LastName": &...
0
votes
1
answer
351
views
How to Handle EventBridge Rule Target (Lambda) Failure After All Retries Are Exhausted?
I have an schedule cron in aws that successfully delivers events to an AWS Lambda function. However, sometimes the Lambda function fails to process the events correctly event all retries are exhausted....
2
votes
1
answer
757
views
Container Overrides from event bridge to aws batch
Like the title says, I am having trouble setting up container overrides from eventbridge to AWS BATCH.
For context, I use AWS Batch to hold container configurations for an ecs container.
The ...
0
votes
1
answer
28
views
AWS one-time schduler usingf JAVA SDK error Error occurred: Parameter ScheduleExpression is not valid
I'm trying to create a one-time schedular in AWS event bridge using JAVA SDK. Below is the code
package com.example.kafkademo.service;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j....
0
votes
1
answer
27
views
hit multiple endpoint from one python lambda using EventBridge(cloudwatch)
I have multiple endpoints that I need to hit in one python lambda , for example
Endpoint A /test/ every 30 mins
Endpoint B /service every 5 mins
Endpoint C /target/ evere 3 hours
The python code to ...
-1
votes
1
answer
40
views
Delay in AWS Event notification in Lifecycle event
i have configured lifecycle events to delete the file from my s3 bucket,
Also i have setup Event notification,
Event types : Object expired have SQS queue as a destination
Destination type : SQS Queue
...
1
vote
1
answer
373
views
How to make multiple consumers receive the same message from a single AWS SQS Queue?
I have an AWS SQS queue that is subscribed to an SNS topic. The queue currently has two consumers:
A Java class using @SqsListener from the io.awspring.cloud.sqs.annotation package.
An EventBridge ...
1
vote
0
answers
193
views
Set Execution Name to Step Function Triggered by EventBridge Rule and Target
I am triggering a step function with and event bridge rule and target. I would like to set a custom event name for the state machine. I am able to do this if I use a Scheduled run but not a Rule with ...
-1
votes
1
answer
286
views
How can I pass the instance id to Lambda function
I'm developing a workflow in AWS. The scenario is: whenever I get a suspicious log entry in a log group like lot's of 403 errors. I want the instance to be isolated from the environment. Currently the ...
0
votes
0
answers
57
views
aws scheduler get-schedule returning unusual ScheduleExpression
I'm using AWS CloudShell to retrieve the configuration of my AWS EventBridge Schedule but this is returning an unusual ScheduleExpression causing problems downstream.
Commands I'm running in AWS ...
0
votes
1
answer
775
views
Dynamic message group id from Eventbridge
Did anyone here manage to set the message group id for SQS to be dynamic?
We are receiving updates from our Shopify stores through the AWS Eventbridge integrations. Whenever there is a peak in sales ...
0
votes
1
answer
226
views
How to create event bus events with source 'aws.'?
I am trying to trigger an event bridge rule:
{
"detail": {
"stateMachineArn": ["arn:aws:states:eu-west-2:<account-num>:stateMachine:<target-name>"],
...
0
votes
2
answers
247
views
How to put the Targets Input correctly on the eventbridge rule using boto3 put_targets without manually clicking the prettify
state_machine_input = {
'STATE_MACHINE_DEFINITION_NAME': event_dict.get('workflowToBeTriggered'),
'LDAP_USER': event_dict.get('updatedBy')
}
eventbridge_client =...
0
votes
1
answer
415
views
Start ECS task using Event Bridge after ECS service redeployed
I want to start ECS task that will do some stuff with RDS DB after my service is redeployed via my CI pipeline, is there any option to catch such event using EventBridge?
I tried to catch deployment ...
0
votes
1
answer
214
views
Want to get current time and current time - 24 hours in AWS Step Functions / EventBridge Scheduler
I'm doing an incremental export from DynamoDB to S3, and I want the window for the export to be the last 24 hours.
I have seen that many people are suggesting to use a Lambda to do this, but I was ...
0
votes
1
answer
291
views
Is there a way to subscribe event bridge event bus to SNS topics?
I have multiple external publishers publishing on SNS topics that my service listens to. I need to route these message to some sort of priority queue (SQS).
Is there a way to have this pattern ...
0
votes
1
answer
77
views
Reacting to a user verifying their email in a Cognito User Pool
So quick question, is there a straight-forward programmatic way to trigger some code whenever a user verifies their new email address? I know the custom email sender lambda has a trigger source for ...
0
votes
1
answer
78
views
How to create an aws event rule that listens on a server health check?
I want to listen on when my server is up to trigger an application. For the moment I'm simply testing to see if I can log an output as soon as my server is up.
This is my task definition health check
{...
0
votes
0
answers
105
views
AWS scheduler not stopping my EC2 instance
I created an AWS EventBridge with following configuration:
Target: Universal target
Service: Amazon EC2
API: StopInstances
Payload: { "InstanceIds": [ "i-xxxxxxxxxxxxxxxxx" ] }
My ...
1
vote
2
answers
91
views
I need help sending a put event on AWS Eventbridge
I’m fighting with this code
defmodule MyApp.Eventbridge do
@moduledoc false
require Logger
def send_event_to_eventbridge() do
event = %{
Source: "car-event",
...
0
votes
1
answer
191
views
Private endpoint cannot use as AWS EventBridge target
I need to call an private endpoint of Springboot application (hosted in EC2) that located in my AWS VPC from an event bridge that also located in same AWS VPC.I already tried to do this using API ...
0
votes
0
answers
73
views
Run eventbridge scheduled aws lambda once after cloudformation stack deployment
I am creating a scheduled lambda triggered by an EventBridge Rule with the option suggested here using a cron expression.
I have currently set the cron to trigger every 15mins and that's working fine ...
1
vote
0
answers
180
views
How to trigger an Event or AWS Lambda function if all AWS Glue Jobs are executed successfully
I have automated execution of 50 AWS Glue Jobs via AWS Step functions.
They all execute concurrently.
I would appreciate it, if someone can provide guidance on
How can I trigger either an event, aws ...
0
votes
0
answers
198
views
Very slow delivery via AWS Event Bridge
I have previously tested AWS Event Bridge and it seemed very fast to me. However, in a new project where I am uploading data at a high rate via Ruby, it is falling orders of magnitude short of ...
0
votes
1
answer
229
views
Eventbridge pattern for SSM document
I want to make sure that my lambda triggers only when a particular ssm document status is Success, so i have written the following eventbridge pattern but it is not working.
I want to make sure that ...
1
vote
1
answer
93
views
aws lambda add trigger from event rule using node js
I try to dynammicly trigger my lambda by create rule , add lambda as target to that rule and add permission to the rule to invoke the lambda as follow:
const client = new CloudWatchEventsClient({
...
0
votes
1
answer
159
views
The AWS event bridge pipe with multiple enrichment steps
Is it possible to add more than one enrichment step before invoke the target stage ?
0
votes
1
answer
127
views
create generic/dynamic event rule for multiple events detail-type in aws eventbridge
We have a lot of event detail-type. We need an event rule to trigger the "notify" event detail-type. Here are the list of all possible event detail-type:
com.expert.efg.input-portfolio-...