class LinuxArmLambdaBuildImage
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.LinuxArmLambdaBuildImage |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#LinuxArmLambdaBuildImage |
Java | software.amazon.awscdk.services.codebuild.LinuxArmLambdaBuildImage |
Python | aws_cdk.aws_codebuild.LinuxArmLambdaBuildImage |
TypeScript (source) | aws-cdk-lib » aws_codebuild » LinuxArmLambdaBuildImage |
Implements
IBuild
A CodeBuild image running aarch64 Lambda.
This class has a bunch of public constants that represent the CodeBuild aarch64 Lambda images.
Example
// 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;
Properties
Name | Type | Description |
---|---|---|
default | Compute | The default ComputeType to use with this image, if one was not specified in BuildEnvironment#computeType explicitly. |
image | string | The Docker image identifier that the build environment uses. |
type | string | The type of build environment. |
static AMAZON_LINUX_2023_CORRETTO_21 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21 build image. |
static AMAZON_LINUX_2023_DOTNET_8 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8 build image. |
static AMAZON_LINUX_2023_NODE_20 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs20 build image. |
static AMAZON_LINUX_2023_PYTHON_3_12 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12 build image. |
static AMAZON_LINUX_2_CORRETTO_11 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto11 build image. |
static AMAZON_LINUX_2_CORRETTO_17 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto17 build image. |
static AMAZON_LINUX_2_DOTNET_6 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6 build image. |
static AMAZON_LINUX_2_GO_1_21 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.21 build image. |
static AMAZON_LINUX_2_NODE_18 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs18 build image. |
static AMAZON_LINUX_2_PYTHON_3_11 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.11 build image. |
static AMAZON_LINUX_2_RUBY_3_2 | IBuild | The aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.2 build image. |
defaultComputeType
Type:
Compute
The default ComputeType
to use with this image, if one was not specified in BuildEnvironment#computeType
explicitly.
imageId
Type:
string
The Docker image identifier that the build environment uses.
type
Type:
string
The type of build environment.
static AMAZON_LINUX_2023_CORRETTO_21
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21
build image.
static AMAZON_LINUX_2023_DOTNET_8
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8
build image.
static AMAZON_LINUX_2023_NODE_20
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs20
build image.
static AMAZON_LINUX_2023_PYTHON_3_12
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12
build image.
static AMAZON_LINUX_2_CORRETTO_11
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto11
build image.
static AMAZON_LINUX_2_CORRETTO_17
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto17
build image.
static AMAZON_LINUX_2_DOTNET_6
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet6
build image.
static AMAZON_LINUX_2_GO_1_21
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:go1.21
build image.
static AMAZON_LINUX_2_NODE_18
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:nodejs18
build image.
static AMAZON_LINUX_2_PYTHON_3_11
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.11
build image.
static AMAZON_LINUX_2_RUBY_3_2
Type:
IBuild
The aws/codebuild/amazonlinux-aarch64-lambda-standard:ruby3.2
build image.
Methods
Name | Description |
---|---|
run | Make a buildspec to run the indicated script. |
validate(buildEnvironment) | Allows the image a chance to validate whether the passed configuration is correct. |
runScriptBuildspec(entrypoint)
public runScriptBuildspec(entrypoint: string): BuildSpec
Parameters
- entrypoint
string
Returns
Make a buildspec to run the indicated script.
validate(buildEnvironment)
public validate(buildEnvironment: BuildEnvironment): string[]
Parameters
- buildEnvironment
Build
Environment
Returns
string[]
Allows the image a chance to validate whether the passed configuration is correct.