@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.859Z") @Stability(value=Stable) public interface FileSource 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.*;
FileSource fileSource = FileSource.builder()
.executable(List.of("executable"))
.packaging(FileAssetPackaging.FILE)
.path("path")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileSource.Builder
A builder for
FileSource |
static class |
FileSource.Jsii$Proxy
An implementation for
FileSource |
| Modifier and Type | Method and Description |
|---|---|
static FileSource.Builder |
builder() |
default List<String> |
getExecutable()
External command which will produce the file asset to upload.
|
default FileAssetPackaging |
getPackaging()
Packaging method.
|
default String |
getPath()
The filesystem object to upload.
|
@Stability(value=Stable) @Nullable default List<String> getExecutable()
Default: - Exactly one of `executable` and `path` is required.
@Stability(value=Stable) @Nullable default FileAssetPackaging getPackaging()
Only allowed when path is specified.
Default: FILE
@Stability(value=Stable) @Nullable default String getPath()
This path is relative to the asset manifest location.
Default: - Exactly one of `executable` and `path` is required.
@Stability(value=Stable) static FileSource.Builder builder()
FileSource.Builder of FileSourceCopyright © 2022. All rights reserved.