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.137.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3486729b815e74d8303b8481b01c20ec48b3f45083560c289fd9d2f7e9b87396 |
|
MD5 | ba9e33ae4f1b722b5a21ad879d517ec5 |
|
BLAKE2b-256 | ef22cef9b089a4848ae46e9c1ff43eafd369a9dfdf84acac12dd89e4d5c8f966 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.137.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c8f3fed65b599a5c1c80606aaece2725384475afb0ab1ba871ea165a01f2fe |
|
MD5 | fb2c6d009bbcc005c2b3fc9195f0c390 |
|
BLAKE2b-256 | f8efedf1940ccba8b4a87d393569a88cbb92719e0f33dc8a4a97a9753df99fac |