Download a file(s) from an S3 bucket.

This task can operate in two modes:

  1. Single file mode: When providing only the 'key' parameter, it downloads a specific file from S3
  2. Multiple files mode: When using filtering parameters (prefix, delimiter, regexp), it downloads multiple files matching the criteria

In single file mode, the output contains properties of a single file (uri, contentLength, etc.) In multiple files mode, the output contains maps that associate each file key with its properties (uris, contentLengths, etc.)

yaml
type: "io.kestra.plugin.aws.s3.Download"