cdk doctor - AWS Cloud Development Kit (AWS CDK) v2

This is the AWS CDK v2 Developer Guide. The older CDK v1 entered maintenance on June 1, 2022 and ended support on June 1, 2023.

cdk doctor

Inspect and display useful information about your local AWS CDK project and development environment.

This information can help with troubleshooting CDK issues and should be provided when submitting bug reports.

Usage

$ cdk doctor <options>

Options

For a list of global options that work with all CDK CLI commands, see Global options.

--help, -h BOOLEAN

Show command reference information for the cdk doctor command.

Examples

Simple example of the cdk doctor command

$ cdk doctor ℹ️ CDK Version: 1.0.0 (build e64993a) ℹ️ AWS environment variables: - AWS_EC2_METADATA_DISABLED = 1 - AWS_SDK_LOAD_CONFIG = 1