Amazon Config · JSON Structure

Config Get Discovered Resource Counts Response Structure

GetDiscoveredResourceCountsResponse schema

Type: object Properties: 3
AuditingComplianceConfiguration ManagementGovernanceSecurity

GetDiscoveredResourceCountsResponse is a JSON Structure definition published by Amazon Config, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

totalDiscoveredResources resourceCounts nextToken

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-structure/config-get-discovered-resource-counts-response-structure.json",
  "name": "GetDiscoveredResourceCountsResponse",
  "description": "GetDiscoveredResourceCountsResponse schema",
  "type": "object",
  "properties": {
    "totalDiscoveredResources": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Long"
        },
        {
          "description": "<p>The total number of resources that Config is recording in the region for your account. If you specify resource types in the request, Config returns only the total number of resources for those resource types.</p> <p class=\"title\"> <b>Example</b> </p> <ol> <li> <p>Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.</p> </li> <li> <p>You make a call to the <code>GetDiscoveredResourceCounts</code> action and specify the resource type, <code>\"AWS::EC2::Instances\"</code>, in the request.</p> </li> <li> <p>Config returns 25 for <code>totalDiscoveredResources</code>.</p> </li> </ol>"
        }
      ]
    },
    "resourceCounts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceCounts"
        },
        {
          "description": "The list of <code>ResourceCount</code> objects. Each object is listed in descending order by the number of resources."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NextToken"
        },
        {
          "description": "The string that you use in a subsequent request to get the next page of results in a paginated response."
        }
      ]
    }
  }
}