FileSource
Describe the source of a file asset.
Initializer
import { FileSource } from '@alicloud/ros-cdk-assembly-schema'
const fileSource: FileSource = { ... }
Properties
Name | Type | Description |
---|---|---|
executable |
string[] |
External command which will produce the file asset to upload. |
packaging |
FileAssetPackaging |
Packaging method. |
path |
string |
The filesystem object to upload. |
executable
Optional
public readonly executable: string[];
- Type: string[]
- Default: Exactly one of
executable
andpath
is required.
External command which will produce the file asset to upload.
packaging
Optional
public readonly packaging: FileAssetPackaging;
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path
is specified.
path
Optional
public readonly path: string;
- Type: string
- Default: Exactly one of
executable
andpath
is required.
The filesystem object to upload.
This path is relative to the asset manifest location.