CloudFormation / Client / list_exports

list_exports#

CloudFormation.Client.list_exports(**kwargs)#

Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function.

For more information, see CloudFormation export stack output values.

See also: AWS API Documentation

Request Syntax

response = client.list_exports(
    NextToken='string'
)
Parameters:

NextToken (string) – A string (provided by the ListExports response output) that identifies the next page of exported output values that you asked to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'Exports': [
        {
            'ExportingStackId': 'string',
            'Name': 'string',
            'Value': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Exports (list) –

      The output for the ListExports action.

      • (dict) –

        The Export structure describes the exported output values for a stack.

        • ExportingStackId (string) –

          The stack that contains the exported output name and value.

        • Name (string) –

          The name of exported output value. Use this name and the Fn::ImportValue function to import the associated value into other stacks. The name is defined in the Export field in the associated stack’s Outputs section.

        • Value (string) –

          The value of the exported output, such as a resource physical ID. This value is defined in the Export field in the associated stack’s Outputs section.

    • NextToken (string) –

      If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null.