Interface AssetManifest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetManifest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.664Z")
@Stability(Stable)
public interface AssetManifest
extends software.amazon.jsii.JsiiSerializable
Definitions for the asset manifest.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forAssetManifest
static final class
An implementation forAssetManifest
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssetManifest.Builder
builder()
default Map<String,
DockerImageAsset> The Docker image assets in this manifest.getFiles()
The file assets in this manifest.Version of the manifest.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
Version of the manifest. -
getDockerImages
The Docker image assets in this manifest.Default: - No Docker images
-
getFiles
The file assets in this manifest.Default: - No files
-
builder
- Returns:
- a
AssetManifest.Builder
ofAssetManifest
-