Questions tagged [amazon-cloudwatch-events]
65 questions
1
vote
0 answers
cannot access com.amazonaws.protocol.StructuredPojo
I am trying to use aws-java-sdk-events in my project to dynamically create cloudwatch events to trigger lambda. The following snippet of code produces cannot access com.amazonaws.protocol.StructuredPojo on project compilation:
Target target = new…

Vasiliy Vlasov
- 3,316
- 3
- 17
- 20
1
vote
1 answer
what is the Aws cloudwatch events equivalent in gcp
How we can Monitor Resource Changes In Google Cloud and how to monitor for GCP resource changes, automate alerts based on those changes and invoke an action.

Kainat
- 63
- 1
- 8
1
vote
1 answer
How to specify the first run time AWS CloudWatch Rate Expression?
I have a Lambda Function that needs to be invoked biweekly on Sunday at 10am. I used the rate expression to set 14 days as the rate period. However from the official documentation, I couldn't find a way to specify the Sunday at 10AM part. How can I…

bappak
- 865
- 8
- 23
1
vote
1 answer
How to filter CloudWatch event by event id
How to filter cloudwatch events based on the event id eg: DMS-EVENT-0078, DMS-EVENT-0082
we are looking at the cloudwatch event messages but not able to see the event-id
we are planning to use a lambda to filter only few event-id and create alarms…

Varadharajan Nadar
- 357
- 1
- 2
- 11
1
vote
1 answer
Getting an error with this lambda function that is triggered by the createbucket event
I set up a Cloudwatch Event CreateBucket that triggers this automatic policy generating script:
import json
s3 = boto3.client('s3')
def lambda_handler(event, context):
# Get bucket name from the S3 event
bucket_name =…

notaproatbash
- 436
- 4
- 13
1
vote
1 answer
Capture start and end of lambda functions
Is it possible to capture the startTime and endTime of execution of lambda functions along with parameters that were passed to it ?
I couldn't find any state-change event configurations that could be configured to send events when lambda function…

alwaysAStudent
- 2,110
- 4
- 24
- 47
1
vote
2 answers
Realtime-ness of S3 event notification
I am interested in traffic lifecycle (i.e. when the objects were created and deleted) of objects.
One approach is to perform periodic scan of the bucket and track explicitly the lastModifiedTime and perform a diff with previous scan result to…

alwaysAStudent
- 2,110
- 4
- 24
- 47
1
vote
1 answer
Serverless - Schedule event not creating CloudWatch Events
Serverless isn't creating CloudWatch Events as a trigger to a lambda. There are no warnings or errors.
functions:
aggregate:
handler: statistics.handler
events:
- schedule:
rate: rate(10 minutes)

lko
- 8,161
- 9
- 45
- 62
0
votes
1 answer
How to configure EventBridge Scheduled Rule to trigger my Lambda function dynamically?
I need help about a subject. (I'm using AWS)
I'm trying to use live activity of ios in my application. I realize that I have to update live activity variable on server side while application is closed on user phone. --> docs
I need that update some…

Tuğrul Şimşirli
- 33
- 1
- 4
0
votes
3 answers
Invoking AWS CloudWatch Event Rule by some event
I have an EventBridge rule that looks like this:
{
"source": ["redshift.amazonaws.com"],
"detail-type": ["AWS API Call via CloudTrail"],
"detail": {
"eventSource": ["redshift.amazonaws.com"],
"eventName": ["CreateCluster"],
…

Dawid_K
- 141
- 1
- 1
- 10
0
votes
2 answers
Scheduled clear up of DynamoDB after import to s3
I have dynamo DB table on which I need to perform these actions on a weekly/monthly basis.
export data into s3
delete from Dynamo DB, the data exported into S3
Use case: We have only 10% traffic open and have 3k items and growing. Also we need to…

Reshma
- 69
- 2
- 11
0
votes
1 answer
AWS cloud watch event pattern to detect S3 buckets creation/modification with public access
I am trying to create an AWS Cloud watch event which will trigger an email whenever a S3 bucket is created or modified to allow public access.
I have created the cloud trail, log stream and am tracking all the S3 events logs. When i am trying to…
0
votes
1 answer
Different Environments for AWS Media Convert?
I have a use case to transcode video from one format to another format, right now jobs are running via default queue and job updates are happening from cloud-watch events to lambda triggers.
how i can split the above flow for develop, stage,…

Hari
- 1,545
- 1
- 22
- 45
0
votes
1 answer
Get name of Cloud watch event triggered lambda function
I have multiple cloud watch events triggering a lambda function . Is it possible to get name of event in lambda function so that I can know which is triggering lambda function and need to do some changes accordingly.

Manpreet Narang
- 95
- 1
- 1
- 8
0
votes
1 answer
CloudWatch Events: Schedule Expression Invalid
I have written a cron expression below:
0 13 * * 1-5
for triggering “At 13:00 on every day-of-week from Monday through Friday.”
But when I use it in cloudwatch events I replaced the day of the month with ? as stated in the aws docs. But this doesn't…

rooni
- 1,036
- 3
- 17
- 33