@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.331Z") @Stability(value=Stable) public interface DockerImageOptions extends software.amazon.jsii.JsiiSerializable
LinuxBuildImage.fromDockerRegistry or WindowsBuildImage.fromDockerRegistry.
Example:
.environment(BuildEnvironment.builder()
.buildImage(LinuxBuildImage.fromDockerRegistry("my-registry/my-repo", DockerImageOptions.builder()
.secretsManagerCredentials(secrets)
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerImageOptions.Builder
A builder for
DockerImageOptions |
static class |
DockerImageOptions.Jsii$Proxy
An implementation for
DockerImageOptions |
| Modifier and Type | Method and Description |
|---|---|
static DockerImageOptions.Builder |
builder() |
default ISecret |
getSecretsManagerCredentials()
The credentials, stored in Secrets Manager, used for accessing the repository holding the image, if the repository is private.
|
@Stability(value=Stable) @Nullable default ISecret getSecretsManagerCredentials()
Default: no credentials will be used (we assume the repository is public)
@Stability(value=Stable) static DockerImageOptions.Builder builder()
DockerImageOptions.Builder of DockerImageOptionsCopyright © 2022. All rights reserved.