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.95.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c36348fd3effbe037e514c31360a38b58f127c7e030281129446019343c1f94 |
|
MD5 | 27077fb0e57e54ef4ee5625371f5af32 |
|
BLAKE2b-256 | 91a16b745057bbb6e93ae532dd6e8d27be37679e3e5e5da302e0b573ef775869 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.95.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a591aa7a6e96280cbffc6855bbd10bb08dee65c7e484db3424d5f4610056ae3 |
|
MD5 | c0707dcdbb226363fd235183c1cdf267 |
|
BLAKE2b-256 | cbb59ac0c0d06c2e4115294c7ebda949cb67cca62fa18edda49797f86e3f92fa |