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.107.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5827deed1712c82f639ab30494b532c0a25767ce3c4882f93074b8e69dd15ac1 |
|
MD5 | cd4bdad6bd71ea00e83e4cac9af293c0 |
|
BLAKE2b-256 | 23336edbc40095e3426fd1b14155b47a1b6661661ec62efa30d2c440680b3c44 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.107.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fb39c728ef5ac723b5845e020214fd1ad8fd62cc3be2e84de04782b2d05ab0 |
|
MD5 | c269ac386e44ad756fa750492af5d751 |
|
BLAKE2b-256 | f4f3afef412a1b811ddbfd28e9715507b982551e28d7c3a90742e3146e05a311 |