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.95.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccd2f68305cacc03f6321b682415a8e91f1f5ee85464da7f82f020398e75b1e |
|
MD5 | d3dff0aa915eb73d6b01420f6ed62892 |
|
BLAKE2b-256 | db87a24f9aa73b96ff79a3526da54868ac691f7d5a62bc4261e0c599db8a2d64 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.95.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65d58118d15f86b489802965f47b3492b70a7d38e2259ff015082146d8c1befc |
|
MD5 | b4f9e2ccc0d1701b6be66b1d86aef9f1 |
|
BLAKE2b-256 | 5046499fa30023d96c4f7a870962265c0e297b6c9316353e938398f10f3daadb |