[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-awstransfer-s3-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":35,"level":36,"meta":37,"patternArch":38,"resources":58,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fawstransfer-s3-sam.json","Selective file transfer between SFTP server & Amazon S3 using AWS Transfer Family",null,{"text":8},[9,10,11],"Delete the Amazon S3 input bucket content: \u003Ccode>aws s3 rm s3:\u002F\u002F{MySFTPServerS3Bucket} --recursive --region {my-region}\u003C\u002Fcode>","Delete the Amazon S3 output bucket content: \u003Ccode>aws s3 rm s3:\u002F\u002F{MyLocalS3Bucket} --recursive --region {my-region}\u003C\u002Fcode>","\u003Ccode>bash undeploy.sh\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":15},[16,17],"See the GitHub repo for detailed deployment instructions.","bash deploy.sh","This pattern shows how to use AWS Transfer Family to list and transfer specific files between an SFTP server and Amazon S3 bucket.","json","AWS SAM",{"template":22},{"repoURL":23,"templateURL":24,"projectFolder":25,"templateFile":26},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fawstransfer-s3-sam","serverless-patterns\u002Fawstransfer-s3-sam","awstransfer-s3-sam","template-sftp-server.yaml",{"headline":28,"text":29},"How it works",[30,31,32,33,34],"The remote SFTP server is simulated using AWS Transfer Family SFTP Server for this pattern. In a real use case, this can be any remote SFTP server outside of AWS.","SFTP Connector is configured to connect to the remote server with Amazon S3 bucket using SFTP protocol. The authentication is done using SSH Key based handshake.","Amazon S3 bucket is used for file storage on the AWS side.","User can list files on the remote server and selectively transfer files from the remote server to the Amazon S3 bucket using AWS Transfer Family API or CLI commands.","User can also transfer files from Amazon S3 to the remote server using the AWS Transfer Family API or CLI commands.","YAML","200",{},{"icon3":39,"icon1":44,"icon2":48,"line1":52,"line2":56},{"x":40,"y":41,"service":42,"label":43},20,50,"icon-filesystem","Remote SFTP Server",{"x":45,"y":41,"service":46,"label":47},52,"sftp","AWS SFTP Connector",{"x":49,"y":41,"service":50,"label":51},80,"s3","Amazon S3 bucket",{"from":53,"to":54,"label":55},"icon1","icon2","",{"from":57,"to":53,"label":55},"icon3",{"bullets":59},[60,63],{"text":61,"link":62},"Getting started with AWS Transfer Family server endpoints","https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fgetting-started.html",{"text":64,"link":65},"Configure SFTP connectors","https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fconfigure-sftp-connector.html","patterns\u002Fawstransfer-s3-sam",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","wHxPYIYkiAEhSPkQRXPgTTmIlt0PXJVQCqLCsWUGPpQ",1782038101967]