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) 309 B
import { Construct } from 'constructs'; import { Duration } from 'aws-cdk-lib'; export interface SelfDestructConstructProps { readonly duration: Duration; } export declare class SelfDestructConstruct extends Construct { constructor(scope: Construct, id: string, props?: SelfDestructConstructProps); }