class AwsEndpointResolver
implements EndpointResolver
import { AwsEndpointResolver } from "https://dotland.deno.dev/x/aws_api@v0.8.1/client/endpoints.ts";
The default resolver, designed specifically for Amazon AWS. A couple options provide for:
- disabling upgrades to newer endpoints (on .aws TLS and/or IPv6-enabled)
- forcing regional endpoints (disabling the global endpoint logic)
Otherwise, the URL used is determined fully automatically.
The provided
region
is used to select the AWS partition endpoint.
Several services have separate dual-stack (IPv6-ready) hostnames available. This library will upgrade to the dual-stack hostnames by default, whenever they are known. More info on AWS API IPv6: https://danopia.net/posts/2021/aws-endpoints-with-ipv6.html