14 lines
532 B
TypeScript
14 lines
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;
|
|
}
|