Class IBuildImage.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.IBuildImage.Jsii$Proxy
- All Implemented Interfaces:
IBuildImage,IBuildImage.Jsii$Default,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
IBuildImage
@Internal
public static final class IBuildImage.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IBuildImage.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBuildImage
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ComputeTypeThe defaultComputeTypeto use with this image, if one was not specified inBuildEnvironment#computeTypeexplicitly.final StringThe Docker image identifier that the build environment uses.final ImagePullPrincipalTypeThe type of principal that CodeBuild will use to pull this build Docker image.final IRepositoryAn optional ECR repository that the image is hosted in.final ISecretThe secretsManagerCredentials for access to a private registry.final StringgetType()The type of build environment.final BuildSpecrunScriptBuildspec(String entrypoint) Make a buildspec to run the indicated script.validate(BuildEnvironment buildEnvironment) Allows the image a chance to validate whether the passed configuration is correct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getDefaultComputeType
The defaultComputeTypeto use with this image, if one was not specified inBuildEnvironment#computeTypeexplicitly.- Specified by:
getDefaultComputeTypein interfaceIBuildImage- Specified by:
getDefaultComputeTypein interfaceIBuildImage.Jsii$Default
-
getImageId
The Docker image identifier that the build environment uses.- Specified by:
getImageIdin interfaceIBuildImage- Specified by:
getImageIdin interfaceIBuildImage.Jsii$Default- See Also:
-
getType
The type of build environment.- Specified by:
getTypein interfaceIBuildImage- Specified by:
getTypein interfaceIBuildImage.Jsii$Default
-
getImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.Default: ImagePullPrincipalType.SERVICE_ROLE
- Specified by:
getImagePullPrincipalTypein interfaceIBuildImage- Specified by:
getImagePullPrincipalTypein interfaceIBuildImage.Jsii$Default
-
getRepository
An optional ECR repository that the image is hosted in.Default: no repository
- Specified by:
getRepositoryin interfaceIBuildImage- Specified by:
getRepositoryin interfaceIBuildImage.Jsii$Default
-
getSecretsManagerCredentials
The secretsManagerCredentials for access to a private registry.Default: no credentials will be used
- Specified by:
getSecretsManagerCredentialsin interfaceIBuildImage- Specified by:
getSecretsManagerCredentialsin interfaceIBuildImage.Jsii$Default
-
runScriptBuildspec
Make a buildspec to run the indicated script.- Specified by:
runScriptBuildspecin interfaceIBuildImage- Specified by:
runScriptBuildspecin interfaceIBuildImage.Jsii$Default- Parameters:
entrypoint- This parameter is required.
-
validate
@Stability(Stable) @NotNull public final List<String> validate(@NotNull BuildEnvironment buildEnvironment) Allows the image a chance to validate whether the passed configuration is correct.- Specified by:
validatein interfaceIBuildImage- Specified by:
validatein interfaceIBuildImage.Jsii$Default- Parameters:
buildEnvironment- the current build environment. This parameter is required.
-