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.101.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6b5ab35110d5f826228544b9e63605b509ae5f8df6a4cdb3f76c95dab985c9 |
|
MD5 | 698741b0cd2932bb1903d0363b74c273 |
|
BLAKE2b-256 | 5e073c4fd823044467b06a06ddcb4de7093a7596f6f9c138bdd6c6c4ce88d5e2 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.101.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 661e79d6d015fdeab59cb7b3e8853f944d79907cb6c91f685a6f27e4125e322e |
|
MD5 | 3ef0a10432da453a717a055c7c32c503 |
|
BLAKE2b-256 | 489505663f8b48ea6209eafc8f348427c5d041ad0db465218126ce9650a012f5 |