@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:55.958Z") @Stability(value=Experimental) public interface IBuildImage extends software.amazon.jsii.JsiiSerializable
Use the concrete subclasses, either: {@link LinuxBuildImage} or {@link WindowsBuildImage}.
Modifier and Type | Interface and Description |
---|---|
static interface |
IBuildImage.Jsii$Default
Internal default implementation for
IBuildImage . |
static class |
IBuildImage.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
ComputeType |
getDefaultComputeType()
(experimental) The default
ComputeType to use with this image, if one was not specified in BuildEnvironment#computeType explicitly. |
String |
getImageId()
(experimental) The Docker image identifier that the build environment uses.
|
default ImagePullPrincipalType |
getImagePullPrincipalType()
(experimental) The type of principal that CodeBuild will use to pull this build Docker image.
|
default IRepository |
getRepository()
(experimental) An optional ECR repository that the image is hosted in.
|
default ISecret |
getSecretsManagerCredentials()
(experimental) The secretsManagerCredentials for access to a private registry.
|
String |
getType()
(experimental) The type of build environment.
|
BuildSpec |
runScriptBuildspec(String entrypoint)
(experimental) Make a buildspec to run the indicated script.
|
List<String> |
validate(BuildEnvironment buildEnvironment)
(experimental) Allows the image a chance to validate whether the passed configuration is correct.
|
@Stability(value=Experimental) @NotNull ComputeType getDefaultComputeType()
ComputeType
to use with this image, if one was not specified in BuildEnvironment#computeType
explicitly.@Stability(value=Experimental) @NotNull String getImageId()
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
@Stability(value=Experimental) @NotNull String getType()
@Stability(value=Experimental) @Nullable default ImagePullPrincipalType getImagePullPrincipalType()
Default: ImagePullPrincipalType.SERVICE_ROLE
@Stability(value=Experimental) @Nullable default IRepository getRepository()
Default: no repository
@Stability(value=Experimental) @Nullable default ISecret getSecretsManagerCredentials()
Default: no credentials will be used
@Stability(value=Experimental) @NotNull BuildSpec runScriptBuildspec(@NotNull String entrypoint)
entrypoint
- This parameter is required.@Stability(value=Experimental) @NotNull List<String> validate(@NotNull BuildEnvironment buildEnvironment)
buildEnvironment
- the current build environment. This parameter is required.Copyright © 2021. All rights reserved.