Skip to content

Latest commit

 

History

History
 
 

aws-node-s3-file-replicator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

AWS S3 File Replicator

This example creates 2 AWS S3 buckets and copies files in one bucket to the other. It's written in Node.js

Unless you use the existing S3 bucket plugin, CloudFormation won't let you use an existing AWS S3 bucket.

In Serverless Framework, when you have function s3 events, they will automatically create a new AWS S3 bucket, if it doesn't exist already. This is where the inputs bucket comes from. The outputs bucket is created in the resources section.

Simply upload a file to the inputs bucket (e.g. using the AWS S3 console) and see it be instantly transferred to the outputs bucket.