Interface DockerImageOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.776Z")
@Stability(Stable)
public interface DockerImageOptions
extends software.amazon.jsii.JsiiSerializable
The options when creating a CodeBuild Docker build image using
or
.
invalid @link
LinuxBuildImage.fromDockerRegistry
invalid @link
WindowsBuildImage.fromDockerRegistry
Example:
.environment(BuildEnvironment.builder() .buildImage(LinuxBuildImage.fromDockerRegistry("my-registry/my-repo", DockerImageOptions.builder() .secretsManagerCredentials(secrets) .build())) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDockerImageOptions
static final class
An implementation forDockerImageOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic DockerImageOptions.Builder
builder()
default ISecret
The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecretsManagerCredentials
The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private.Default: no credentials will be used (we assume the repository is public)
-
builder
- Returns:
- a
DockerImageOptions.Builder
ofDockerImageOptions
-