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.139.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e666628f33be6d9e896d0a7c3495d0533ce86e6f9dc7ded428860b9e4f3abc |
|
MD5 | e1a208120a3f3867ebb913d6a0ea47fa |
|
BLAKE2b-256 | 45fe9d6120e372f4e0ddd80363dac29daaed6f7d4eb9e6dcb385e87abe073153 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.139.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d2b854d9e8462a1f4fbddd3fab39d597fabf52f915c3ae38c94d3d285db959 |
|
MD5 | a3fe53ebb8e26c1d058c3e409ded3fa5 |
|
BLAKE2b-256 | 9efe2f2f98db911a643e05df488004f1f9fd55c2c2113d79a8c07c2c7e7162da |