Sunday, 7 May 2017

It is possible to set custom endpoint in aws-sdk npm module @aws-sdk-js

I am trying to upload the file to the aws bucket which is in our D42 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 node as well ??

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



via Mano bharathi

No comments:

Post a Comment