Interface FileSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.786Z") @Stability(Stable) public interface FileSource extends software.amazon.jsii.JsiiSerializable
Describe the source of a file asset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFileSource.BuilderA builder forFileSourcestatic classFileSource.Jsii$ProxyAn implementation forFileSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static FileSource.Builderbuilder()default List<String>getExecutable()External command which will produce the file asset to upload.default FileAssetPackaginggetPackaging()Packaging method.default StringgetPath()The filesystem object to upload.
-
-
-
Method Detail
-
getExecutable
@Stability(Stable) @Nullable default List<String> getExecutable()
External command which will produce the file asset to upload.Default: - Exactly one of `executable` and `path` is required.
-
getPackaging
@Stability(Stable) @Nullable default FileAssetPackaging getPackaging()
Packaging method.Only allowed when
pathis specified.Default: FILE
-
getPath
@Stability(Stable) @Nullable default String getPath()
The filesystem object to upload.This path is relative to the asset manifest location.
Default: - Exactly one of `executable` and `path` is required.
-
builder
@Stability(Stable) static FileSource.Builder builder()
- Returns:
- a
FileSource.BuilderofFileSource
-
-