Asset File
Certified
A file in a storage system.
Asset File
Certified
A file in a storage system.
Declares a single file that a task writes to a storage system. system and path are stored in the metadata of the asset, so they can be matched with metadataQuery on an asset trigger.
yaml
type: io.kestra.plugin.ee.assets.FileExamples
Register the file a task has uploaded.
yaml
id: upload_report
namespace: company.finance
tasks:
- id: upload
type: io.kestra.plugin.core.log.Log
message: Uploading the monthly report
assets:
outputs:
- type: io.kestra.plugin.ee.assets.File
id: monthly-report
system: s3
path: s3://company-reports/monthly.pdfProperties
path string
The path or URI of the file.
system string
The storage system holding the file, for example s3 or sftp.