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 the 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"