property
S3Options.storageClass
storageClass?: 'STANDARD' | 'DEEP_ARCHIVE' | 'EXPRESS_ONEZONE' | 'GLACIER' | 'GLACIER_IR' | 'INTELLIGENT_TIERING' | 'ONEZONE_IA' | 'OUTPOSTS' | 'REDUCED_REDUNDANCY' | 'SNOW' | 'STANDARD_IA'
The storage class for the object. By default, Amazon S3 stores newly created objects in the STANDARD storage class.
// Setting an explicit storage class
const file = s3.file("my-file.json", {
storageClass: "STANDARD_IA"
});