Join Slack
Powered by
Hey, do you have any example code snippet to creat...
# help
ö
Ömer Toraman
06/10/2022, 2:49 AM
Hey, do you have any example code snippet to create an alarm for lambda being called X times in N seconds?
f
Frank
06/14/2022, 3:40 AM
Hey
@Ömer Toraman
, I’m not sure if u can have the interval less than 1 min.
Frank
06/14/2022, 3:41 AM
Here’s an example of creating an alarm
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.Alarm.html
Frank
06/14/2022, 3:41 AM
maybe try setting
evaluationPeriods
to
1
and threshold to
X
?
Open in Slack
Previous
Next