Skip to content

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 executable and path is required.

External command which will produce the file asset to upload.


PackagingOptional

Packaging FileAssetPackaging

Packaging method.

Only allowed when path is specified.


PathOptional

Path *string
  • Type: *string
  • Default: Exactly one of executable and path is required.

The filesystem object to upload.

This path is relative to the asset manifest location.