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.94.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2463f57fc7245fb0b64cb0e2b60b355fab9415d49d97de7993dda61ab30efbe |
|
MD5 | eb4b37c51e0cee8e1a3019a5b420ae53 |
|
BLAKE2b-256 | 72235cb0939e2232e63de6f568b59539112023d4c49b5a26835e8e8de7b3f626 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.94.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3fbafabef8929faf8978e58f3aba516f539aa08e07ac9c8b04ed63baccf5ea |
|
MD5 | 1cc6fef98de742d778461161a65fcfb6 |
|
BLAKE2b-256 | ad7ae828f5ae4c8c3ea1f9b8a73ff3d344b9568e0aeb722371a4c58840d6c7c2 |