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.112.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04d499df1ae3355c3745db4255a28780853148ba881fff1388298b22deced5d |
|
MD5 | 71bfd5a7777490eeca0700d4ea2876d5 |
|
BLAKE2b-256 | 8b2bc67219a135a3dac19aea5e33d4cd4fbe77dd14c6308f88d440debc306277 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.112.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf485a99f2e52b6c4cdd6c373a7c7f681ff7be5e3df82239e9233b0057329e6 |
|
MD5 | 9fbd925d552ccfe0b2452077d5326626 |
|
BLAKE2b-256 | 48511faa563edd15f521c5474457b18f9fda30110dc5dc99c7bf0fe3f0256bfc |