Alarm Actions for AWS CloudWatch CDK library
Project description
CloudWatch Alarm Actions library
---This library contains a set of classes which can be used as CloudWatch Alarm actions.
The currently implemented actions are: EC2 Actions, SNS Actions, Autoscaling Actions and Aplication Autoscaling Actions
EC2 Action Example
# Example automatically generated from non-compiling source. May contain errors.
import aws_cdk.aws_cloudwatch as cw
# Alarm must be configured with an EC2 per-instance metric
# alarm is of type Alarm
# Attach a reboot when alarm triggers
alarm.add_alarm_action(
Ec2Action(Ec2InstanceActions.REBOOT))
See @aws-cdk/aws-cloudwatch
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws-cdk.aws-cloudwatch-actions-1.135.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb503c14ed062a403a41d2760fd8864d0d2cc5ac96f1d94c92b08160789e868d |
|
MD5 | 845b4f5e56b31e5fb18dbeea1aa9da16 |
|
BLAKE2b-256 | d7a310274ba4ec3f17ecaf5e885e2bf4dbed5960250e985ca62e33fc4d21a77d |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.135.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b2f2005e4cfd8d05d098a08c5f19c57aee5cf59ae3b399da320914f3744e7c |
|
MD5 | e5d652e90bbd468c74edf3c4f1a22f62 |
|
BLAKE2b-256 | ac4e9da2fb0f17c00ee145cb3b6bdc6cad2b15abcebebb39beb61d1ac2b6eb3f |