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.103.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61898844c4935c3ad508d87298cd43b38bd3877b101bf83c58cb062d7e148809 |
|
MD5 | ad89222706ee3da6640e213959a7fe89 |
|
BLAKE2b-256 | 5dc62f35b0ddc72bcc87c8ecfed12469f8dbe21fa19f2f5fb9cba05ce4024b03 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.103.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fff32723db6db56220bf44a0dfc9d7293f06078991641dfe65033d056e2ae5e |
|
MD5 | 00e990dec79282cb37db6e64ad94c112 |
|
BLAKE2b-256 | 254447865e4ef347f79b700e8f856b8bda69c8bc8ce0907fc7c580b09ee4723c |