Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

ListExports - AWS CloudFormation

ListExports

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 Get exported outputs from a deployed CloudFormation stack.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

NextToken

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

Response Elements

The following elements are returned by the service.

Exports.member.N

The output for the ListExports action.

Type: Array of Export objects

NextToken

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Errors

For information about the errors that are common to all actions, see Common Errors.

Examples

ListExports

This example illustrates one usage of ListExports.

Sample Request

https://cloudformation.us-east-1.amazonaws.com/ ?Action=ListExports &Version=2010-05-15 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=[Access key ID and scope] &X-Amz-Date=20160316T233349Z &X-Amz-SignedHeaders=content-type;host &X-Amz-Signature=[Signature]

Sample Response

<ListExportsResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/"> <ListExportsResult> <Exports> <member> <Name>mySampleStack1-SecurityGroupID</Name> <ExportingStackId>arn:aws:cloudformation:us-east-1:123456789012:stack/mySampleStack1/12a3b456-0e10-4ce0-9052-5d484a8c4e5b</ExportingStackId> <Value>sg-0a123b45</Value> </member> <member> <Name>mySampleStack1-SubnetID</Name> <ExportingStackId>arn:aws:cloudformation:us-east-1:123456789012:stack/mySampleStack1/12a3b456-0e10-4ce0-9052-5d484a8c4e5b</ExportingStackId> <Value>subnet-0a123b45</Value> </member> <member> <Name>mySampleStack1-VPCID</Name> <ExportingStackId>arn:aws:cloudformation:us-east-1:123456789012:stack/mySampleStack1/12a3b456-0e10-4ce0-9052-5d484a8c4e5b</ExportingStackId> <Value>vpc-0a123b45</Value> </member> <member> <Name>WebSiteURL</Name> <ExportingStackId>arn:aws:cloudformation:us-east-1:123456789012:stack/myS3StaticSite/12a3b456-0e10-4ce0-9052-5d484a8c4e5b</ExportingStackId> <Value>http://testsite.com.s3-website-us-east-1.amazonaws.com</Value> </member> </Exports> </ListExportsResult> <ResponseMetadata> <RequestId>5ccc7dcd-744c-11e5-be70-1b08c228efb3</RequestId> </ResponseMetadata> </ListExportsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.