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 from non-compiling source. May contain errors.
import aws_cdk.aws_cloudwatch as cw
# Alarm must be configured with an EC2 per-instance metric
# alarm is of type 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.136.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40e69ddebd3dd890722e3976b8273e256b5cc5648f85bd0b8b2d8909d23f1f86 |
|
MD5 | 308dcfb2d2764cd32edad2b83f58d45e |
|
BLAKE2b-256 | c8d4cb1cc75cb1105ea32c91e45e29028abec9333a0ce7e59906c37921ceda50 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.136.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d191fa432861336a46a8244e8c35a6b16f9eed4bc4fb85998cc5199aa04c8f |
|
MD5 | be596f70ef3c7952773ddfbcc9d6e6b7 |
|
BLAKE2b-256 | f224c66daa6bd0044c4d82d407d2400ff8305a45ecb739953a4ff05ed89128de |