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.119.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419e1d96a70b297c42153d8ecda7c557ea23d9f0ea1bbf3d410a0778d110b01f |
|
MD5 | 854726852cf17bdace260addc8574e33 |
|
BLAKE2b-256 | cd83bd7437226ea4ff6b11f52e24cabb6d21c41cbff999da29ac181c108e788f |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.119.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59804b124554d68ab91bcac16979007b032db1c9b9eac9550e9aee1802f3709d |
|
MD5 | b92e4a683b877b98b90ebe88962d0422 |
|
BLAKE2b-256 | 3263e17725f5975a34af1123be7bd39fca20eddd54249642dcbea8b582b04c28 |