Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In the AWS SDK v3, the alternative to aws.Endpoint is the client configuration property called "endpoint". It allows users to specify the URL of the endpoint they want to interact with, instead of using the default AWS endpoint. Here's an example of how to set the endpoint configuration property for an S3 client:

const { S3Client } = require("@aws-sdk/client-s3");
const client = new S3Client({ endpoint: "https://custom.s3.endpoint.com" });

This will create an S3 client that interacts with the specified endpoint instead of the default AWS endpoint.