Interface FileAsset

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.692Z") @Stability(Stable) public interface FileAsset extends software.amazon.jsii.JsiiSerializable
A file asset.

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.*;
 FileAsset fileAsset = 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();