discovered_resources
Creates, updates, deletes, gets or lists a discovered_resources resource.
Overview
| Name | discovered_resources |
| Type | Resource |
| Id | aws.fms.discovered_resources |
Fields
The following fields are returned by SELECT queries:
- list_discovered_resources
| Name | Datatype | Description |
|---|---|---|
items | array | Details of the resources that were discovered. |
next_token | string | When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request. (pattern: <code>^([\p{L}\p{Z}\p{N}_.:/=+-@]*)$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_discovered_resources | select | region | Returns an array of resources in the organization's accounts that are available to be associated with a resource set. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_discovered_resources
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
SELECT
items,
next_token
FROM aws.fms.discovered_resources
WHERE region = '{{ region }}' -- required
;