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.109.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db11eac020433b1bc8014c207472a8d723416426b392e4b5297ceaeb55aa24c |
|
MD5 | 794bb341d494ded92edbf1fcd8eb1cdd |
|
BLAKE2b-256 | b6df77110cdcfe31757d96cd01357691dc1eab56f4110678de00b9a931eea0e1 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.109.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63271ab52cc5ef60c70ed5c580f1798360581a4e0cb9d0922af0dd57bfd18427 |
|
MD5 | e5dec723053c1e6d8f46fdec23b39916 |
|
BLAKE2b-256 | 1f6d05512710831aecf06099580611890e088cfe4df59d8bd94596adb9a71ce2 |