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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass GetDiscoveredResourceCountsRequest data as a 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 number greater than 100. If you specify 0, AWS Config uses the default.

Returns:

  • (Integer)


2914
2915
2916
2917
2918
2919
# File 'lib/aws-sdk-configservice/types.rb', line 2914

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end

#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)


2914
2915
2916
2917
2918
2919
# File 'lib/aws-sdk-configservice/types.rb', line 2914

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end

#resource_typesArray<String>

The comma-separated list that specifies the resource types that you want 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.

<note markdown=“1”> 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.

</note>

Returns:

  • (Array<String>)


2914
2915
2916
2917
2918
2919
# File 'lib/aws-sdk-configservice/types.rb', line 2914

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  include Aws::Structure
end