Discriminant
type: "s3"
Minimal config
Use a bucket and a few prefixes. We’ll expand prefixes recursively by default.Advanced config
When you need precise control, passS3Prefix objects instead of plain strings. This lets you opt out of recursion per‑prefix.
bucket_name(string): Source bucket name.prefixes(Array<string | S3Prefix>): One or more prefixes or exact keys. An empty string reads the whole bucket.S3Prefix.prefix(string): The prefix path to scan.S3Prefix.recursive(boolean, default true): Whether to include subfolders under the prefix.
Going deeper
- Use
S3Prefixobjects when you need per‑prefix recursion control:{"prefix": "docs/", "recursive": true}to scan folders - this is the default behaviour{"prefix": "docs/drafts/", "recursive": false}to only read direct children
- Mix strings and
S3Prefixobjects in the sameprefixesarray.