# LinuxArmLambdaBuildImage

A CodeBuild image running aarch64 Lambda.

This class has a bunch of public constants that represent the CodeBuild aarch64 Lambda images.

Implements: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html)

- Source: [`aws-codebuild/lib/linux-arm-lambda-build-image.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-codebuild/lib/linux-arm-lambda-build-image.ts#L22)
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const linuxArmLambdaBuildImage = codebuild.LinuxArmLambdaBuildImage.AMAZON_LINUX_2_CORRETTO_11;
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild

linux_arm_lambda_build_image = codebuild.LinuxArmLambdaBuildImage.AMAZON_LINUX_2_CORRETTO_11
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;

IBuildImage linuxArmLambdaBuildImage = LinuxArmLambdaBuildImage.AMAZON_LINUX_2_CORRETTO_11;
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;

var linuxArmLambdaBuildImage = LinuxArmLambdaBuildImage.AMAZON_LINUX_2_CORRETTO_11;
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

linuxArmLambdaBuildImage := awscdk.Aws_codebuild.LinuxArmLambdaBuildImage_AMAZON_LINUX_2_CORRETTO_11()
```

## Properties

- `AMAZON_LINUX_2_CORRETTO_11`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto11` build image.

- `AMAZON_LINUX_2_CORRETTO_17`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto17` build image.

- `AMAZON_LINUX_2_DOTNET_6`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6` build image.

- `AMAZON_LINUX_2_GO_1_21`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.21` build image.

- `AMAZON_LINUX_2_NODE_18`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs18` build image.

- `AMAZON_LINUX_2_PYTHON_3_11`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.11` build image.

- `AMAZON_LINUX_2_RUBY_3_2`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.2` build image.

- `AMAZON_LINUX_2023_CORRETTO_21`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21` build image.

- `AMAZON_LINUX_2023_DOTNET_8`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8` build image.

- `AMAZON_LINUX_2023_GO_1_24`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.24` build image.

- `AMAZON_LINUX_2023_NODE_20`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs20` build image.

- `AMAZON_LINUX_2023_NODE_22`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs22` build image.

- `AMAZON_LINUX_2023_NODE_24`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs24` build image.

- `AMAZON_LINUX_2023_PYTHON_3_12`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12` build image.

- `AMAZON_LINUX_2023_PYTHON_3_13`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.13` build image.

- `AMAZON_LINUX_2023_RUBY_3_4`: [IBuildImage](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.IBuildImage.html) (static) — The `aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.4` build image.

- `defaultComputeType`: [ComputeType](/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.ComputeType.html) — The default `ComputeType` to use with this image, if one was not specified in `BuildEnvironment#computeType` explicitly.

- `imageId`: string — The Docker image identifier that the build environment uses.

- `type`: string — The type of build environment.

## Methods

- `runScriptBuildspec(entrypoint: string): BuildSpec` — Make a buildspec to run the indicated script.

- `validate(buildEnvironment: BuildEnvironment): string[]` — Allows the image a chance to validate whether the passed configuration is correct.
