Interface IBuildImage.Jsii$Default
- All Superinterfaces:
IBuildImage
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IBindableBuildImage.Jsii$Default
- All Known Implementing Classes:
IBindableBuildImage.Jsii$Proxy
,IBuildImage.Jsii$Proxy
- Enclosing interface:
IBuildImage
Internal default implementation for
IBuildImage
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IBuildImage
IBuildImage.Jsii$Default, IBuildImage.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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
-
getImageId
The Docker image identifier that the build environment uses.- Specified by:
getImageId
in interfaceIBuildImage
- See Also:
-
getType
The type of build environment.- Specified by:
getType
in interfaceIBuildImage
-
getImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.Default: ImagePullPrincipalType.SERVICE_ROLE
- Specified by:
getImagePullPrincipalType
in interfaceIBuildImage
-
getRepository
An optional ECR repository that the image is hosted in.Default: no repository
- Specified by:
getRepository
in interfaceIBuildImage
-
getSecretsManagerCredentials
The secretsManagerCredentials for access to a private registry.Default: no credentials will be used
- Specified by:
getSecretsManagerCredentials
in interfaceIBuildImage
-
runScriptBuildspec
Make a buildspec to run the indicated script.- Specified by:
runScriptBuildspec
in interfaceIBuildImage
- 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
- Parameters:
buildEnvironment
- the current build environment. This parameter is required.
-