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

Class: Aws::ConfigService::Types::GetComplianceSummaryByResourceTypeRequest

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

Overview

Note:

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

{
  resource_types: ["StringWithCharLimit256"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_typesArray<String>

Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

For this request, you can specify an AWS resource type such as AWS::EC2::Instance, and you can specify that the resource type is an AWS account by specifying AWS::::Account.

Returns:

  • (Array<String>)

    Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.