GetDiscoveredResourceCountsResponse
import type { GetDiscoveredResourceCountsResponse } from "https://aws-api.deno.dev/v0.4/services/configservice.ts?docs=full";
interface GetDiscoveredResourceCountsResponse {
nextToken?: string | null;
resourceCounts?: ResourceCount[] | null;
totalDiscoveredResources?: number | null;
}§Properties
§
nextToken?: string | null
[src]The string that you use in a subsequent request to get the next page of results in a paginated response.
§
resourceCounts?: ResourceCount[] | null
[src]The list of ResourceCount
objects.
Each object is listed in descending order by the number of resources.
§
totalDiscoveredResources?: number | null
[src]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.
Example
- 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.
- You make a call to the
GetDiscoveredResourceCounts
action and specify the resource type,"AWS::EC2::Instances"
, in the request. - Config returns 25 for
totalDiscoveredResources
.