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.120.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef74fd7a0a41c8d8747daaa7ca914673974b61bb90b36bbf41ee22653615d5b |
|
MD5 | 9bb2fd346581a6b389745654ac5f6249 |
|
BLAKE2b-256 | 2424181f48f4032db793556d3d75d95fceb101e435ce051e336d5ba8e9fab760 |
Close
Hashes for aws_cdk.aws_cloudwatch_actions-1.120.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f8ce2330ae13c04d8e87a56cb25e2525317338f12cf4543f59901e2fa878dbc |
|
MD5 | 6be0d8136737634ed68fe43f725f5f3d |
|
BLAKE2b-256 | 516fc97b07b41e0cff4c6f596d9d12f6c3c949d644b8a9fccd3829f5ae368f48 |