A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/latest/guide/ref-cli-cmd-list.html below:

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

cdk list

List all AWS CDK stacks and their dependencies from a CDK app.

Usage
$ cdk list <arguments> <options>
Arguments
CDK stack ID

The construct ID of the CDK stack from your app to perform this command against.

Type: String

Required: No

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 list command.

--long, -l <BOOLEAN>

Display AWS environment information for each stack.

Default value: false

--show-dependencies, -d <BOOLEAN>

Display stack dependency information for each stack.

Default value: false

Examples List all stacks in the CDK app "node bin/main.js"
$ cdk list --app='node bin/main.js'
Foo
Bar
Baz
List all stacks, including AWS environment details for each stack
$ cdk list --app='node bin/main.js' --long
-
    name: Foo
    environment:
        name: 000000000000/bermuda-triangle-1
        account: '000000000000'
        region: bermuda-triangle-1
-
    name: Bar
    environment:
        name: 111111111111/bermuda-triangle-2
        account: '111111111111'
        region: bermuda-triangle-2
-
    name: Baz
    environment:
        name: 333333333333/bermuda-triangle-3
        account: '333333333333'
        region: bermuda-triangle-3

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4