2

I am trying to upload the file to the aws bucket which is in our Storage layer. All i need to do is set new endpoint while uploading, In java they use below method to set a custom endpoint, Do we have same thing in nodejs client or SDK as well ??

AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);
AmazonS3 conn = new AmazonS3Client(credentials,clientConfig);
conn.setEndpoint("http://d4.domain.com:80");
4

0 回答 0