Skip to content
v2.277.0

LinuxArmLambdaBuildImage Class ​

A CodeBuild image running aarch64 Lambda.

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

Example ​

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
# 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
// 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;
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;
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_11IBuildImageAMAZON_LINUX_2_CORRETTO_11IBuildImageAMAZON_LINUX_2_CORRETTO_11IBuildImageAMAZON_LINUX_2_CORRETTO_11IBuildImageAMAZON_LINUX_2_CORRETTO_11IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto11` build image.
AMAZON_LINUX_2_CORRETTO_17IBuildImageAMAZON_LINUX_2_CORRETTO_17IBuildImageAMAZON_LINUX_2_CORRETTO_17IBuildImageAMAZON_LINUX_2_CORRETTO_17IBuildImageAMAZON_LINUX_2_CORRETTO_17IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto17` build image.
AMAZON_LINUX_2_DOTNET_6IBuildImageAMAZON_LINUX_2_DOTNET_6IBuildImageAMAZON_LINUX_2_DOTNET_6IBuildImageAMAZON_LINUX_2_DOTNET_6IBuildImageAMAZON_LINUX_2_DOTNET_6IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6` build image.
AMAZON_LINUX_2_GO_1_21IBuildImageAMAZON_LINUX_2_GO_1_21IBuildImageAMAZON_LINUX_2_GO_1_21IBuildImageAMAZON_LINUX_2_GO_1_21IBuildImageAMAZON_LINUX_2_GO_1_21IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.21` build image.
AMAZON_LINUX_2_NODE_18IBuildImageAMAZON_LINUX_2_NODE_18IBuildImageAMAZON_LINUX_2_NODE_18IBuildImageAMAZON_LINUX_2_NODE_18IBuildImageAMAZON_LINUX_2_NODE_18IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs18` build image.
AMAZON_LINUX_2_PYTHON_3_11IBuildImageAMAZON_LINUX_2_PYTHON_3_11IBuildImageAMAZON_LINUX_2_PYTHON_3_11IBuildImageAMAZON_LINUX_2_PYTHON_3_11IBuildImageAMAZON_LINUX_2_PYTHON_3_11IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.11` build image.
AMAZON_LINUX_2_RUBY_3_2IBuildImageAMAZON_LINUX_2_RUBY_3_2IBuildImageAMAZON_LINUX_2_RUBY_3_2IBuildImageAMAZON_LINUX_2_RUBY_3_2IBuildImageAMAZON_LINUX_2_RUBY_3_2IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.2` build image.
AMAZON_LINUX_2023_CORRETTO_21IBuildImageAMAZON_LINUX_2023_CORRETTO_21IBuildImageAMAZON_LINUX_2023_CORRETTO_21IBuildImageAMAZON_LINUX_2023_CORRETTO_21IBuildImageAMAZON_LINUX_2023_CORRETTO_21IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21` build image.
AMAZON_LINUX_2023_DOTNET_8IBuildImageAMAZON_LINUX_2023_DOTNET_8IBuildImageAMAZON_LINUX_2023_DOTNET_8IBuildImageAMAZON_LINUX_2023_DOTNET_8IBuildImageAMAZON_LINUX_2023_DOTNET_8IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8` build image.
AMAZON_LINUX_2023_GO_1_24IBuildImageAMAZON_LINUX_2023_GO_1_24IBuildImageAMAZON_LINUX_2023_GO_1_24IBuildImageAMAZON_LINUX_2023_GO_1_24IBuildImageAMAZON_LINUX_2023_GO_1_24IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.24` build image.
AMAZON_LINUX_2023_NODE_20IBuildImageAMAZON_LINUX_2023_NODE_20IBuildImageAMAZON_LINUX_2023_NODE_20IBuildImageAMAZON_LINUX_2023_NODE_20IBuildImageAMAZON_LINUX_2023_NODE_20IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs20` build image.
AMAZON_LINUX_2023_NODE_22IBuildImageAMAZON_LINUX_2023_NODE_22IBuildImageAMAZON_LINUX_2023_NODE_22IBuildImageAMAZON_LINUX_2023_NODE_22IBuildImageAMAZON_LINUX_2023_NODE_22IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs22` build image.
AMAZON_LINUX_2023_NODE_24IBuildImageAMAZON_LINUX_2023_NODE_24IBuildImageAMAZON_LINUX_2023_NODE_24IBuildImageAMAZON_LINUX_2023_NODE_24IBuildImageAMAZON_LINUX_2023_NODE_24IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs24` build image.
AMAZON_LINUX_2023_PYTHON_3_12IBuildImageAMAZON_LINUX_2023_PYTHON_3_12IBuildImageAMAZON_LINUX_2023_PYTHON_3_12IBuildImageAMAZON_LINUX_2023_PYTHON_3_12IBuildImageAMAZON_LINUX_2023_PYTHON_3_12IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12` build image.
AMAZON_LINUX_2023_PYTHON_3_13IBuildImageAMAZON_LINUX_2023_PYTHON_3_13IBuildImageAMAZON_LINUX_2023_PYTHON_3_13IBuildImageAMAZON_LINUX_2023_PYTHON_3_13IBuildImageAMAZON_LINUX_2023_PYTHON_3_13IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.13` build image.
AMAZON_LINUX_2023_RUBY_3_4IBuildImageAMAZON_LINUX_2023_RUBY_3_4IBuildImageAMAZON_LINUX_2023_RUBY_3_4IBuildImageAMAZON_LINUX_2023_RUBY_3_4IBuildImageAMAZON_LINUX_2023_RUBY_3_4IBuildImage static #
The `aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.4` build image.
defaultComputeTypeComputeTypedefault_compute_typeComputeTypedefaultComputeTypeComputeTypeDefaultComputeTypeComputeTypeDefaultComputeTypeComputeType #
The default `ComputeType` to use with this image, if one was not specified in `BuildEnvironment#computeType` explicitly.
imageIdstringimage_idstrimageIdStringImageIdstringImageId*string #
The Docker image identifier that the build environment uses.
typestringtypestrtypeStringTypestringType*string #
The type of build environment.

Methods ​

runScriptBuildspec(entrypoint: string): BuildSpecdef run_script_buildspec(self, entrypoint: str) -> BuildSpecpublic BuildSpec runScriptBuildspec(String entrypoint)public BuildSpec RunScriptBuildspec(string entrypoint)func RunScriptBuildspec(Entrypoint *string) BuildSpec #
Make a buildspec to run the indicated script.
validate(buildEnvironment: BuildEnvironment): string[]def validate(self, build_environment: BuildEnvironment) -> typing.List[str]public List<String> validate(BuildEnvironment buildEnvironment)public string[] Validate(BuildEnvironment buildEnvironment)func Validate(BuildEnvironment BuildEnvironment) *[]*string #
Allows the image a chance to validate whether the passed configuration is correct.