UNPKG

@aws-community/ephemeral

Version:

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

10 lines (9 loc) 372 B
import { StackProps, Duration, Stack } from 'aws-cdk-lib'; import { Construct } from 'constructs'; export interface DestroyMeStackProps extends StackProps { readonly destroyMeDuration?: Duration; readonly destroyMeEnable?: boolean; } export declare class DestroyMeStack extends Stack { constructor(scope: Construct, id: string, props?: DestroyMeStackProps); }