@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-05-14T22:39:38.678Z") @Stability(value=Stable) public interface FileAssetSource extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileAssetSource.Builder
A builder for
FileAssetSource |
static class |
FileAssetSource.Jsii$Proxy
An implementation for
FileAssetSource |
| Modifier and Type | Method and Description |
|---|---|
static FileAssetSource.Builder |
builder() |
default List<String> |
getExecutable()
An external command that will produce the packaged asset.
|
default String |
getFileName()
The path, relative to the root of the cloud assembly, in which this asset source resides.
|
default FileAssetPackaging |
getPackaging()
Which type of packaging to perform.
|
String |
getSourceHash()
A hash on the content source.
|
@Stability(value=Stable) @NotNull String getSourceHash()
This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
@Stability(value=Stable) @Nullable default List<String> getExecutable()
The command should produce the location of a ZIP file on stdout.
Default: - Exactly one of `directory` and `executable` is required
@Stability(value=Stable) @Nullable default String getFileName()
This can be a path to a file or a directory, depending on the packaging type.
Default: - Exactly one of `directory` and `executable` is required
@Stability(value=Stable) @Nullable default FileAssetPackaging getPackaging()
Default: - Required if `fileName` is specified.
@Stability(value=Stable) static FileAssetSource.Builder builder()
FileAssetSource.Builder of FileAssetSourceCopyright © 2021. All rights reserved.