cdk validate adds an unstable online mode
Introduced 2026-06-15 · score 0.93
HOW TO USE IT
When checking a CDK project's configuration online, run `cdk validate --online` with the `validate` unstable feature enabled.
cdk --unstable=validate validate --onlineWHY THIS HELPS
Validate a CDK project online when checking its configuration.
REQUIREMENTS AND LIMITATIONS
- Version: 2.1127.0
- --unstable=validate (required): Opts in to the unstable `validate` command; the CLI global option takes a feature name.
- --online (required): Enables online validation. The official documentation found does not detail this flag's behavior or parameters.
- Prerequisite: Use an AWS CDK CLI version that includes `cdk validate`; the release note introduces the command in v2.1127.0.
- The `cdk validate` command is behind the `--unstable` flag.
FIRST-PARTY EVIDENCE
- https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1127.0
- https://github.com/aws/aws-cdk-cli/blob/main/packages/aws-cdk/README.md
Check the installed version and the source before using it. Entry JSON