Class: Aws::ConfigService::Types::GetDiscoveredResourceCountsResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::GetDiscoveredResourceCountsResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#next_token ⇒ String
The string that you use in a subsequent request to get the next page of results in a paginated response.
-
#resource_counts ⇒ Array<Types::ResourceCount>
The list of ‘ResourceCount` objects.
-
#total_discovered_resources ⇒ Integer
The total number of resources that Config is recording in the region for your account.
Instance Attribute Details
#next_token ⇒ String
The string that you use in a subsequent request to get the next page of results in a paginated response.
4905 4906 4907 4908 4909 4910 4911 |
# File 'lib/aws-sdk-configservice/types.rb', line 4905 class GetDiscoveredResourceCountsResponse < Struct.new( :total_discovered_resources, :resource_counts, :next_token) SENSITIVE = [] include Aws::Structure end |
#resource_counts ⇒ Array<Types::ResourceCount>
The list of ‘ResourceCount` objects. Each object is listed in descending order by the number of resources.
4905 4906 4907 4908 4909 4910 4911 |
# File 'lib/aws-sdk-configservice/types.rb', line 4905 class GetDiscoveredResourceCountsResponse < Struct.new( :total_discovered_resources, :resource_counts, :next_token) SENSITIVE = [] include Aws::Structure end |
#total_discovered_resources ⇒ Integer
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`.
4905 4906 4907 4908 4909 4910 4911 |
# File 'lib/aws-sdk-configservice/types.rb', line 4905 class GetDiscoveredResourceCountsResponse < Struct.new( :total_discovered_resources, :resource_counts, :next_token) SENSITIVE = [] include Aws::Structure end |