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 is of type 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.130.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0b3cbf238d25cb7232834ce734c06e944e941578cc6f178e96c5f1d8d13761 |
|
MD5 | 2defe4baf762d9f92ea50b55702ce3da |
|
BLAKE2b-256 | d2349c67a12b5b1783a4b899b9ed5c5aadef25b3a801c148e7df2a47830e287f |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.130.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0065ab88c54572918ae9ee08f24b026243263ff597a2b32ead89c923e712ea11 |
|
MD5 | f429c54ff7307717e9a2c3e738f2cccb |
|
BLAKE2b-256 | 6200d101eefe6260dfeecc4ebe6602737cf4e20a524b8cfe768e9343e502ea2b |