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.92.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a56838848be3e37f31f8033944a5bcf91b93fc3e91e3a1ea8d8027a43329685 |
|
MD5 | 029f5114f38b35aa81cd9e064412a5bd |
|
BLAKE2b-256 | e9e4a0631204932ff79cd63a79067252caa9ad0c76d472513fef5e4ceaa4f364 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.92.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a5616064ecdb1aad8b100c320587004a5158f6a6ee3d5ef3fd4702ff744081 |
|
MD5 | 10270586d8b4c1132a699af0670ceba1 |
|
BLAKE2b-256 | 36b7619798207def00c479d4f6c2c0c56837a7fded3ff09655ae06b5a82fe29f |