library
turbot/aws
Get Involved
Version
Pipeline: Put S3 Bucket Lifecycle Configuration
Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.put_s3_bucket_lifecycle_configuration \ --arg 'region=<string>' \ --arg 'bucket_name=<string>' \ --arg 'lifecycle_configuration=<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_configuration args = { region = <string> bucket_name = <string> lifecycle_configuration = <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_name | string | Yes | The name of the S3 bucket. | - |
lifecycle_configuration | string | Yes | Container for lifecycle rules. You can add as many as 1,000 rules. | - |
Outputs
This pipeline has no outputs.