library
turbot/aws
Get Involved
Version
Pipeline: Get S3 Bucket Versioning
Get the versioning state of an S3 bucket.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.get_s3_bucket_versioning \ --arg 'region=<string>' \ --arg 'bucket=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.get_s3_bucket_versioning args = { region = <string> bucket = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
bucket | string | Yes | The bucket name. | - |
Outputs
Name | Description |
---|---|
status | The versioning state of the bucket. |