How awslabs/landing-zone-accelerator-on-aws works
Landing Zone Accelerator (LZA) is a CDK-based product for configuring and governing multi-account AWS landing zones. Users supply configuration files, which are managed and validated before the accelerator’s staged CDK application deploys account, security, and network capabilities. It also supports importing existing ASEA resources. The README documents the package responsibilities and product capabilities; sampled source confirms stage names, pipeline construction, and ASEA stack behavior. Some subsystem paths are directory-level because their individual implementations were not sampled.
Main entry points: accelerator-stack.ts CDK stacks · accelerator.ts Accelerator app · config Config library · pipeline.ts Deployment pipeline
Components 19
Configuration
- Config library
source/packages/@aws-accelerator/config - Config models
source/packages/@aws-accelerator/config/lib/models/network-config.ts - Config validation
source/packages/@aws-accelerator/config/validator/network-config-validator
Deployment
- Config repository
source/packages/@aws-accelerator/accelerator/lib/config-repository.ts - Accelerator app
source/packages/@aws-accelerator/accelerator/lib/accelerator.ts - Deployment stages
source/packages/@aws-accelerator/accelerator/lib/accelerator-stage.ts - Deployment pipeline
source/packages/@aws-accelerator/accelerator/lib/pipeline.ts - CDK stacks
source/packages/@aws-accelerator/accelerator/lib/stacks/accelerator-stack.ts - Installer stack
source/packages/@aws-accelerator/installer/lib/installer-stack.ts
Landing Zone Capabilities
- Organizations and accounts
source/packages/@aws-accelerator/accelerator/lib/stacks/accounts-stack.ts - Network topology
source/packages/@aws-accelerator/accelerator/lib/stacks/network-stacks/network-stack.ts - Security controls
source/packages/@aws-accelerator/accelerator/lib/stacks/security-stack.ts - Identity Center
source/packages/@aws-accelerator/accelerator/lib/stacks/identity-center-stack.ts - Logging foundation
source/packages/@aws-accelerator/accelerator/lib/stacks/logging-stack.ts - Operations
source/packages/@aws-accelerator/accelerator/lib/stacks/operations-stack.ts - ASEA resource import
source/packages/@aws-accelerator/accelerator/lib/stacks/import-asea-resources-stack.ts
Reusable Components
- Reusable CDK constructs
source/packages/@aws-accelerator/constructs
Other components
- Platform operator
- AWS environment
Connections 20
- Platform operator → Config library: supplies configuration
- Config library → Config models: defines models
source/packages/@aws-accelerator/config/lib/network-config.ts - Config validation → Config library: validates network config
source/packages/@aws-accelerator/config/validator/network-config-validator/firewall-manager-validator.ts - Config repository → Config library: manages config files
- Accelerator app → Config repository: loads configuration
- Accelerator app → Deployment stages: uses stage names
source/packages/@aws-accelerator/accelerator/lib/accelerator-stage.ts - Deployment pipeline → Deployment stages: runs accelerator stages
source/packages/@aws-accelerator/accelerator/lib/pipeline.ts - Deployment pipeline → Reusable CDK constructs: creates pipeline resources
source/packages/@aws-accelerator/accelerator/lib/pipeline.ts - Accelerator app → CDK stacks: defines deployment stacks
- Installer stack → Accelerator app: installs accelerator
- CDK stacks → Organizations and accounts: deploys account capabilities
- CDK stacks → Network topology: deploys networking
- CDK stacks → Security controls: deploys security controls
- CDK stacks → Identity Center: deploys identity services
- CDK stacks → Logging foundation: deploys logging
- CDK stacks → Operations: deploys operations
- CDK stacks → ASEA resource import: imports existing resources
source/packages/@aws-accelerator/accelerator/lib/stacks/import-asea-resources-stack.ts - ASEA resource import → Network topology: imports network resources
source/packages/@aws-accelerator/accelerator/lib/stacks/import-asea-resources-stack.ts - CDK stacks → AWS environment: provisions infrastructure
- Reusable CDK constructs → AWS environment: provide CDK resources