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.110.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f18749e55cc50e68af8a27e28d5bf9aa97d0c1761394b7e291f48578aaadd4d |
|
MD5 | 73e85629ba32c2a9c39b24ac4611d6d6 |
|
BLAKE2b-256 | c5a72932b49754f86243e5a9636fa4358d23cdb284b3e63afe667f90b44e38df |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.110.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c384d1010e5fbdb5d5a5b8943489a9d3e58c4f955138dd9dc97879508c3bd6c4 |
|
MD5 | b37dc69fb077b302b5c2f2fdd04552b8 |
|
BLAKE2b-256 | a57cc7d46292bd1608f64f9b9618284e0bc764026997ed398d7ce5b09820aa54 |