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.125.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a76f310e1d5b8f4bc2e8b3f649d71b5fdecf9d1a628a48c19299b5588424e6 |
|
MD5 | 02d11a607ee7e953a4a8c66ef13303b9 |
|
BLAKE2b-256 | d4f736d2a9f60ba6903726c8dee3d8cb61fad336697a8fb83603eb942b33463c |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.125.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8673c65ad10d88a79490b700a9bb176e04e63d3196a2a7d3fb41849c9c1ad2 |
|
MD5 | 1af21d20b99e3709b6e7c227055b6694 |
|
BLAKE2b-256 | 4cefde14da15041b92b9840debf3357bc73b8140de44103ccf71b6b9b605ffd2 |