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 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
-
getImageId
The Docker image identifier that the build environment uses.- Specified by:
getImageIdin interfaceIBuildImage- See Also:
-
getType
The type of build environment.- Specified by:
getTypein interfaceIBuildImage
-
getImagePullPrincipalType
The type of principal that CodeBuild will use to pull this build Docker image.Default: ImagePullPrincipalType.SERVICE_ROLE
- Specified by:
getImagePullPrincipalTypein interfaceIBuildImage
-
getRepository
An optional ECR repository that the image is hosted in.Default: no repository
- Specified by:
getRepositoryin interfaceIBuildImage
-
getSecretsManagerCredentials
The secretsManagerCredentials for access to a private registry.Default: no credentials will be used
- Specified by:
getSecretsManagerCredentialsin interfaceIBuildImage
-
runScriptBuildspec
Make a buildspec to run the indicated script.- Specified by:
runScriptBuildspecin 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:
validatein interfaceIBuildImage- Parameters:
buildEnvironment- the current build environment. This parameter is required.
-