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.121.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2b2fe7a9527c4e703157ec25d32b4b2c85a6e898a4e213012fea57457a4c36 |
|
MD5 | 05fb9a98a7f609963b4a9d53feb4b38d |
|
BLAKE2b-256 | d28b0ce8c75bb7dcf92be3b6994703dde0fe8e56a6ee1db46019a71b8a80843b |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.121.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f2da9ac3f3cf534d7fb8298698edd65fbaa50699fae3558b51feddd202ff28 |
|
MD5 | a0320ea1524f94de9c241463ada5807e |
|
BLAKE2b-256 | 62312b400acc816cb014d704e89abc3c9bb90cb755249daf49afc876669de869 |