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.114.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3819670fc442b442bd0718042b0fffb4617c26b9f7efc5e35fb761cb15ce1f67 |
|
MD5 | e21cb42a239e265b8bf713e955425eba |
|
BLAKE2b-256 | 1e39e542cde8f55375729b5dc42ba423dc8fb9a86fdbfebd72517646ed9fa947 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.114.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75e5159d088342beac5b414bd2b801c8b21bee239453a82e63a6a55fb709649 |
|
MD5 | 7738c7ef45d3d00465006c0eeff89b0a |
|
BLAKE2b-256 | 04dda21e79fe2ba1fd207b33a065b7d708b5b8b6e6805cefa7a6698ffc5097ef |