Interface AssetManifest

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AssetManifest.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:17.536Z") @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.cloud_assembly_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"))
                                 .dockerBuildSecrets(Map.of(
                                         "dockerBuildSecretsKey", "dockerBuildSecrets"))
                                 .dockerBuildSsh("dockerBuildSsh")
                                 .dockerBuildTarget("dockerBuildTarget")
                                 .dockerFile("dockerFile")
                                 .dockerOutputs(List.of("dockerOutputs"))
                                 .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
                                         .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())
                         .build()))
         .build();
 
  • Method Details