@Internal public static final class IBuildImage.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IBuildImage.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationMode
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
ComputeType |
getDefaultComputeType()
The default
ComputeType to use with this image, if one was not specified in BuildEnvironment#computeType explicitly. |
String |
getImageId()
The Docker image identifier that the build environment uses.
|
ImagePullPrincipalType |
getImagePullPrincipalType()
The type of principal that CodeBuild will use to pull this build Docker image.
|
IRepository |
getRepository()
An optional ECR repository that the image is hosted in.
|
ISecret |
getSecretsManagerCredentials()
The secretsManagerCredentials for access to a private registry.
|
String |
getType()
The type of build environment.
|
BuildSpec |
runScriptBuildspec(String entrypoint)
Make a buildspec to run the indicated script.
|
List<String> |
validate(BuildEnvironment buildEnvironment)
Allows the image a chance to validate whether the passed configuration is correct.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) @NotNull public final ComputeType getDefaultComputeType()
ComputeType
to use with this image, if one was not specified in BuildEnvironment#computeType
explicitly.getDefaultComputeType
in interface IBuildImage
getDefaultComputeType
in interface IBuildImage.Jsii$Default
@Stability(value=Stable) @NotNull public final String getImageId()
getImageId
in interface IBuildImage
getImageId
in interface IBuildImage.Jsii$Default
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
@Stability(value=Stable) @NotNull public final String getType()
getType
in interface IBuildImage
getType
in interface IBuildImage.Jsii$Default
@Stability(value=Stable) @Nullable public final ImagePullPrincipalType getImagePullPrincipalType()
Default: ImagePullPrincipalType.SERVICE_ROLE
getImagePullPrincipalType
in interface IBuildImage
getImagePullPrincipalType
in interface IBuildImage.Jsii$Default
@Stability(value=Stable) @Nullable public final IRepository getRepository()
Default: no repository
getRepository
in interface IBuildImage
getRepository
in interface IBuildImage.Jsii$Default
@Stability(value=Stable) @Nullable public final ISecret getSecretsManagerCredentials()
Default: no credentials will be used
getSecretsManagerCredentials
in interface IBuildImage
getSecretsManagerCredentials
in interface IBuildImage.Jsii$Default
@Stability(value=Stable) @NotNull public final BuildSpec runScriptBuildspec(@NotNull String entrypoint)
runScriptBuildspec
in interface IBuildImage
runScriptBuildspec
in interface IBuildImage.Jsii$Default
entrypoint
- This parameter is required.@Stability(value=Stable) @NotNull public final List<String> validate(@NotNull BuildEnvironment buildEnvironment)
validate
in interface IBuildImage
validate
in interface IBuildImage.Jsii$Default
buildEnvironment
- the current build environment. This parameter is required.Copyright © 2022. All rights reserved.