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.97.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78760b784fb9418b834c19160460fd9661eff1083f0e7cc9f5e32f990a8bf47a |
|
MD5 | 8eac8ede0bcbb9b01d08eca11767412e |
|
BLAKE2b-256 | d4d7da9d63175c01aaf4dc88786605affc5eeb33db254e05cb87b374f93b026c |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.97.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb9ae4dab00b77a9d107f82d451daadc4f99f5dbba413bb6fe79beeb771ca37 |
|
MD5 | 063ff958ecf7b83deff2c9ef9fdbf91e |
|
BLAKE2b-256 | 0bae5a28d3492f39c9150d278b0e3183579572e5d2927fc83aeb0613b78dd6e3 |