CmdID / aws / aws cloudformation
aws cloudformation list-resource-scan-related-resources
Lists the related resources for a list of resources from a resource scan. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--max-resultsIf the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results.--next-tokenThe token for the next set of items to return.--resource-scan-idThe Amazon Resource Name (ARN) of the resource scan.--resourcesThe list of resources for which you want to get the related resources.