UNPKG

@aws-community/ephemeral

Version:

Ephemeral Stacks! A CDK Stack and Construct that will self-destruct after a specified time period.

9 lines (8 loc) 300 B
import { Duration } from 'aws-cdk-lib'; import { Construct } from 'constructs'; export interface DestroyMeConstructProps { readonly duration: Duration; } export declare class DestroyMeConstruct extends Construct { constructor(scope: Construct, id: string, props?: DestroyMeConstructProps); }