CloudFormation / Client / list_imports

list_imports#

CloudFormation.Client.list_imports(**kwargs)#

Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.

For more information about importing an exported output value, see the Fn::ImportValue function.

See also: AWS API Documentation

Request Syntax

response = client.list_imports(
    ExportName='string',
    NextToken='string'
)
Parameters:
  • ExportName (string) –

    [REQUIRED]

    The name of the exported output value. CloudFormation returns the stack names that are importing this value.

  • NextToken (string) – A string (provided by the ListImports response output) that identifies the next page of stacks that are importing the specified exported output value.

Return type:

dict

Returns:

Response Syntax

{
    'Imports': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Imports (list) –

      A list of stack names that are importing the specified exported output value.

      • (string) –

    • NextToken (string) –

      A string that identifies the next page of exports. If there is no additional page, this value is null.