AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/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",
}

Constant Summary collapse

SENSITIVE =
[]

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, Config uses the default.

Returns:

  • (Integer)


4725
4726
4727
4728
4729
4730
4731
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4725

class GetDiscoveredResourceCountsRequest < Struct.new(
  :resource_types,
  :limit,
  :next_token)
  SENSITIVE = []
  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)


4725
4726
4727
4728
4729
4730
4731
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4725

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

#resource_typesArray<String>

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

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

If the configuration recorder is turned off, 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>)


4725
4726
4727
4728
4729
4730
4731
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4725

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