1.0.6 • Published 1 year ago

cdk-ez-cleanup v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago