Lifecycle Hook for the CDK AWS AutoScaling Library

---

End-of-Support

AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2.

For more information on how to migrate, see the Migrating to AWS CDK v2 guide.


This library contains integration classes for AutoScaling lifecycle hooks. Instances of these classes should be passed to the autoScalingGroup.addLifecycleHook() method.

Lifecycle hooks can be activated in one of the following ways:

  • Invoke a Lambda function

  • Publish to an SNS topic

  • Send to an SQS queue

For more information on using this library, see the README of the @aws-cdk/aws-autoscaling library.

For more information about lifecycle hooks, see Amazon EC2 AutoScaling Lifecycle hooks in the Amazon EC2 User Guide.