Skip to content

PresignAwsUrlOptions

Options for presignAwsUrl.

Defined in: src/utils/aws/sigv4.ts:119

Options for presignAwsUrl.

Extends

  • SigV4BaseOptions

Properties

PropertyTypeDefault valueDescriptionInherited fromDefined in
credentialsAwsCredentialsundefinedCredentials to sign with.SigV4BaseOptions.credentialssrc/utils/aws/sigv4.ts:93
date?DateundefinedSigning time. Defaults to new Date(); injectable for deterministic tests.SigV4BaseOptions.datesrc/utils/aws/sigv4.ts:97
expiresIn?number300 (5 minutes, AWS WebSocket maximum)URL validity window in seconds.-src/utils/aws/sigv4.ts:123
method?string'GET'HTTP method the presigned URL authorizes.-src/utils/aws/sigv4.ts:121
payloadHash?stringSHA-256 of the empty string, which is what AWS WebSocket presigning (Amazon Transcribe streaming) requires. Pass 'UNSIGNED-PAYLOAD' for S3-style presigning.Hex payload hash placed in the canonical request.-src/utils/aws/sigv4.ts:131
regionstringundefinedAWS region used in the credential scope (e.g. 'us-east-1').SigV4BaseOptions.regionsrc/utils/aws/sigv4.ts:91
servicestringundefinedAWS service identifier used in the credential scope (e.g. 'polly', 'transcribe').SigV4BaseOptions.servicesrc/utils/aws/sigv4.ts:89
urlstringundefinedFull request URL including any query string.SigV4BaseOptions.urlsrc/utils/aws/sigv4.ts:87

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency