standard
turbot/aws_compliance

Pipeline: Put or Append to S3 bucket Policy

Appends a new policy statement to an existing S3 bucket policy or creates one if it doesn't exist.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.put_s3_bucket_policy \
--arg 'region=<string>' \
--arg 'bucket=<string>' \
--arg 'policy=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.put_s3_bucket_policy
args = {
region = <string>
bucket = <string>
policy = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesAWS Region of the resource(s).-
conn
connection.aws
YesName of the AWS connection to be used for any authenticated actions.connection.aws.default
bucket
string
YesThe name of the S3 bucket.-
policy
string
YesThe base template for the new policy statement without bucket interpolation.-

Outputs

NameDescription
concatenated_policy_output

Tags

category = Compliance
folder = Internal
mod = aws
service = AWS/S3