how to copy file from aws sftp server to s3 bucket using aws lambda

519 Views Asked by At

I am trying to copy a file from an sftp server I created on the "aws transfer family" using the aws lambda function (java) and save that file to s3 storage. How can i do this? I would be grateful if anyone could provide some lambda code

1

There are 1 best solutions below

0
On

AWS Transfer family already has functionality for SFTP to be backed by S3. So there is no need to create an additional Lambda function.