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.117.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f058b51ef5c6aff77ccc303be565ef50f8fae1b20a5b41821a9d1f2818be33c |
|
MD5 | 18345eaa3050db9a67c63deaf6efec8a |
|
BLAKE2b-256 | a8750fc1cb16242235d7ef62500e867cb18ea19d2307d16a93f22c2dadce2b3a |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.117.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f9efedfafc602c6c350e97aaf0885abf673050fd46eac12835a87969863106 |
|
MD5 | 906358b9847b99275fc4cc9a804e0781 |
|
BLAKE2b-256 | 173d7f6decc86f43b8df5765002c5f0275a9b9748833557ec11e1d4129f2969c |