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.134.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c935e98c0543d410f39d27b554e2c64531f8f6abead2a4e8d2abf3ff4b0bf56 |
|
MD5 | c27824bd9cb6ed89b56f8c1f1ea4a6b2 |
|
BLAKE2b-256 | b993dcd36021107f61069d7b5f9fb93067586c2d07bdec292b343c7bc30e28d6 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.134.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bba5cf9ce35b85835a8103c33cd1a6da199d0b56ece7b2da170f48ad53bc9e9 |
|
MD5 | da36562d4ba29c2524834ce8e4f1419b |
|
BLAKE2b-256 | a0b883b4de80fa041879410d004e24dc718c9c28fe2d8cdcbd0fc28e3937846c |