

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 metadata`
<a name="ref-cli-cmd-metadata"></a>

Display metadata associated with a CDK stack.

## Usage
<a name="ref-cli-cmd-metadata-usage"></a>

```
$ cdk metadata <arguments> <options>
```

## Arguments
<a name="ref-cli-cmd-metadata-args"></a><a name="ref-cli-cmd-metadata-args-stack-name"></a>

 **CDK stack ID**   
The construct ID of the CDK stack from your app to display metadata for.  
 *Type*: String  
 *Required*: No

## Options
<a name="ref-cli-cmd-metadata-options"></a>

For a list of global options that work with all CDK CLI commands, see [Global options](ref-cli-cmd.md#ref-cli-cmd-options).<a name="ref-cli-cmd-metadata-options-help"></a>

 `--help, -h <BOOLEAN>`   
Show command reference information for the `cdk metadata` command.