1.0.6 • Published 3 years ago

cdk-ez-cleanup v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cdk-ez-cleanup

Easily delete Cloudformation stacks created using the AWS CDK without having to worry about removal policies or delete protection settings. This package is not intended for production environments.

Features

  • Sets all removal policies to RemovalPolicy.DESTROY
  • Disables delete protection on RDS database instances and clusters
  • Disables termination protection on EC2 instances

Install

npm i cdk-ez-cleanup

Usage

Call the ezCleanup function on your CDK stack to apply easy cleanup settings.

ezCleanup(stack);

Alternatively, you can manually create an EzCleanupAspect and add it to a construct's aspect list.

Aspects.of(stack).add(new EzCleanupAspect());
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago