AWS Amazon S3 on Outposts Bucket Lifecycle Configuration

This page shows how to write Terraform and CloudFormation for Amazon S3 on Outposts Bucket Lifecycle Configuration and write them securely.

aws_s3control_bucket_lifecycle_configuration (Terraform)

The Bucket Lifecycle Configuration in Amazon S3 on Outposts can be configured in Terraform with the resource name aws_s3control_bucket_lifecycle_configuration. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides a resource to manage an S3 Control Bucket Lifecycle Configuration.

NOTE: Each S3 Control Bucket can only have one Lifecycle Configuration. Using multiple of this resource against the same S3 Control Bucket will result in perpetual differences each Terraform run. -> This functionality is for managing S3 on Outposts. To manage S3 Bucket Lifecycle Configurations in an AWS Partition, see the aws_s3_bucket resource.

AWS::S3Outposts::Bucket LifecycleConfiguration (CloudFormation)

The Bucket LifecycleConfiguration in S3Outposts can be configured in CloudFormation with the resource name AWS::S3Outposts::Bucket LifecycleConfiguration. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Rules The container for the lifecycle configuration rules for the objects stored in the S3 on Outposts bucket.
Required: Yes
Type: List of Rule
Update requires: No interruption

Explanation in CloudFormation Registry

The container for the lifecycle configuration for the objects stored in an S3 on Outposts bucket.

Frequently asked questions

What is AWS Amazon S3 on Outposts Bucket Lifecycle Configuration?

AWS Amazon S3 on Outposts Bucket Lifecycle Configuration is a resource for Amazon S3 on Outposts of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.