Skip to main content

alpha.dagger.io/aws/s3

AWS Simple Storage Service

import "alpha.dagger.io/aws/s3"

s3.#Object

S3 Bucket object(s) sync

s3.#Object Inputs

NameTypeDescription
config.regionstringAWS region
config.accessKeydagger.#SecretAWS access key
config.secretKeydagger.#SecretAWS secret key
config.localMode*false \| boolAWS localstack mode
sourcedagger.#ArtifactSource Artifact to upload to S3
targetstringTarget S3 URL (eg. s3://\<bucket-name>/\<path>/\<sub-path>)
delete*false \| trueDelete files that already exist on remote destination
contentType*"" \| stringObject content type
always*true \| falseAlways write the object to S3

s3.#Object Outputs

NameTypeDescription
urlstringURL of the uploaded S3 object