Open cheruvian opened 3 weeks ago
Yes, but I am not sure how to fix that without breaking changes. Any ideas?
Looks like it's a positional argument not a named one, so shouldn't be a breaking change? (unless this is some breaking change quirk of JSII?)
Describe the issue
The underlying
EcrImage
constructor has the correct namingtagOrDigest
since most use the helper static method the name and documentation should be updated there is as well.https://github.com/aws/aws-cdk/blob/v2.144.0/packages/aws-cdk-lib/aws-ecs/lib/images/ecr.ts#L22
Links
https://github.com/aws/aws-cdk/blob/v2.144.0/packages/aws-cdk-lib/aws-ecs/lib/container-image.ts#L22 https://github.com/aws/aws-cdk/blob/v2.144.0/packages/aws-cdk-lib/aws-ecs/lib/images/ecr.ts#L22