@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.851Z") @Stability(value=Stable) public interface AssetManifest 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.*;
AssetManifest assetManifest = AssetManifest.builder()
.version("version")
// the properties below are optional
.dockerImages(Map.of(
"dockerImagesKey", 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()))
.files(Map.of(
"filesKey", FileAsset.builder()
.destinations(Map.of(
"destinationsKey", FileDestination.builder()
.bucketName("bucketName")
.objectKey("objectKey")
// the properties below are optional
.assumeRoleArn("assumeRoleArn")
.assumeRoleExternalId("assumeRoleExternalId")
.region("region")
.build()))
.source(FileSource.builder()
.executable(List.of("executable"))
.packaging(FileAssetPackaging.FILE)
.path("path")
.build())
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssetManifest.Builder
A builder for
AssetManifest |
static class |
AssetManifest.Jsii$Proxy
An implementation for
AssetManifest |
| Modifier and Type | Method and Description |
|---|---|
static AssetManifest.Builder |
builder() |
default Map<String,DockerImageAsset> |
getDockerImages()
The Docker image assets in this manifest.
|
default Map<String,FileAsset> |
getFiles()
The file assets in this manifest.
|
String |
getVersion()
Version of the manifest.
|
@Stability(value=Stable) @NotNull String getVersion()
@Stability(value=Stable) @Nullable default Map<String,DockerImageAsset> getDockerImages()
Default: - No Docker images
@Stability(value=Stable) @Nullable default Map<String,FileAsset> getFiles()
Default: - No files
@Stability(value=Stable) static AssetManifest.Builder builder()
AssetManifest.Builder of AssetManifestCopyright © 2022. All rights reserved.