/AWS1/CL_CFS=>LISTDISCOVEREDRESOURCES()
¶
About ListDiscoveredResources¶
Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that Config has discovered, including those that Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.
You can specify either resource IDs or a resource name, but not both, in the same request.
The response is paginated. By default, Config lists 100
resource identifiers on each page. You can customize this number
with the limit
parameter. The response includes a
nextToken
string. To get the next page of results,
run the request again and specify the string for the
nextToken
parameter.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCETYPE
TYPE /AWS1/CFSRESOURCETYPE
/AWS1/CFSRESOURCETYPE
¶
The type of resources that you want Config to list in the response.
Optional arguments:¶
IT_RESOURCEIDS
TYPE /AWS1/CL_CFSRESOURCEIDLIST_W=>TT_RESOURCEIDLIST
TT_RESOURCEIDLIST
¶
The IDs of only those resources that you want Config to list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has discovered. You can list a minimum of 1 resourceID and a maximum of 20 resourceIds.
IV_RESOURCENAME
TYPE /AWS1/CFSRESOURCENAME
/AWS1/CFSRESOURCENAME
¶
The custom name of only those resources that you want Config to list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has discovered.
IV_LIMIT
TYPE /AWS1/CFSLIMIT
/AWS1/CFSLIMIT
¶
The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
IV_INCLUDEDELETEDRESOURCES
TYPE /AWS1/CFSBOOLEAN
/AWS1/CFSBOOLEAN
¶
Specifies whether Config includes deleted resources in the results. By default, deleted resources are not included.
IV_NEXTTOKEN
TYPE /AWS1/CFSNEXTTOKEN
/AWS1/CFSNEXTTOKEN
¶
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.