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.100.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc083a27600e223392e20eed037a7d47e36e53414c4dc949be94ebe7cfdaab83 |
|
MD5 | ca0c1c3dd1f4437773adc1af5720f7e6 |
|
BLAKE2b-256 | 8d82d5dfaea28e0f6046bfee313e6bf3f9a3dec7a7d4b7144290c87d80804e18 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.100.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfdb6f3f015a49cf89b855cdc32d77451087d43e1463f6697adf9e39d1118b93 |
|
MD5 | 249f60d40356dd8010f3e5cfaad595b5 |
|
BLAKE2b-256 | 0113eba68528da6f6984f29996f6dbd769ddb9122937f4dc4574d637e6ec9e7d |