Lists the related resources for a list of resources from a resource scan¶
Description¶
Lists the related resources for a list of resources from a resource scan. The response indicates whether each returned resource is already managed by CloudFormation.
Usage¶
cloudformation_list_resource_scan_related_resources(ResourceScanId,
Resources, NextToken, MaxResults)
Arguments¶
-
ResourceScanId[required] The Amazon Resource Name (ARN) of the resource scan.
-
Resources[required] The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
-
NextTokenThe token for the next set of items to return. (You received this token from a previous call.)
-
MaxResultsIf the number of available results exceeds this maximum, the response includes a
NextTokenvalue that you can use for theNextTokenparameter to get the next set of results. By default thelist_resource_scan_related_resourcesAPI action will return up to 100 results in each response. The maximum value is 100.
Value¶
A list with the following syntax:
list(
RelatedResources = list(
list(
ResourceType = "string",
ResourceIdentifier = list(
"string"
),
ManagedByStack = TRUE|FALSE
)
),
NextToken = "string"
)