A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.LinuxArmBuildImage.html below:

class LinuxArmBuildImage · AWS CDK

class LinuxArmBuildImage

Implements IBuildImage

A CodeBuild image running aarch64 Linux.

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

You can also specify a custom image using the static method:

See also: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html

Example


import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const linuxArmBuildImage = codebuild.LinuxArmBuildImage.fromCodeBuildImageId('id');
Properties Name Type Description defaultComputeType ComputeType 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. imagePullPrincipalType? ImagePullPrincipalType The type of principal that CodeBuild will use to pull this build Docker image. repository? IRepository An optional ECR repository that the image is hosted in. secretsManagerCredentials? ISecret The secretsManagerCredentials for access to a private registry. static AMAZON_LINUX_2023_STANDARD_2_0 IBuildImage Image "aws/codebuild/amazonlinux-aarch64-standard:2.0" based on Amazon Linux 2023. static AMAZON_LINUX_2023_STANDARD_3_0 IBuildImage Image "aws/codebuild/amazonlinux-aarch64-standard:3.0" based on Amazon Linux 2023. static AMAZON_LINUX_2_STANDARD_1_0⚠️ IBuildImage Image "aws/codebuild/amazonlinux2-aarch64-standard:1.0". static AMAZON_LINUX_2_STANDARD_2_0 IBuildImage Image "aws/codebuild/amazonlinux2-aarch64-standard:2.0" based on Amazon Linux 2. static AMAZON_LINUX_2_STANDARD_3_0 IBuildImage Image "aws/codebuild/amazonlinux2-aarch64-standard:3.0" based on Amazon Linux 2023. defaultComputeType

Type: ComputeType

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.

imagePullPrincipalType?

Type: ImagePullPrincipalType (optional)

The type of principal that CodeBuild will use to pull this build Docker image.

repository?

Type: IRepository (optional)

An optional ECR repository that the image is hosted in.

secretsManagerCredentials?

Type: ISecret (optional)

The secretsManagerCredentials for access to a private registry.

static AMAZON_LINUX_2023_STANDARD_2_0

Type: IBuildImage

Image "aws/codebuild/amazonlinux-aarch64-standard:2.0" based on Amazon Linux 2023.

static AMAZON_LINUX_2023_STANDARD_3_0

Type: IBuildImage

Image "aws/codebuild/amazonlinux-aarch64-standard:3.0" based on Amazon Linux 2023.

static AMAZON_LINUX_2_STANDARD_1_0⚠️

⚠️ Deprecated: Use {@link LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0 } instead.

Type: IBuildImage

Image "aws/codebuild/amazonlinux2-aarch64-standard:1.0".

static AMAZON_LINUX_2_STANDARD_2_0

Type: IBuildImage

Image "aws/codebuild/amazonlinux2-aarch64-standard:2.0" based on Amazon Linux 2.

static AMAZON_LINUX_2_STANDARD_3_0

Type: IBuildImage

Image "aws/codebuild/amazonlinux2-aarch64-standard:3.0" based on Amazon Linux 2023.

Methods Name Description runScriptBuildspec(entrypoint) Make a buildspec to run the indicated script. validate(buildEnvironment) Validates by checking the BuildEnvironments' images are not Lambda ComputeTypes. static fromCodeBuildImageId(id) Uses a Docker image provided by CodeBuild. static fromDockerRegistry(name, options?) static fromEcrRepository(repository, tagOrDigest?) Returns an ARM image running Linux from an ECR repository. runScriptBuildspec(entrypoint)
public runScriptBuildspec(entrypoint: string): BuildSpec

Parameters

Returns

Make a buildspec to run the indicated script.

validate(buildEnvironment)
public validate(buildEnvironment: BuildEnvironment): string[]

Parameters

Returns

Validates by checking the BuildEnvironments' images are not Lambda ComputeTypes.

static fromCodeBuildImageId(id)
public static fromCodeBuildImageId(id: string): IBuildImage

Parameters

Returns

Uses a Docker image provided by CodeBuild.

See also: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html Example

'aws/codebuild/amazonlinux2-aarch64-standard:1.0'
static fromDockerRegistry(name, options?)
public static fromDockerRegistry(name: string, options?: DockerImageOptions): IBuildImage

Parameters

Returns

static fromEcrRepository(repository, tagOrDigest?)
public static fromEcrRepository(repository: IRepository, tagOrDigest?: string): IBuildImage

Parameters

Returns

Returns an ARM image running Linux from an ECR repository.

NOTE: if the repository is external (i.e. imported), then we won't be able to add a resource policy statement for it so CodeBuild can pull the image.

See also: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4