跳到主要内容

Download S3 with YAML

List of YAML parameters and examples for the Downloaad S3 action

YAML parameters for Download S3

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to DOWNLOAD_S3.
bucket_name
必填
StringThe name of the Amazon S3 Bucket.
source_path
必填
StringThe path from which the file will be downloaded.
destination_path
必填
StringThe path in which the file will be saved.
integration_hash
必填
StringThe ID of the integration.
overwriteBooleanReplace files if they already exist.
recursiveBooleanIf set to true, the whole directory tree is downloaded, otherwise only the files from the path are downloaded.
download_excludesString[]The paths and/or files that will be left out during the download.
download_includesString[]The exceptions from the ignore patterns set in download_excludes.

YAML example for Download S3

actions:
- action: "Download files from AWS S3/bucketname"
type: "DOWNLOAD_S3"
bucket_name: "bucketname"
source_path: "source"
destination_path: "destination"
recursive: true
overwrite: true
integration_hash: "5ddb7c180fb38be67bd78a88a"
download_excludes:
- "/tmp"
- "*.log"
download_includes:
- "/tmp/assets"
- "/tmp/styles"