S3 general purpose buckets should have a lifecycle configuration

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

This check verifies if an Amazon S3 general-purpose bucket has at least one active Lifecycle configuration in place. The check will fail if the bucket has no Lifecycle configurations, or if all Lifecycle configurations are disabled.

Implementing a lifecycle configuration for your S3 bucket allows you to define specific actions for objects throughout their lifecycle. For instance, you can set rules to move objects to a different storage class, archive them, or remove them after a certain period.

Remediation

For guidance on configuring lifecycle policies, refer to the Setting lifecycle configuration on a bucket and Managing your storage lifecycle sections of the Amazon S3 User Guide.