odysseyscience / react-s3-uploader

React component that renders an <input type="file"/> and automatically uploads to an S3 bucket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StorageClass reduced redundancy not set

moparlakci opened this issue · comments

Hi there
I am trying to change the storage class to Reduced Redundancy.

When I set the StorageClass it doesn't change it, why not?
I tried with the AWS.S3 object also but without success.

const s3route = s3router({ bucket: "mybucket", region: 'eu-central-1', signatureVersion: 'v4', headers: {'Access-Control-Allow-Origin': '*'}, ACL: 'public-read', StorageClass: "REDUCED_REDUNDANCY", uniquePrefix: true });

Could you please help me?