Daniel-t / node-red-contrib-aws

A collection of Node-RED nodes for AWS.
Apache License 2.0
57 stars 59 forks source link

How do I configure the endpoint? #56

Closed justinmchase closed 5 years ago

justinmchase commented 5 years ago

Endpoint: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Endpoint.html

I need to configure endpoint, s3BucketEndpoint and s3ForcePathStyle. I'm not seeing how to configure things. I see how to configure region and access keys but there are tons of other configuration variables so I'm confused.

Example code:

const s3 = new S3({
  region: 'us-east-1',
  endpoint: 'http://localhost:4569',
  s3BucketEndpoint: true,
  s3ForcePathStyle: true
})
justinmchase commented 5 years ago

After poking around in the code, based on this line it seems the answer is that the way to configure the endpoint will be to first create a pull request ;)

I'll evaluate from there, thanks.