A Node.js application which creates an S3 bucket and uploads a file with permissions and metadata.
This example uses the createBucket
and upload
methods of the AWS SDK for JavaScript.
See API doocumentation for detailed information; https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
To see the available parameters for the s3 upload
method, see the paramObjects.js
file.