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 from non-compiling source. May contain errors.
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.138.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef160a5f4416941805072eeb3b5870da96256ce67617ae8c832e0cd43a05687 |
|
MD5 | 683dca9f26f6172c5291502f333bde2a |
|
BLAKE2b-256 | 281a7514b79060b4154b5ae87d005c3edcc76db785ad3459075ab8040ba7d246 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.138.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9750fa3c2f476dc4a161470ecd4405c071c7b3794352adae8c2d42161e7a8d56 |
|
MD5 | 52363effa81005a2245299fb7e0bb576 |
|
BLAKE2b-256 | 018d8cc09b023746da3fd429929e6413c3996f968005d410bae241330160b05a |