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.102.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53cbdfc032b448193a0bf71612bcc28dd88e5ce2bd830f0b92dd7459ccc76381 |
|
MD5 | 4433e282aa7bcd3099270a88ba642159 |
|
BLAKE2b-256 | 14e1a01e43f0dfa91967799480c5046c89344790ff2240dda8522bf2df9f708a |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.102.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc243e736495fcf7a1cf5a70a0cf4c16bdef42ecd537837fc761d90fad465ac |
|
MD5 | 4118f95879c5fb98b10e37153dd43007 |
|
BLAKE2b-256 | 18553b57ddc8a8bd423aa001c035d9d460999c1208d649679e51a47d6d7afad3 |