class S3CompatibleEndpointResolver
implements EndpointResolver
import { S3CompatibleEndpointResolver } from "https://dotland.deno.dev/x/aws_api@v0.5.0/client/mod.ts";
Resolves S3 requests using a simplified regional scheme. This is tested with Vultr Objects and should be compatible with other similar offerings, such as Linode Objects. The service is expected to have regional subdomains, and support virtualhost-style bucket URLs. Requests for any other APIs such as EC2 will be rejected.
Example: [example-bucket.]ewr1.vultrobjects.com Code: new S3CompatibleEndpointResolver('vultrobjects.com')
For services without those URL features please consider setting a fixed endpoint instead.
Methods
resolveUrl(parameters: EndpointParameters): ResolvedEndpoint