ExpiryDuration*time.Duration// Used to set expiry datetime of download links. NB: does not affect deletion of object from S3 bucket.
ExpiryDuration*time.Duration// Used to set expiry datetime of download links. NB: does not affect deletion of object from S3 bucket.
AddContentDispositionbool
AddContentDispositionbool
FileNamestring
FileNamestring// Used to specify the file name (excluding path) for content disposition; if FilePath is not present, it is used as the object key as well.
GenerateFileNameFromPartsbool// Whether the file extension needs to be specified. If true, supply FilePrefix and FileExt.
FilePathstring// The complete file path (including name) used for the object key in S3.
GenerateFileNameFromPartsbool// Whether the file extension needs to be specified. If true, supply FilePrefix and FileExt. Adds a UUID between the prefix and the extension.
FilePrefixstring// Required when GenerateFileNameFromParts is true
FilePrefixstring// Required when GenerateFileNameFromParts is true
FileExtstring// Required when GenerateFileNameFromParts is true
FileExtstring// Required when GenerateFileNameFromParts is true