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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c171af6205660eccbb252dc5cc3a09d68d844646c573ee39fd2446ab9f05159 |
|
MD5 | f7538d88c14abe9047275fff5aeab8ba |
|
BLAKE2b-256 | d38dd47c0d15a4542cca604488c6652cc73ac380492b886fe747a9174a2e8fe6 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.138.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63fbfe59fa7e1831bbe687bd70015ec1cbf1f8676e814d00ffb008dfbdfbef94 |
|
MD5 | 77d7a0af55fdee53171364808c3d3b3d |
|
BLAKE2b-256 | 046e4ac708ae90534c9b1d956872fa2a50752ddc14aa5389e81e1306cbd0f3e7 |