npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aws-mdaa/sftp-server

v1.6.0

Published

MDAA sftp-server module

Downloads

249

Readme

SFTP Server

Note: This documentation is also available in a rendered format here.

Deploys an AWS Transfer Family SFTP server within a VPC with configurable network interfaces, security group ingress controls, and optional internet-facing access. Use this module when you need to provide external partners or legacy systems with a secure SFTP endpoint for uploading data into your AWS environment.


Deployed Resources

This module deploys and integrates the following resources:

  • SFTP Service Role: IAM role assumed by the Transfer Family service for running the server and creating logs within the account
  • SFTP Server Security Group: Controls network connectivity to the SFTP server. Bound to VPC network interfaces.
  • SFTP Transfer Server: Transfer Family SFTP server bound to the specified VPC and subnets, with optional public-facing Elastic IPs

SFTPServer


Related Modules

  • SFTP Users — Deploy SFTP user credentials and S3 home directory mappings for the server deployed here
  • Data Lake — SFTP users can upload data directly into data lake S3 buckets
  • DataSync — Alternative data transfer method for automated, scheduled data movement

Security/Compliance Details

This module is designed in alignment with MDAA security/compliance principles and CDK nag rulesets. Additional review is recommended prior to production deployment, ensuring organization-specific compliance requirements are met.

  • Encryption in Transit:
    • All SFTP data transfer encrypted via SSH/SFTP protocol
  • Least Privilege:
    • Dedicated IAM service role with scoped permissions for Transfer Family operations and CloudWatch logging
  • Network Isolation:
    • Server is VPC-bound with security group controlling all inbound access
    • All ingress denied by default
    • Only explicitly configured CIDR ranges are allowed on port 22

AWS Service Endpoints

The following VPC endpoints may be required if public AWS service endpoint connectivity is unavailable (e.g., private subnets without NAT gateway, firewalled environments, or PrivateLink-only architectures):

| AWS Service | Endpoint Service Name | Type | | --------------- | ---------------------------------------- | --------- | | Transfer Family | com.amazonaws.{region}.transfer.server | Interface | | CloudWatch Logs | com.amazonaws.{region}.logs | Interface | | S3 | com.amazonaws.{region}.s3 | Gateway | | STS | com.amazonaws.{region}.sts | Interface |


Configuration

MDAA Config

Add the following snippet to your mdaa.yaml under the modules: section of a domain/env in order to use this module:

sftp-server: # Module Name can be customized
  module_path: '@aws-mdaa/sftp-server' # Must match module NPM package name
  module_configs:
    - ./sftp-server.yaml # Filename/path can be customized

Module Config Samples and Variants

Copy the contents of the relevant sample config below into the ./sftp-server.yaml file referenced in the MDAA config snippet above.

Minimal Configuration

Contains only the required properties for deploying an AWS Transfer Family SFTP server with VPC networking and CIDR-based access control. Start here for a basic private SFTP server in your VPC.

sample-config-minimal.yaml

# Contents available via above link
--8<-- "target/docs/packages/apps/utility/sftp-server-app/sample_configs/sample-config-minimal.yaml"

Comprehensive Configuration

Deploys an AWS Transfer Family SFTP server with VPC networking, ingress CIDR restrictions, optional public IP allocation, and a custom security policy. Start here when evaluating all available options for public-facing access, security policies, and multi-subnet deployment.

sample-config-comprehensive.yaml

# Contents available via above link
--8<-- "target/docs/packages/apps/utility/sftp-server-app/sample_configs/sample-config-comprehensive.yaml"

Config Schema Docs