I read about the new storage class S3 Glacier Instant Retrieval and I want to use it when I upload files to S3 using the AWS CLI (command line interface). I read on https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html that the storage class options are:
--storage-class (string) The type of storage to use for the object. Valid choices are: STANDARD | REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE. Defaults to ‘STANDARD’
How do I use the S3 Glacier Instant Retrieval storage class with the CLI and do I need to install a specific version of AWS CLI?
aws-cli/2.4.6and I can confirm it works there with--storage-class GLACIER_IR(cp or sync).