Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestPresigningArguments

Hierarchy

Index

Properties

Optional expiresIn

expiresIn: undefined | number

The number of seconds before the presigned URL expires

Optional signableHeaders

signableHeaders: Set<string>

A set of strings whose members represents headers that should be signed. Any values passed here will override those provided via unsignableHeaders, allowing them to be signed. All headers in the provided request will have their names converted to lower case before signing.

Optional signingDate

signingDate: DateInput

The date and time to be used as signature metadata. This value should be a Date object, a unix (epoch) timestamp, or a string that can be understood by the JavaScript Date constructor.If not supplied, the value returned by new Date() will be used.

Optional signingRegion

signingRegion: undefined | string

The region name to sign the request. It will override the signing region of the signer in current invocation

Optional signingService

signingService: undefined | string

The service signing name. It will override the service name of the signer in current invocation

Optional unhoistableHeaders

unhoistableHeaders: Set<string>

A set of strings whose representing headers that should not be hoisted to presigned request's query string. If not supplied, the presigner moves all the AWS-specific headers (starting with x-amz-) to the request query string. If supplied, these headers remain in the presigned request's header. All headers in the provided request will have their names converted to lower case and then checked for existence in the unhoistableHeaders set.

Optional unsignableHeaders

unsignableHeaders: Set<string>

A set of strings whose members represents headers that cannot be signed. All headers in the provided request will have their names converted to lower case and then checked for existence in the unsignableHeaders set.