79298363

Date: 2024-12-20 20:51:39
Score: 5.5
Natty:
Report link

You can create a custom lifecycle rule !

You can help you with this documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html

For example : AWSTemplateFormatVersion: 2010-09-09 Resources: S3Bucket: Type: 'AWS::S3::Bucket' Properties: AccessControl: Private LifecycleConfiguration: Rules: - Id: GlacierRule Prefix: glacier Status: Enabled ExpirationInDays: 450 Transitions: - TransitionInDays: 1 StorageClass: GLACIER Outputs: BucketName: Value: !Ref S3Bucket Description: Name of the sample Amazon S3 bucket with a lifecycle configuration.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): You can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet