@Generated(value="jsii-pacmak/1.11.0 (build 1e9b8e1)", date="2020-09-03T17:04:05.300Z") @Stability(value=Stable) public class BundlingDockerImage extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
BundlingDockerImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BundlingDockerImage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static BundlingDockerImage |
fromAsset(String path)
Reference an image that's built directly from sources on disk.
|
static BundlingDockerImage |
fromAsset(String path,
DockerBuildOptions options)
Reference an image that's built directly from sources on disk.
|
static BundlingDockerImage |
fromRegistry(String image)
Reference an image on DockerHub or another online registry.
|
String |
getImage()
The Docker image.
|
String |
toJSON()
Provides a stable representation of this image for JSON serialization.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected BundlingDockerImage(software.amazon.jsii.JsiiObjectRef objRef)
protected BundlingDockerImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static BundlingDockerImage fromAsset(@NotNull String path, @Nullable DockerBuildOptions options)
path - The path to the directory containing the Docker file. This parameter is required.options - Docker build options.@Stability(value=Stable) @NotNull public static BundlingDockerImage fromAsset(@NotNull String path)
path - The path to the directory containing the Docker file. This parameter is required.@Stability(value=Stable) @NotNull public static BundlingDockerImage fromRegistry(@NotNull String image)
image - the image name. This parameter is required.@Stability(value=Stable) @NotNull public String toJSON()
@Stability(value=Stable) @NotNull public String getImage()
Copyright © 2020. All rights reserved.