YAML for Amazon S3
Deploy files to Amazon S3 bucket with configurable access control and caching.
YAML examples for Amazon S3
Deploy to S3 with caching and tags
yaml
- action: Deploy to S3
type: AMAZON_S3
trigger_time: ON_EVERY_EXECUTION
disabled: false
integration: amazon_default
local_path: /dist
remote_path: /static
deployment_excludes:
- "*.log"
- "*.tmp"
- .git
deployment_includes:
- "*.js"
- "*.css"
bucket_name: my-production-bucket
public_access: true
acl: PUBLIC_READ
reduced_redundancy: false
cache_control: max-age=31536000
expires_date: "2027-01-01T00:00:00Z"
skip_content_type_setting: false
always_from_scratch: true
deploy_tags:
- key: Environment
value: Production
- key: Version
value: "1.0.0"
ignore_errors: false
retry_interval: 30
retry_count: 2
timeout: 3600
Simple S3 upload
yaml
- action: S3 upload
type: AMAZON_S3
trigger_time: ON_EVERY_EXECUTION
integration: amazon_default
bucket_name: my-bucket