0

I want to take the backup of lambda code to s3 periodically using node JS code.

i tried searching for Node JS SDk API's, i was not able to find any solution.

It would be great if someone suggest me the solution for this.

Thanks in Advance.

Vishnu Ranganathan
  • 1,277
  • 21
  • 45

1 Answers1

0

lambduh-get-s3-object package can get the work done for you.

This package expects three fields on the passed options object: .srcBucket, .srcKey, and .downloadFilepath

By default this will use the default region the lambda operates in.

Hope this helps!

David R
  • 14,711
  • 7
  • 54
  • 72