aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
14 lines (13 loc) • 532 B
TypeScript
import type { IConstruct } from 'constructs';
import { Mixin } from '../../../core/lib/mixins';
import { CfnRepository } from '../ecr.generated';
/**
* ECR-specific Mixin to force-delete all images from a repository
* when the repository is removed from the stack or when the stack is deleted.
*
* Sets the `emptyOnDelete` property on the repository.
*/
export declare class RepositoryAutoDeleteImages extends Mixin {
supports(construct: IConstruct): construct is CfnRepository;
applyTo(construct: IConstruct): void;
}