library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Put S3 Bucket Versioning

Sets the versioning state of an existing bucket.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_s3_bucket_versioning \
--arg 'region=<string>' \
--arg 'bucket=<string>' \
--arg 'versioning=<bool>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_s3_bucket_versioning
args = {
region = <string>
bucket = <string>
versioning = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
bucketstringYesThe bucket name.-
versioningboolYesThe versioning state of the bucket.-

Outputs

This pipeline has no outputs.