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.111.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1347304ed810d6fdd73765081ff688233da8760e93a49b92f0dfb5ce8be9292c |
|
MD5 | d249ee7c4b32d87285d1647c95c92f13 |
|
BLAKE2b-256 | ea47154c6d9fa3a1f35c7bbee04a1fed9a6dc0aa1dac25aab192f2feccb1bfae |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.111.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9a46d952da93eb17409eaaf3ac3251bf7353471ed69a4b43ccaecabf504898 |
|
MD5 | b67284054ee1cb1ed72508d578997d58 |
|
BLAKE2b-256 | e2457d02612c81222d28ffe22fbf8e4936d592aa48b93cda04864abc2036082f |