Interface AssetManifest
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssetManifest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.676Z") @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.*; Object assumeRoleAdditionalOptions; 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 .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .region("region") .build())) .source(DockerImageSource.builder() .cacheDisabled(false) .cacheFrom(List.of(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build())) .cacheTo(DockerCacheOption.builder() .type("type") // the properties below are optional .params(Map.of( "paramsKey", "params")) .build()) .directory("directory") .dockerBuildArgs(Map.of( "dockerBuildArgsKey", "dockerBuildArgs")) .dockerBuildContexts(Map.of( "dockerBuildContextsKey", "dockerBuildContexts")) .dockerBuildSecrets(Map.of( "dockerBuildSecretsKey", "dockerBuildSecrets")) .dockerBuildSsh("dockerBuildSsh") .dockerBuildTarget("dockerBuildTarget") .dockerFile("dockerFile") .dockerOutputs(List.of("dockerOutputs")) .executable(List.of("executable")) .networkMode("networkMode") .platform("platform") .build()) // the properties below are optional .displayName("displayName") .build())) .files(Map.of( "filesKey", FileAsset.builder() .destinations(Map.of( "destinationsKey", FileDestination.builder() .bucketName("bucketName") .objectKey("objectKey") // the properties below are optional .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .region("region") .build())) .source(FileSource.builder() .executable(List.of("executable")) .packaging(FileAssetPackaging.FILE) .path("path") .build()) // the properties below are optional .displayName("displayName") .build())) .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAssetManifest.BuilderA builder forAssetManifeststatic classAssetManifest.Jsii$ProxyAn implementation forAssetManifest
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static AssetManifest.Builderbuilder()default Map<String,DockerImageAsset>getDockerImages()The Docker image assets in this manifest.default Map<String,FileAsset>getFiles()The file assets in this manifest.StringgetVersion()Version of the manifest.
-
-
-
Method Detail
-
getVersion
@Stability(Stable) @NotNull String getVersion()
Version of the manifest.
-
getDockerImages
@Stability(Stable) @Nullable default Map<String,DockerImageAsset> getDockerImages()
The Docker image assets in this manifest.Default: - No Docker images
-
getFiles
@Stability(Stable) @Nullable default Map<String,FileAsset> getFiles()
The file assets in this manifest.Default: - No files
-
builder
@Stability(Stable) static AssetManifest.Builder builder()
- Returns:
- a
AssetManifest.BuilderofAssetManifest
-
-