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.106.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48b32c9d87ad6c671dad2a67818d263a1a8f62d0ae6931ec7ad382f77f3185bf |
|
MD5 | 6aa78d24f9fba3bb186c98c80a9fe1a6 |
|
BLAKE2b-256 | 0a42560212ce9a37c9b9ddd86211c7a5a2c65ccb22aab2e0285c980b51b70d9e |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.106.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea4a779b669b0833077de3cf3e8c0a96f2044449e437932797252cd8e493f29 |
|
MD5 | 13a1a30bd4e50199cee496c61d34dc09 |
|
BLAKE2b-256 | 97636d0388283df6556c08eae88db6e7c7c286ad61c7a4614526d505c2087747 |