Class IBindableBuildImage.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.IBindableBuildImage.Jsii$Proxy
- All Implemented Interfaces:
IBindableBuildImage
,IBindableBuildImage.Jsii$Default
,IBuildImage
,IBuildImage.Jsii$Default
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
IBindableBuildImage
@Internal
public static final class IBindableBuildImage.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IBindableBuildImage.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.IBindableBuildImage
IBindableBuildImage.Jsii$Default, IBindableBuildImage.Jsii$Proxy
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 BuildImageConfig
bind
(Construct scope, IProject project, BuildImageBindOptions options) Function that allows the build image access to the construct tree.final 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 interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- Specified by:
getImageId
in interfaceIBuildImage
- Specified by:
getImageId
in interfaceIBuildImage.Jsii$Default
- See Also:
-
getType
The type of build environment.- Specified by:
getType
in interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- 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 interfaceIBindableBuildImage.Jsii$Default
- Specified by:
validate
in interfaceIBuildImage
- Specified by:
validate
in interfaceIBuildImage.Jsii$Default
- Parameters:
buildEnvironment
- the current build environment. This parameter is required.
-
bind
@Stability(Stable) @NotNull public final BuildImageConfig bind(@NotNull Construct scope, @NotNull IProject project, @NotNull BuildImageBindOptions options) Function that allows the build image access to the construct tree.- Specified by:
bind
in interfaceIBindableBuildImage
- Specified by:
bind
in interfaceIBindableBuildImage.Jsii$Default
- Parameters:
scope
- This parameter is required.project
- This parameter is required.options
- This parameter is required.
-