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 without compilation. See https://github.com/aws/jsii/issues/826
import aws_cdk.aws_cloudwatch as cw
# Alarm must be configured with an EC2 per-instance metric
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.113.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e1addb241f6dbb3a442f02802086ee9b796f1a844e0c000f6e14d4abbf0beb |
|
MD5 | b297782e85daf6ad8757039e95977a05 |
|
BLAKE2b-256 | 5dc58aa9b7686f750c7723916a99afc53dcb5596f7c8ea006c1a0c71160493bd |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.113.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0938a7737051d88e9230b45ff749611101d2492b29f46c31c237409d56d4414e |
|
MD5 | 901489a5dbdea5609996bc35f63f4eb8 |
|
BLAKE2b-256 | 00512658f97926a853114662daa5576a899f820b1143c6b297cd5cdf3bac211e |