Usage
Description
Theget command reads your cdktf.json configuration and generates fully-typed TypeScript classes for the specified providers and modules. These bindings are placed in the output directory (default: .gen).
Options
| Option | Type | Description | Default |
|---|---|---|---|
--output | string | Output directory for generated bindings | .gen |
--providers | string | Comma-separated list of providers (overrides config) | From cdktf.json |
--modules | string | Comma-separated list of modules (overrides config) | From cdktf.json |
Examples
Basic Usage
cdktf.json.
Custom Output Directory
Override Providers
Generate Specific Module
Configuration
Configure providers and modules in yourcdktf.json: