Skip to content

Instantly share code, notes, and snippets.

@danilop
Last active June 11, 2018 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilop/4f1322cfae301da68490930163fc18a9 to your computer and use it in GitHub Desktop.
Save danilop/4f1322cfae301da68490930163fc18a9 to your computer and use it in GitHub Desktop.
Return the list of resources in a CloudFormation Stack
async function listStackResources(stackName) {
console.log("Calling AWS CloudFormation to list Resources for Stack " + stackName);
return await manageApiPagination(CloudFormation, 'listStackResources', {
StackName: stackName
}, 'StackResourceSummaries');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment