From 7d92a9b700e0941139bcfe900ffab0b062ea4b6b Mon Sep 17 00:00:00 2001 From: Ashish Dhingra <67916761+ashishdhingra@users.noreply.github.com> Date: Wed, 26 Feb 2025 09:29:34 -0800 Subject: [PATCH] chore(batch): corrected the documentation string for updateToLatestImageVersion in ManagedComputeEnvironmentProps. --- .../aws-batch/lib/managed-compute-environment.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts b/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts index 82b81d4fdf5e4..cf3b41b26f5a6 100644 --- a/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts +++ b/packages/aws-cdk-lib/aws-batch/lib/managed-compute-environment.ts @@ -194,7 +194,12 @@ export interface ManagedComputeEnvironmentProps extends ComputeEnvironmentProps * * If you specify a specific AMI, this property will be ignored. * - * @default true + * Note: the CDK will never set this value by default, `false` will set by CFN. + * This is to avoid a deployment failure that occurs when this value is set. + * + * @see https://github.com/aws/aws-cdk/issues/27054 + * + * @default false */ readonly updateToLatestImageVersion?: boolean; }