FileSource
Describe the source of a file asset.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema"
&alicloudroscdkassemblyschema.FileSource {
Executable: *[]*string,
Packaging: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.FileAssetPackaging,
Path: *string,
}
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. |
ExecutableOptional
Executable *[]*string
- Type: []string
- Default: Exactly one of
executableandpathis required.
External command which will produce the file asset to upload.
PackagingOptional
Packaging FileAssetPackaging
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path is specified.
PathOptional
Path *string
- Type: *string
- Default: Exactly one of
executableandpathis required.
The filesystem object to upload.
This path is relative to the asset manifest location.