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 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.129.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99629558ed86873180d97aae6941b0383e3e4c60cc58b4d2785b5578b77e915 |
|
MD5 | 9156cd56661bd357e56b668a3398facc |
|
BLAKE2b-256 | ee0f8ff9c321e65cc98ea0dd5402a77941a6e73367ba86a8f185156974c30287 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.129.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1a3ffa9ef47a64ad5afd0f34adeffe686a2504afadbda9aaf22b3ed2b08f04 |
|
MD5 | 5dbf259f99314c8b41bc8993ca8d61c1 |
|
BLAKE2b-256 | 2e9bebf77b15d2ba91331be0a38382ad4277574bf6b8fc7e5fb9738ca8159e8e |