Skip to content

Returns an array of resources in the organization's accounts that are available to be associated with a resource set

Description

Returns an array of resources in the organization's accounts that are available to be associated with a resource set.

Usage

fms_list_discovered_resources(MemberAccountIds, ResourceType,
  MaxResults, NextToken)

Arguments

  • MemberAccountIds

    [required] The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.

  • ResourceType

    [required] The type of resources to discover.

  • MaxResults

    The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

  • NextToken

    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.

Value

A list with the following syntax:

list(
  Items = list(
    list(
      URI = "string",
      AccountId = "string",
      Type = "string",
      Name = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_discovered_resources(
  MemberAccountIds = list(
    "string"
  ),
  ResourceType = "string",
  MaxResults = 123,
  NextToken = "string"
)