aws-cdk.aws-fsx
The CDK Construct Library for AWS::FSx
What it is and what it does
This is an AWS CDK v1 construct library for Amazon FSx, a fully managed file storage service. It provides Python classes to define FSx file systems declaratively as part of your infrastructure-as-code stack, supporting both Lustre (for high-performance computing, machine learning, and video processing workloads) and Windows File Server deployments. The library handles VPC integration, security group configuration, and mount-point management through a higher-level abstraction over CloudFormation primitives.
The package is no longer maintained; AWS CDK v1 reached end-of-support on 2023-06-01. While the library remains functional for existing stacks, new projects should use AWS CDK v2 instead. The package depends on eight runtime modules from the CDK ecosystem (EC2, IAM, KMS, core, constructs, jsii, publication, typeguard) and supports Python 3.7 through 3.11.
Use it for:
- Define a Lustre file system for HPC or machine learning workloads as part of a CDK v1 stack
- Provision FSx storage with automatic VPC and security group configuration using infrastructure-as-code
- Mount FSx file systems on EC2 instances by exposing DNS and mount names through CDK constructs
- Import and reference existing FSx file systems into CDK stacks using file system attributes
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides AWS CDK constructs for defining and managing Amazon FSx file systems (Lustre and Windows File Server) as infrastructure-as-code in Python.
No for new projects—AWS CDK v1 is end-of-support as of 2023-06-01 and this package is no longer updated. Migrate to AWS CDK v2 instead. Only install if maintaining an existing CDK v1 stack that already uses this library and migration is not immediately feasible.
Install
aws-cdk-aws-fsx on PyPI
pip
pip install aws-cdk-aws-fsxuv
uv add aws-cdk-aws-fsxpoetry
poetry add aws-cdk-aws-fsxInstalling aws-cdk.aws-fsx
Before you install
Low install friction with standard wheel distribution. Package is marked inactive (Development Status 7) and reached end-of-support on 2023-06-01; AWS CDK v1 is no longer updated and users should migrate to AWS CDK v2.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with attribution.
Quickstart
pip install aws-cdk.aws-fsx
import aws_cdk.aws_fsx as fsx
file_system = fsx.LustreFileSystem(self, "FsxLustreFileSystem",
lustre_configuration=fsx.LustreConfiguration(
deployment_type=fsx.LustreDeploymentType.SCRATCH_2
),
storage_capacity_gi_b=1200,
vpc=vpc,
vpc_subnet=vpc.private_subnets[0]
)
Requires AWS CDK v1 runtime dependencies (aws-cdk.aws-ec2, aws-cdk.aws-iam, aws-cdk.core, constructs). Package is end-of-support; new projects should use AWS CDK v2.
Verify before relying
- Whether migration tooling or compatibility layer exists for moving existing CDK v1 FSx code to v2
- Current adoption rate and community support status for v1 FSx constructs post-EOL
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — aws-cdk.aws-ec2, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.core, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 105,732/month — #12,685 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_fsx-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.aws-efsProvides CDK constructs to define Amazon EFS…
permissive · top 15,000 on PyPI
aws-cdk.aws-ec2Provides AWS CDK constructs for defining EC2…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-route53Provides Python constructs to define and manage…
permissive · top 15,000 on PyPI
aws-cdk.aws-batchDefines AWS Batch infrastructure (compute…
permissive · top 15,000 on PyPI
aws-cdk.aws-sqsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecrProvides AWS CDK constructs for defining,…
permissive · top 15,000 on PyPI
aws-cdk.aws-imagebuilderProvides AWS CDK L1 constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-cognitoProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-elasticloadbalancingProvides AWS CDK constructs for configuring and…
permissive · top 15,000 on PyPI