### Describe the issue AWS CloudFormation documentation states that [`AWS::ECR::Repository` resources have `EmptyOnDelete` property](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#aws-resource-ecr-repository-properties), but it's not possible to set such property in CDK using [`Repository` construct](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecr.Repository.html). Is expected `EmptyOnDelete` property not to be set in CDK? ### Links + https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecr.Repository.html + https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#aws-resource-ecr-repository-properties
Describe the issue
AWS CloudFormation documentation states that
AWS::ECR::Repositoryresources haveEmptyOnDeleteproperty, but it's not possible to set such property in CDK usingRepositoryconstruct.Is expected
EmptyOnDeleteproperty not to be set in CDK?Links