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.132.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 595203fff60d4a1b15a1fb7b2a610cc9eb37f3ee88f3d313dd9e0f4cc030cb3e |
|
MD5 | 4e8064b3c0fa39e506f51ac00b3abc6e |
|
BLAKE2b-256 | b1f32e7cd3d942e2dab867a2a44af2923d6c41d3bf0c1b7c57e198d9134d6396 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.132.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a195474179c3e739c6738057b7445627b61d0c3ede83011f6f5d3071d813f3f |
|
MD5 | 1b97c38e0b7f686747c0a2c0bf777dba |
|
BLAKE2b-256 | c6d4568978f587802ff5130c0b411bfbdcb1608f8bd2ea4fb0f4397c676948d2 |