You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ConfigService::Types::GetDiscoveredResourceCountsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetDiscoveredResourceCountsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_types: ["StringWithCharLimit256"],
  limit: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

Returns:

  • (Integer)

    The maximum number of ResourceCount objects returned on each page.

#next_tokenString

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Returns:

  • (String)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#resource_typesArray<String>

The comma-separated list that specifies the resource types that you want the AWS Config to return. For example, ("AWS::EC2::Instance", "AWS::IAM::User").

If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account.

If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.

Returns:

  • (Array<String>)

    The comma-separated list that specifies the resource types that you want the AWS Config to return.