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.110.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c7347db8c657b4ecda6ebbe487d382e85bd612c7dbebb4e545c0908526ddbd |
|
MD5 | 130482f8582d7baab64c4f1db7c88dad |
|
BLAKE2b-256 | b329bd567a91506399c0840382deb6d69f1e6cc8c7ee5ab3b10a25bc4a6b7dcf |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.110.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229e0e6605ad1f62f09a4212205dadab1c75f190eaff54fbac41a3945093418d |
|
MD5 | b57d7c4fd468bba0f65bfa620a839fc8 |
|
BLAKE2b-256 | 7d7a735d9256a9ccf474f390e16678cc6cfd46e8657ba7f38003da33f1833b69 |