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 is of type 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.128.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5aae60364994331da5e0a8a287d3cb8a82ae7dae5b09d1e3ec0f575a216cb0 |
|
MD5 | 6ab12e0e861491d9546d81d054fde41c |
|
BLAKE2b-256 | 41e7bf98675aeb833d16e69d94bd4b36396e251c39f07da76f49a9d96bb44b79 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.128.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c46947602cc47d641713ac615a6aefa583c8569c9231383601d6985fc9366f |
|
MD5 | a80b827935ee6186d257fc6825fc7fc0 |
|
BLAKE2b-256 | 7a1cd619f99ded579a7fcb32fa6d6d07a8f72110b872c92119c9f2708d862a31 |