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.

preguntada hace un año191 visualizaciones
2 Respuestas
1

Storage classes are Object level settings, not Bucket level.

profile pictureAWS
EXPERTO
kentrad
respondido hace un año
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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas