AWS Amazon S3

Name Description
action Required String The ID of the action.
bucket_name Required String The name of the Amazon S3 Bucket.
integration_id Required Integer The ID of the integration.
type Required String The type of the action. Should be set to AMAZON_S3.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
input_type String Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_path String The path in the repository.
public_access Boolean Makes files accessible through public HTTP.
remote_path String The absolute or relative path on the remote server.
run_only_on_first_failure Boolean Defines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE.
deployment_excludes String[] The paths and/or files that will be left our during the deployment.
expires_date iso 8601 utc date Specifies the expiration period for the objects (how long they stay in the cache).
cache_control String Specifies how long objects stay in the cache.
skip_content_type_setting Boolean When set to true all files will have their mime-types set to application/octet-stream.
  - action: "Upload files to AWS S3/buddy"
    type: "AMAZON_S3"
    input_type: "SCM_REPOSITORY"
    local_path: "/assets"
    bucket_name: "buddy"
    public_access: true
    reduced_redundancy: true
    skip_content_type_setting: true
    expires_date: "2017-12-31T23:00:00.000Z"
    cache_control: "max-age=3600"
    integration_id: 1
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.