FileSource Struct
Describe the source of a file asset.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const fileSource: cloud_assembly_schema.FileSource = {
executable: ['executable'],
packaging: cloud_assembly_schema.FileAssetPackaging.FILE,
path: 'path',
};
Properties
executablestring[]executabletyping.List[str]executableList<String>Executablestring[]Executable*[]*string#External command which will produce the file asset to upload.
Default: Exactly one of executable and path is required.
packagingFileAssetPackagingpackagingFileAssetPackagingpackagingFileAssetPackagingPackagingFileAssetPackagingPackagingFileAssetPackaging= FILE#Packaging method.
Only allowed when path is specified.
The filesystem object to upload.
Default: Exactly one of executable and path is required.
This path is relative to the asset manifest location.