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.95.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b3e692f078df3169915943a216faab64d9647b60cd86bc94f46bb52eb898a3 |
|
MD5 | 1cb56ddb96fbf503080d8a5bf7fd2904 |
|
BLAKE2b-256 | 2eb967db813a15b370c34ff964c84b484b4a55bbc3582f52af721f275805dcfb |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.95.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f25cc0302d030e82bc5b188d514540bc104062b0238d20838546ed13b1cb0c |
|
MD5 | b9619d9eb97f6a8cdf6f7664fc3c65f1 |
|
BLAKE2b-256 | 5e2e1bf99c8e4b48d3515545d60c1888578b6055c88467657df73e6848887432 |