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.126.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 803a6466e0d0ab14abbadb87224532fd9c50a03a25641381794a3881fda48ffb |
|
MD5 | dc29e1e40399a68755d8859857a22a38 |
|
BLAKE2b-256 | 44682ffbde20b1a255f2857660946410072e9990c3271a63d53d0f25afe40221 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.126.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb62f63f66c0eb89f0b301fd4475263dc620356b17816c3d0618cb67a993f75 |
|
MD5 | 768a7525a6fc1c71bc2685fe3974aeac |
|
BLAKE2b-256 | c02aa921972c9561c95e9c0f3db57e9cc86401c5b3f9406517d638ae9039810a |