library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Put S3 Public Access Block

Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_s3_bucket_public_access_block \
--arg 'region=<string>' \
--arg 'bucket=<string>' \
--arg 'block_public_acls=<bool>' \
--arg 'ignore_public_acls=<bool>' \
--arg 'block_public_policy=<bool>' \
--arg 'restrict_public_buckets=<bool>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_s3_bucket_public_access_block
args = {
region = <string>
bucket = <string>
block_public_acls = <bool>
ignore_public_acls = <bool>
block_public_policy = <bool>
restrict_public_buckets = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
bucketstringYesThe name of the S3 bucket.-
block_public_aclsboolYesSpecifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket.-
ignore_public_aclsboolYesSpecifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.-
block_public_policyboolYesSpecifies whether Amazon S3 should block public bucket policies for this bucket.-
restrict_public_bucketsboolYesSpecifies whether Amazon S3 should restrict public bucket policies for this bucket.-

Outputs

This pipeline has no outputs.