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.118.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1675cc0aef618fd1aa76b393884d1f9889ad3894c5391195094d40524a7fd761 |
|
MD5 | ce0a2e102d1612f4aa4b557f39db9cda |
|
BLAKE2b-256 | 7e4d0338089e0156811e39fd05b2e660fd569590d6fdd572d3b9bd2abfee9819 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.118.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf7167da379fc3034d8b5bfa02cc804b0539da32802917f4746ba2b17fe468a |
|
MD5 | 61012a7481d43603dc8675df73d480d8 |
|
BLAKE2b-256 | ba37775e0a48b607e9efa574c3be3da697944162e6426f4326fbfc75dd03862e |