@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.857Z") @Stability(value=Stable) public interface DockerImageAsset extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloudassembly.schema.*;
DockerImageAsset dockerImageAsset = DockerImageAsset.builder()
.destinations(Map.of(
"destinationsKey", DockerImageDestination.builder()
.imageTag("imageTag")
.repositoryName("repositoryName")
// the properties below are optional
.assumeRoleArn("assumeRoleArn")
.assumeRoleExternalId("assumeRoleExternalId")
.region("region")
.build()))
.source(DockerImageSource.builder()
.directory("directory")
.dockerBuildArgs(Map.of(
"dockerBuildArgsKey", "dockerBuildArgs"))
.dockerBuildTarget("dockerBuildTarget")
.dockerFile("dockerFile")
.executable(List.of("executable"))
.networkMode("networkMode")
.platform("platform")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerImageAsset.Builder
A builder for
DockerImageAsset |
static class |
DockerImageAsset.Jsii$Proxy
An implementation for
DockerImageAsset |
| Modifier and Type | Method and Description |
|---|---|
static DockerImageAsset.Builder |
builder() |
Map<String,DockerImageDestination> |
getDestinations()
Destinations for this file asset.
|
DockerImageSource |
getSource()
Source description for file assets.
|
@Stability(value=Stable) @NotNull Map<String,DockerImageDestination> getDestinations()
@Stability(value=Stable) @NotNull DockerImageSource getSource()
@Stability(value=Stable) static DockerImageAsset.Builder builder()
DockerImageAsset.Builder of DockerImageAssetCopyright © 2022. All rights reserved.