Skip to content

BDQ/time-bomb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdk-time-bomb

Implode your AWS CDK Stack after set amount of time, save money, be happy!

Usage

In your Typescipt / Javascript AWS CDK project, add the cdk-time-bomb module:

npm install cdk-time-bomb

Import the module and instantiate in your CDK Stack class. Specify a TTL Duration after which time the entire CloudFormation stack will self destroy:

import { SelfDestruct} from 'cdk-time-bomb';
const selfDestruct = new SelfDestruct(this, "selfDestructor", {
timeToLive: Duration.minutes(60)
});

About

Implode your AWS CDK Stack after set amount of time, save money, be happy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.8%
  • JavaScript 5.2%