Implemented by LinuxArmBuildImage
, LinuxArmLambdaBuildImage
, LinuxBuildImage
, LinuxGpuBuildImage
, LinuxLambdaBuildImage
, MacBuildImage
, WindowsBuildImage
Obtainable from LinuxArmBuildImage
.fromCodeBuildImageId()
, LinuxArmBuildImage
.fromDockerRegistry()
, LinuxArmBuildImage
.fromEcrRepository()
, LinuxBuildImage
.fromAsset()
, LinuxBuildImage
.fromCodeBuildImageId()
, LinuxBuildImage
.fromDockerRegistry()
, LinuxBuildImage
.fromEcrRepository()
, LinuxGpuBuildImage
.awsDeepLearningContainersImage()
, LinuxGpuBuildImage
.fromEcrRepository()
, MacBuildImage
.fromAsset()
, MacBuildImage
.fromDockerRegistry()
, MacBuildImage
.fromEcrRepository()
, WindowsBuildImage
.fromAsset()
, WindowsBuildImage
.fromDockerRegistry()
, WindowsBuildImage
.fromEcrRepository()
Represents a Docker image used for the CodeBuild Project builds.
Use the concrete subclasses, either: LinuxBuildImage
or WindowsBuildImage
.
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. defaultComputeType
Type: ComputeType
The default ComputeType
to use with this image, if one was not specified in BuildEnvironment#computeType
explicitly.
Type: string
The Docker image identifier that the build environment uses.
See also: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
typeType: string
The type of build environment.
imagePullPrincipalType?Type: ImagePullPrincipalType
(optional, default: ImagePullPrincipalType.SERVICE_ROLE)
The type of principal that CodeBuild will use to pull this build Docker image.
repository?Type: IRepository
(optional, default: no repository)
An optional ECR repository that the image is hosted in.
secretsManagerCredentials?Type: ISecret
(optional, default: no credentials will be used)
The secretsManagerCredentials for access to a private registry.
Methods Name Description runScriptBuildspec(entrypoint) 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
string
Returns
Make a buildspec to run the indicated script.
validate(buildEnvironment)public validate(buildEnvironment: BuildEnvironment): string[]
Parameters
BuildEnvironment
â the current build environment.Returns
string[]
Allows the image a chance to validate whether the passed configuration is correct.
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