Scaffold a project with mdaa init
Starting with Secure AI Foundations 1.8.0, the CLI has an init action that scaffolds a new configuration project from a starter kit. init runs interactively: it prompts you to choose a starter kit, fills in the <YOUR_…> placeholder values in the generated config, pins mdaa_version in mdaa.yaml so deploys use the same version that generated the schemas, and writes versioned JSON schemas and module documentation under .mdaa/<version>/ along with AI steering files for Kiro, Claude Code, and GitHub Copilot.
To scaffold a new project into an empty directory, choosing the starter kit interactively:
npx @aws-mdaa/cli init ./my-data-platform
To scaffold a specific starter kit without prompts, pass --starter-kit and --no-prompt:
npx @aws-mdaa/cli init ./my-data-platform --starter-kit basic_datalake --no-prompt
To add the schemas, module documentation, and AI steering files to an existing config directory (one that already contains an mdaa.yaml), use --enhance:
npx @aws-mdaa/cli init ./existing-config --enhance
Files that Secure AI Foundations owns are always regenerated. A user-owned file such as CLAUDE.md that you have edited since it was generated prompts before being overwritten; pass --overwrite to replace those files without prompting, or --no-prompt to leave them untouched.
After scaffolding, edit the generated mdaa.yaml and module config files to match your environment (see the per-starter-kit sections below and the TODO markers described above), then deploy with npx @aws-mdaa/cli deploy.
The following sections provide detailed information about each available starter package, including architecture components, deployment instructions, and usage guidelines.