When using the Boto3 client for uploading files to S3 storage. For example, the upload_fileobj
call there is a parameter to the call called ExtraArgs
which is a dictionary object. It contains a key called StorageClass
which can be set to:
STANDARD | Standard Frequent Access |
STANDARD_IA | Standard Infrequenct Access |
REDUCED_REDUNDANCY | Reduced Redundancy |
GLACIER | Glacier Storage |
Object Storage Classes – Amazon S3
amazon web services – How to change storage class of existing key via boto3 – Stack Overflow
upload_fileobj – Boto3 1.34.135 documentation (amazonaws.com)
Leave a Reply