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: cw.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.140.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e3fa00b29b5434f0b569b55a6cce3fbf6d904735b929156c43ae04cd4903d2 |
|
MD5 | 44e5206d24301fea6b44da6c804fdc9c |
|
BLAKE2b-256 | c0df245957bbe1b103c1f6b71a850cf0c82b0bff5692a509708b7005a5c15867 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.140.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d5890b31cf03e7286f547e9ce008b9c068b2f3818d2f197f6e86c5092a01bc |
|
MD5 | b79cd33aa8b53eea5b5bb793498ca702 |
|
BLAKE2b-256 | 544fcb9ef34f3406a2caad0a062c38dafba17480f1c5c1ae9a289a5d3b7e49e3 |