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.108.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 974340b3b054297fa434eab0db4b018b27264a2b9b4d5385bac5f690d8b5a098 |
|
MD5 | ab0669e3fb389bd21f7c868ff8ad996b |
|
BLAKE2b-256 | 384c5209af31c70da0b115c824229a23bd797f073b5de42649f7c5cb2761e4e3 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.108.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71f1b5c545113241f55f1210425bd5710a6086134a20ac98fc57d7c9098b2c7 |
|
MD5 | 3ea3096bd41891df2a6f688ab4a9aa34 |
|
BLAKE2b-256 | d293be2c53a968950f932360b1f1aecdd7e5709dfc18021d99a41789059f2f24 |