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.104.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 954ae756c2dab52c933579cc6bd6906a51761a5ef0ad88644c0fc17d48eca4fe |
|
MD5 | 6d4ceb096b169f2ac4f76b527fb8ab81 |
|
BLAKE2b-256 | 684a0a3f2232cceeae324b0c289069e7c108872677e5a04433d411bdc948c3a1 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.104.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12b499718c298a49a4084204778fde50a5a1febb08226e86e4809596477fe32 |
|
MD5 | 98be302bccec6f0fccf355229021d207 |
|
BLAKE2b-256 | 2ed453f39d0c332415b5165fc12365c5aa0dd2841f88a3a07f1c540c0932a5a3 |