JSPM

@aws-sdk/signature-v4-multi-region

3.692.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14665994
  • Score
    100M100P100Q399130F
  • License Apache-2.0

Package Exports

  • @aws-sdk/signature-v4-multi-region
  • @aws-sdk/signature-v4-multi-region/dist-cjs/index.js
  • @aws-sdk/signature-v4-multi-region/dist-es/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-sdk/signature-v4-multi-region) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@aws-sdk/signature-v4-multi-region

NPM version NPM downloads

See also https://github.com/aws/aws-sdk-js-v3/tree/main#functionality-requiring-aws-common-runtime-crt.

Usage

This package contains optional dependency @aws-sdk/signature-v4-crt. You need to install this package explicitly to sign an un-regional request using SigV4a algorithm. The package contains Node.js native implementation which requires building at installation. The installed package MAY NOT work if the instance building the package runs a different operating system than the instance running the application.

The @aws-sdk/signature-v4-crt is only supported in Node.js currently because it depends on a native dependency.

Please refer to this issue for more information.

Description

This package provides a SigV4-compatible request signer that wraps a pure-JS SigV4 signer (@aws-sdk/signature-v4) for regional requests, and attempts to call a native implementation of SigV4a signer(@aws-sdk/signature-v4-crt) it the request is not regional.

An un-regional request is identified by the signingRegion parameter. A region is un-regional if the signingRegion parameter is set to *.