@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:43.721Z") @Stability(value=Experimental) 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()
(experimental) An external command that will produce the packaged asset.
|
default String |
getFileName()
(experimental) The path, relative to the root of the cloud assembly, in which this asset source resides.
|
default FileAssetPackaging |
getPackaging()
(experimental) Which type of packaging to perform.
|
String |
getSourceHash()
(experimental) A hash on the content source.
|
@Stability(value=Experimental) @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=Experimental) @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=Experimental) @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=Experimental) @Nullable default FileAssetPackaging getPackaging()
Default: - Required if `fileName` is specified.
@Stability(value=Experimental) static FileAssetSource.Builder builder()
FileAssetSource.Builder of FileAssetSourceCopyright © 2021. All rights reserved.