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.
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.
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!