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.133.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7f809b9b6711bdcdd0602f455ae6cf7b0df940363d1873871a6f300f9c8170 |
|
MD5 | 701c3425789aa19e72c1bd08c44f3f39 |
|
BLAKE2b-256 | 49a854eb27bffb55889e9b34abffe1ee7121316d00a17da1a593ca42e23e7ae1 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.133.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd126b7252f23fbfc3fb23778da9b7abfd3284cea765f9f55f0a27f1a0185a8 |
|
MD5 | 4c131dd468a2ae0d2282cb58985d2e59 |
|
BLAKE2b-256 | a5af6f595ba252384daebcf8f14812d10c400dc3c4cd39e8d5827bcc40f751eb |