Skip to content

Commit 1f8bc90

Browse files
authored
chore(codebuild): aarch64 standard 2.0 and 3.0 build images are not deprecated (#29580)
### Issue # (if applicable) Closes #<issue number here>. ### Reason for this change AWS CodeBuild Docker images `AMAZON_LINUX_2_ARM_3` aka `AMAZON_LINUX_2_STANDARD_3_0` aka `aws/codebuild/amazonlinux2-aarch64-standard:3.0` and `AMAZON_LINUX_2_ARM_2` aka `AMAZON_LINUX_2_STANDARD_2_0` aka `aws/codebuild/amazonlinux2-aarch64-standard:2.0`are not deprecated but the currently actively maintained ones according to https://github.com/aws/aws-codebuild-docker-images and https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html ### Description of changes I removed the JSDoc Deprecated flag for the currently active images and added their image names as a comment so that one can find the images also using those references. ### Description of how you validated changes ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 21804fd commit 1f8bc90

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/aws-cdk-lib/aws-codebuild/lib/project.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -1790,12 +1790,9 @@ export class LinuxBuildImage implements IBuildImage {
17901790

17911791
/** @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead. */
17921792
public static readonly AMAZON_LINUX_2_ARM = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_1_0;
1793-
/**
1794-
* Image "aws/codebuild/amazonlinux2-aarch64-standard:2.0".
1795-
* @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead.
1796-
* */
1793+
/** The `aws/codebuild/amazonlinux2-aarch64-standard:2.0` build image. */
17971794
public static readonly AMAZON_LINUX_2_ARM_2 = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_2_0;
1798-
/** @deprecated Use LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 instead. */
1795+
/** The `aws/codebuild/amazonlinux2-aarch64-standard:3.0` build image. */
17991796
public static readonly AMAZON_LINUX_2_ARM_3 = LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0;
18001797

18011798
/** @deprecated Use `STANDARD_7_0` and specify runtime in buildspec runtime-versions section */

0 commit comments

Comments
 (0)