Lists the resources from a resource scan¶
Description¶
Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates whether each returned resource is already managed by CloudFormation.
Usage¶
cloudformation_list_resource_scan_resources(ResourceScanId,
ResourceIdentifier, ResourceTypePrefix, TagKey, TagValue, NextToken,
MaxResults)
Arguments¶
-
ResourceScanId[required] The Amazon Resource Name (ARN) of the resource scan.
-
ResourceIdentifierIf specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
-
ResourceTypePrefixIf specified, the returned resources will be of any of the resource types with the specified prefix.
-
TagKeyIf specified, the returned resources will have a matching tag key.
-
TagValueIf specified, the returned resources will have a matching tag value.
-
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_resourcesAPI action will return at most 100 results in each response. The maximum value is 100.
Value¶
A list with the following syntax:
list(
Resources = list(
list(
ResourceType = "string",
ResourceIdentifier = list(
"string"
),
ManagedByStack = TRUE|FALSE
)
),
NextToken = "string"
)