From 93771a66c92f15e79a8c4e5609d3119f122fd66b Mon Sep 17 00:00:00 2001 From: Anselmo Alvarado Date: Sun, 16 Jun 2024 13:33:54 -0600 Subject: [PATCH] feat(codebuild): add new CodeBuild lambda net8 compute images --- .../aws-codebuild/lib/linux-arm-lambda-build-image.ts | 2 ++ .../aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts b/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts index 42fe222885528..d8b51592588f2 100644 --- a/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts +++ b/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts @@ -39,6 +39,8 @@ export class LinuxArmLambdaBuildImage implements IBuildImage { public static readonly AMAZON_LINUX_2_GO_1_21 = LinuxArmLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.21'); /** The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6` build image. */ public static readonly AMAZON_LINUX_2_DOTNET_6 = LinuxArmLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6'); + /** The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8` build image. */ + public static readonly AMAZON_LINUX_2023_DOTNET_8 = LinuxArmLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8'); /** * Uses a Docker image provided by CodeBuild. diff --git a/packages/aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts b/packages/aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts index fa66b17940d98..c152a135d3e5c 100644 --- a/packages/aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts +++ b/packages/aws-cdk-lib/aws-codebuild/lib/linux-lambda-build-image.ts @@ -39,6 +39,8 @@ export class LinuxLambdaBuildImage implements IBuildImage { public static readonly AMAZON_LINUX_2_GO_1_21 = LinuxLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-x86_64-lambda-standard:go1.21'); /** The `aws/codebuild/amazonlinux-x86_64-lambda-standard:dotnet6` build image. */ public static readonly AMAZON_LINUX_2_DOTNET_6 = LinuxLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-x86_64-lambda-standard:dotnet6'); + /** The `aws/codebuild/amazonlinux-x86_64-lambda-standard:dotnet8` build image. */ + public static readonly AMAZON_LINUX_2023_DOTNET_8 = LinuxLambdaBuildImage.fromCodeBuildImageId('aws/codebuild/amazonlinux-x86_64-lambda-standard:dotnet8'); /** * Uses a Docker image provided by CodeBuild.