Interface IBindableBuildImage.Jsii$Default
- All Superinterfaces:
IBindableBuildImage,IBuildImage,IBuildImage.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IBindableBuildImage.Jsii$Proxy
- Enclosing interface:
IBindableBuildImage
@Internal
public static interface IBindableBuildImage.Jsii$Default
extends IBindableBuildImage, IBuildImage.Jsii$Default
Internal default implementation for
IBindableBuildImage.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBindableBuildImage
IBindableBuildImage.Jsii$Default, IBindableBuildImage.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBuildImage
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault BuildImageConfigbind(software.constructs.Construct scope, IProject project, BuildImageBindOptions options) Function that allows the build image access to the construct tree.default ComputeTypeThe defaultComputeTypeto use with this image, if one was not specified inBuildEnvironment#computeTypeexplicitly.default StringThe Docker image identifier that the build environment uses.default ImagePullPrincipalTypeThe type of principal that CodeBuild will use to pull this build Docker image.default IRepositoryAn optional ECR repository that the image is hosted in.default ISecretThe secretsManagerCredentials for access to a private registry.default StringgetType()The type of build environment.default 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 interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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 default 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.
-
bind
@Stability(Stable) @NotNull default BuildImageConfig bind(@NotNull software.constructs.Construct scope, @NotNull IProject project, @NotNull BuildImageBindOptions options) Function that allows the build image access to the construct tree.- Specified by:
bindin interfaceIBindableBuildImage- Parameters:
scope- This parameter is required.project- This parameter is required.options- This parameter is required.
-