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.93.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606da8abc5f73b1696c686a1a03e93b5dc66963a0073a46c6faaf82674932a39 |
|
MD5 | 24c3046660a9310bade23e0e4eb3d977 |
|
BLAKE2b-256 | 0b31f5662506a434ae4b80e8e7c83a3d1d23081132a539c4ab0eb321624feb83 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.93.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a0f5979fbedbb1540fd1e5e9b89ac1f34462ffc0339a3fc33f0c81b4edf5ee |
|
MD5 | 1e30576df2cae8c1f05e546ff8be8cc7 |
|
BLAKE2b-256 | fae7d5f2d9bbbcc88312a8ec4d0754214a620a0dbe0cb86e97209c45568dc046 |