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.96.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b88325eacdf2c6107b8e8d9ffe24471af1ba654c6b92e3f4781ed675e74a3c4 |
|
MD5 | 467014ecc23d0f51a7ef508131267929 |
|
BLAKE2b-256 | 4f8c379512d293b6732e2c06fbd7db0b130e64722f8dc1e445a1ac8530ab5122 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.96.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b93f503096a676d6c24069ebf0d8ab638a18e619061f39eb11f3a94c8424f2a |
|
MD5 | 3a1e36b752a8d3a69533a5c2669ab99e |
|
BLAKE2b-256 | 5b6972a7c201158278ce3057a469b1c00d32f3ff086c8ead49f54507cf42aa2f |