library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Put S3 Bucket Lifecycle policy

Put lifecycle rules to a specified S3 bucket.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_s3_bucket_lifecycle_policy \
--arg 'region=<string>' \
--arg 'bucket_name=<string>' \
--arg 'lifecycle_rules=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_s3_bucket_lifecycle_policy
args = {
region = <string>
bucket_name = <string>
lifecycle_rules = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
bucket_namestringYesThe name of the S3 bucket.-
lifecycle_rulesstringYesA JSON string of lifecycle rules for the S3 bucket.-

Outputs

This pipeline has no outputs.