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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBuildImage
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ComputeType
The defaultComputeType
to use with this image, if one was not specified ininvalid @link
BuildEnvironment#computeType
final String
The Docker image identifier that the build environment uses.final ImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.final IRepository
An optional ECR repository that the image is hosted in.final ISecret
The secretsManagerCredentials for access to a private registry.final String
getType()
The type of build environment.final BuildSpec
runScriptBuildspec
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 defaultComputeType
to use with this image, if one was not specified ininvalid @link
BuildEnvironment#computeType
- Specified by:
getDefaultComputeType
in interfaceIBuildImage
- Specified by:
getDefaultComputeType
in interfaceIBuildImage.Jsii$Default
-
getImageId
The Docker image identifier that the build environment uses.- Specified by:
getImageId
in interfaceIBuildImage
- Specified by:
getImageId
in interfaceIBuildImage.Jsii$Default
- See Also:
-
getType
The type of build environment.- Specified by:
getType
in interfaceIBuildImage
- Specified by:
getType
in interfaceIBuildImage.Jsii$Default
-
getImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.Default: ImagePullPrincipalType.SERVICE_ROLE
- Specified by:
getImagePullPrincipalType
in interfaceIBuildImage
- Specified by:
getImagePullPrincipalType
in interfaceIBuildImage.Jsii$Default
-
getRepository
An optional ECR repository that the image is hosted in.Default: no repository
- Specified by:
getRepository
in interfaceIBuildImage
- Specified by:
getRepository
in interfaceIBuildImage.Jsii$Default
-
getSecretsManagerCredentials
The secretsManagerCredentials for access to a private registry.Default: no credentials will be used
- Specified by:
getSecretsManagerCredentials
in interfaceIBuildImage
- Specified by:
getSecretsManagerCredentials
in interfaceIBuildImage.Jsii$Default
-
runScriptBuildspec
Make a buildspec to run the indicated script.- Specified by:
runScriptBuildspec
in interfaceIBuildImage
- Specified by:
runScriptBuildspec
in 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:
validate
in interfaceIBuildImage
- Specified by:
validate
in interfaceIBuildImage.Jsii$Default
- Parameters:
buildEnvironment
- the current build environment. This parameter is required.
-