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. |
Executable
Optional
Executable *[]*string
- Type: []string
- Default: Exactly one of
executable
andpath
is required.
External command which will produce the file asset to upload.
Packaging
Optional
Packaging FileAssetPackaging
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path
is specified.
Path
Optional
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.