Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CLI command for S3 Standard Infrequently Access files

I'm using aws cli to cp files from EC2 to Amazon S3.

I wanted to use --storage-class STANDARD_IA for Standard Infrequently Access storage class but it does not recognize it as a valid option. The command returns only REDUCED_REDUNDANCY or STANDARD as options.

According to this documentations, STANDARD_IA is what I should use.

Is this an issue with the cli or the command is wrong?

like image 669
jarvis Avatar asked Dec 18 '25 05:12

jarvis


1 Answers

upgrade your aws CLI version, its available at least from

fhenri@machine:~$ aws --version
aws-cli/1.9.1 Python/2.7.10 Darwin/14.5.0 botocore/1.3.1

specifically it was introduced in version 1.8.6

like image 131
Frederic Henri Avatar answered Dec 21 '25 00:12

Frederic Henri