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.105.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b97ff0ee2a1783d2661fed034c713a6733d774a2767b8863a6e30fc08e816b81 |
|
MD5 | 3224f71e1372523d7cc446ae7d2c180a |
|
BLAKE2b-256 | afe773b3aee6381a038da9f13a6d4105f6057f94a99a5b2cef0db2b96830afc4 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.105.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d328da00bc06a750c5f4b884fc4b486938fe83753bc8f5ea3abde2d4580c0b96 |
|
MD5 | 2e8673fba19fa7d5608e520b3b320d22 |
|
BLAKE2b-256 | 67b2bf34bb01059a7ead7a635a4c71958fe832238535cf1d4757e38180ff38b5 |