@Internal public static interface IBuildImage.Jsii$Default extends IBuildImage
IBuildImage.IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default ComputeType |
getDefaultComputeType()
(experimental) The default
ComputeType to use with this image, if one was not specified in BuildEnvironment#computeType explicitly. |
default 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.
|
default String |
getType()
(experimental) The type of build environment.
|
default BuildSpec |
runScriptBuildspec(String entrypoint)
(experimental) Make a buildspec to run the indicated script.
|
default List<String> |
validate(BuildEnvironment buildEnvironment)
(experimental) Allows the image a chance to validate whether the passed configuration is correct.
|
@Stability(value=Experimental) @NotNull default ComputeType getDefaultComputeType()
ComputeType to use with this image, if one was not specified in BuildEnvironment#computeType explicitly.getDefaultComputeType in interface IBuildImage@Stability(value=Experimental) @NotNull default String getImageId()
getImageId in interface IBuildImagehttps://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html@Stability(value=Experimental) @NotNull default String getType()
getType in interface IBuildImage@Stability(value=Experimental) @Nullable default ImagePullPrincipalType getImagePullPrincipalType()
Default: ImagePullPrincipalType.SERVICE_ROLE
getImagePullPrincipalType in interface IBuildImage@Stability(value=Experimental) @Nullable default IRepository getRepository()
Default: no repository
getRepository in interface IBuildImage@Stability(value=Experimental) @Nullable default ISecret getSecretsManagerCredentials()
Default: no credentials will be used
getSecretsManagerCredentials in interface IBuildImage@Stability(value=Experimental) @NotNull default BuildSpec runScriptBuildspec(@NotNull String entrypoint)
runScriptBuildspec in interface IBuildImageentrypoint - This parameter is required.@Stability(value=Experimental) @NotNull default List<String> validate(@NotNull BuildEnvironment buildEnvironment)
validate in interface IBuildImagebuildEnvironment - the current build environment. This parameter is required.Copyright © 2021. All rights reserved.