@aws-community/ephemeral
Version:
Ephemeral Stacks! A CDK Stack and Construct that will self-destruct after a specified time period.
10 lines (9 loc) • 393 B
TypeScript
import { Duration, Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
export interface SelfDestructStackProps extends StackProps {
readonly selfDestructionDuration?: Duration;
readonly selfDestructionEnable?: boolean;
}
export declare class SelfDestructStack extends Stack {
constructor(scope: Construct, id: string, props?: SelfDestructStackProps);
}