AWS Transfer to Amazon S3

AWS Transfer → Amazon S3 (blocked public access)

Create AWS Glue tables from Athena and integrate with S3.

This pattern in CDK offers an example to setup an AWS SFTP server using AWS Transfer for SFTP. You can simply create a server, set up user accounts, and associate the server with one or more Amazon Simple Storage Service (Amazon S3) buckets.
You have fine-grained control over user identity, permissions, and keys. You can create users within Transfer for SFTP. You can also use IAM policies to control the level of access granted to each user.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cdk-awstransfer

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: cdk destroy.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Additional resources

Created by:

Jayesh A Shinde

Jayesh A Shinde

Jayesh is Cloud Application Architect at AWS Pro-serve India.