Questions tagged [amazon-cloudwatch-events]
65 questions
0
votes
1 answer
AWS Automated DBSnapshot (System) in CloudTrail event
I'm looking at triggering a lambda when a new automated DB Snapshot is available in RDS (System ones instead of Manual ones). Although after digging in CloudTrail, I don't see any events marked as follow (AWS Sample):
{
"version": "0",
"id":…

Oli at cdcloudlogix.com
- 141
- 9
0
votes
2 answers
Triggering AWS codepipeline with regex matching tag push to codecommit
I am trying to trigger the code pipeline from Amazon EventBridge when a tag push is made into codecommit.
what I am trying to achieve is
git tag v0.0.0-dev >> triggering development event rule and running development pipeline
git tag…

sandeep krishna
- 415
- 2
- 9
- 28
0
votes
1 answer
AWS Cloud watch event scheduler stopped triggering lambda
i have "StartScheduledEvent" in yaml file , which triggers lambda for every 2 minutes. it stopped working and not sure sure why it stopped working.
I dont see any thing specific to it in lambda logs.
Thanks,

nboddu
- 1
0
votes
1 answer
Add targets to CloudWatch Event Rules using CDK in golang
I am fairly new to typescript CDK for aws and am trying to deploy a lambda function using CDK in typescript with something like this:
const lambdaFn = new lambda.Function(..);
Now, I am trying to create an event rule which needs to trigger this…

Darth.Vader
- 5,079
- 7
- 50
- 90
0
votes
1 answer
CloudWatch event has been triggered but my ECS task didn't run. why?
I have an ECS task that's being invoked everyday by a cron schedule form a CloudWatch event. I noticed that my ECS task hasn't run today (never happened in the past) so I looked at the CloudWatch metrics (TriggeredRules & Invocations) and both shows…

Nisman
- 1,271
- 2
- 26
- 56
0
votes
3 answers
Serverless Framework - unrecognized property 'params'
I am trying to create a scheduled lambda function using the Serverless framework and to send it different parameters from different events.
here is my serverless configuration:
functions:
profile:
timeout: 10
handler: profile.profile
…

Tomer Amir
- 1,515
- 4
- 27
- 54
0
votes
2 answers
How to send a CloudWatchEvent from a lambda to an EventBridge destination
I have a lambda which is triggered by an EventBridge custom bus. I want to send another event to the customer bus at the end of the function processing. I created a destination in the lambda to send to the same custom bus.
I have the following code…

wonderful world
- 10,969
- 20
- 97
- 194
0
votes
1 answer
NXLog Forwarding to CloudWatch possible?
I have found a number of items on collecting logs from CloudWatch for NXLog to then send somewhere else, but none on forwarding events to CloudWatch? It isn't really a destination, but maybe it is possible. The benfit is the SNARE format and it is…

TheftAuto
- 3
- 4
0
votes
0 answers
Is it possible for a lambda function to create a CloudWatch scheduled event that could be used to trigger another lambda function?
More fundamentally, I'm wondering if there is a reasonable or preferred way to use a lambda function to schedule the execution of another lambda function at a later time.
0
votes
1 answer
Boto3 Guard Duty Put Target is having error while executing
I am creating boto3 for Cloudwatch rule and I have the following error when i use client.put_targets function.
https://boto3.amazonaws.com/v1/documentation/api/1.9.42/reference/services/events.html#CloudWatchEvents.Client.put_targets
raise…

Arun
- 81
- 1
- 9
0
votes
1 answer
How do I customize message in SNS topic notification triggered on cloudwatch rules?
I have a cloudwatch alarm for my s3 bucket, if there are no changes to the bucket in a day, the alarm is triggered and an SNS topic is sent.
I have set a cloudwatch event rule to schedule the target SNS topic daily if it meets the…

Billie AK
- 65
- 10
0
votes
1 answer
Create Cloudwatch Event for EBS Snapshot using Cloudformation
I am trying to create cloudwatch scheduled event for taking snapshot of my ebs. I am new to cloudformation not much familiar with it that's why having complexity in achieving this. I am attaching my current template which spawns my ec2 instance and…

Usman Hussain
- 187
- 1
- 9
0
votes
2 answers
How to trigger lambda once Cloudformation stack is created
I have to trigger a lambda function once specific stack is created.
I have created the below CloudWatch event rule and associated the target to that lambda function but it is not triggering the lambda.
{
"source": [
"aws.cloudformation"
],
…

Chaitanya Vats
- 41
- 1
- 5
0
votes
1 answer
Trigger AWS Lambda function based on ELB Events
I need to trigger a Lambda function based on ELB Events.
I need to create the cloud watch event rule for ELB creation, deletion, register instances, deregister the instances. Based on this my lambda function should get trigger and call the…

Tes M
- 51
- 7
0
votes
2 answers
How create rule in AWS with CRON expression
I want to create a scheduled expression, which will start js script every week at 5:30PM PT using CloudWatch Events. I tried to insert:
- 0 30 3 * * THU *
- 0 30 3 THU
But got
Error
There was an error while saving rule getEvery1min.
Details:…

Vlad
- 35
- 3