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: cw.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.141.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade1834455f4201fef99040d3efd044bcbc218dd9789bac32ac6eedfc4fb0c71 |
|
MD5 | ec66d3d85ac1cc269febb7bcc42fa884 |
|
BLAKE2b-256 | 0bfc6a75027ef2cdc22cf47afc3d259a8325bbe3acaa7855f74ed8bfa23a3a11 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.141.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 044d6df2900b6158e8fcf3d38d8993e1db0246410ecf044e1805430bfee19f4b |
|
MD5 | 7721c3e35d939e9bd5526a3886d4e0e3 |
|
BLAKE2b-256 | cc13bfd42c3837fbd0b24dd935268365b167f8b0caa937ae23201d2c52cc21e3 |