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.138.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd400624b9ead1cede2d0822b919a20015de97eac38b65cb3bfc81fff0678517 |
|
MD5 | e675fb41639e6bb1f90c135ed242f206 |
|
BLAKE2b-256 | b94a5c385c0a6c88286d01be42d9a81a7a81531bad6e8ecf39fba26296cd6c37 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.138.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945d2cfef6dfa3fb74a8ac2f1824ffb3fe76bfa495ee5a8be796d0d1fad850ef |
|
MD5 | e8048e2cfece832c2bdc109da9232626 |
|
BLAKE2b-256 | 028b50c4266c722dd9b5bfbd8f4ea0201414e2df5693ef1ee47e959dd52ed5db |