Define bucket type in cloudformation

0

Is there no way in Cloudformation to define the type of S# bucket you want? Standard, OneZone-IA.... I do not see it in the AWS::S3::Bucket resource and no matter how I google it I get nothing.

asked a year ago186 views
2 Answers
1

Storage classes are Object level settings, not Bucket level.

profile pictureAWS
EXPERT
kentrad
answered a year ago
1

Hi,

there is no bucket type, rather a storage class type to move objects from a class to another via life cycle rules:

Resources:
  BucketExample:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: bucket-name
      LifecycleConfiguration:
        Rules:
          - Id: MoveToGlacier
            Status: Enabled
            Transition:
              Days: 120
              StorageClass: GLACIER
profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions