library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
bucket
string
YesThe name of the S3 bucket.-
block_public_acls
bool
YesSpecifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket.-
ignore_public_acls
bool
YesSpecifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.-
block_public_policy
bool
YesSpecifies whether Amazon S3 should block public bucket policies for this bucket.-
restrict_public_buckets
bool
YesSpecifies whether Amazon S3 should restrict public bucket policies for this bucket.-

Outputs

This pipeline has no outputs.