interface FileSource
Language | Type name |
---|---|
![]() | Amazon.CDK.CloudAssembly.Schema.FileSource |
![]() | software.amazon.awscdk.cloudassembly.schema.FileSource |
![]() | aws_cdk.cloud_assembly_schema.FileSource |
![]() | @aws-cdk/cloud-assembly-schema » FileSource |
Describe the source of a file asset.
Properties
Name | Type | Description |
---|---|---|
executable? | string[] | External command which will produce the file asset to upload. |
packaging? | File | Packaging method. |
path? | string | The filesystem object to upload. |
executable?
Type:
string[]
(optional, default: Exactly one of executable
and path
is required.)
External command which will produce the file asset to upload.
packaging?
Type:
File
(optional, default: FILE)
Packaging method.
Only allowed when path
is specified.
path?
Type:
string
(optional, default: Exactly one of executable
and path
is required.)
The filesystem object to upload.
This path is relative to the asset manifest location.