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$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBuildImage
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault BuildImageConfig
bind
(Construct scope, IProject project, BuildImageBindOptions options) Function that allows the build image access to the construct tree.default ComputeType
The defaultComputeType
to use with this image, if one was not specified ininvalid @link
BuildEnvironment#computeType
default String
The Docker image identifier that the build environment uses.default ImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.default IRepository
An optional ECR repository that the image is hosted in.default ISecret
The secretsManagerCredentials for access to a private registry.default String
getType()
The type of build environment.default 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 interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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 default 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.
-
bind
@Stability(Stable) @NotNull default 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
- Parameters:
scope
- This parameter is required.project
- This parameter is required.options
- This parameter is required.
-