CreateBucket
yaml
type: "io.kestra.plugin.aws.s3.createbucket"
Examples
yaml
id: aws_s3_create_bucket
namespace: company.team
inputs:
- id: bucket
type: STRING
defaults: my-bucket
- id: region
type: STRING
defaults: eu-central-1
tasks:
- id: create_bucket
type: io.kestra.plugin.aws.s3.CreateBucket
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_KEY_ID') }}"
region: "{{ inputs.region }}"
bucket: "{{ inputs.bucket }}"
Properties
bucket *Requiredstring
accessKeyId string
acl string
compatibilityMode booleanstring
endpointOverride string
forcePathStyle booleanstring
grantFullControl string
grantRead string
grantReadACP string
grantWrite string
grantWriteACP string
objectLockEnabledForBucket booleanstring
region string
secretKeyId string
sessionToken string
stsEndpointOverride string
stsRoleArn string
stsRoleExternalId string
stsRoleSessionDuration string
Default
PT15M
Format
duration