@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.858Z") @Stability(value=Stable) public interface FileAsset 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.*;
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileAsset.Builder
A builder for
FileAsset |
static class |
FileAsset.Jsii$Proxy
An implementation for
FileAsset |
| Modifier and Type | Method and Description |
|---|---|
static FileAsset.Builder |
builder() |
Map<String,FileDestination> |
getDestinations()
Destinations for this file asset.
|
FileSource |
getSource()
Source description for file assets.
|
@Stability(value=Stable) @NotNull Map<String,FileDestination> getDestinations()
@Stability(value=Stable) @NotNull FileSource getSource()
@Stability(value=Stable) static FileAsset.Builder builder()
FileAsset.Builder of FileAssetCopyright © 2022. All rights reserved.