Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/cloudformation/list-imports.rst
1567 views
**To list imports**

The following ``list-imports`` example lists the stacks that import the specified export. To get the list of available exports, use the ``list-exports`` command. ::

    aws cloudformation list-imports \
        --export-name private-vpc-vpcid

Output::

    {
        "Imports": [
            "my-database-stack"
        ]
    }