AWS CloudFormation

2016/11/22 - AWS CloudFormation - 1 new api methods

Changes  List-imports API is to list all stacks of user's namespace that are using a specific output.

ListImports (new) Link ΒΆ

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

client.list_imports(
    ExportName='string',
    NextToken='string'
)
type ExportName

string

param ExportName

[REQUIRED]

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

type NextToken

string

param NextToken

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

rtype

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.