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.94.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e478f4bbc32b7e301f17d30f79892f5ae530e926b2939a4498aa832855c2c41b |
|
MD5 | 05b87a50f3a8e9bf31ecf2afa884a558 |
|
BLAKE2b-256 | e32fbe7ae2f5cf2120833fba7e76397d1996d816971229e891c8eb40aaf177a1 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.94.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09712eb0a4ac5bbf85ee2ab2ea258e03f6b021d5c4a5fe1e0abc5c98ab23c87 |
|
MD5 | df6e3cf79eaa631717293f1cc9707958 |
|
BLAKE2b-256 | e047c3744df91da1cf2d88c07f5e8ac660c4e7922dc28a7822068aaf7f547c07 |