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

Class: Aws::ConfigService::Types::GetComplianceDetailsByResourceRequest

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 GetComplianceDetailsByResourceRequest data as a hash:

{
  resource_type: "StringWithCharLimit256", # required
  resource_id: "StringWithCharLimit256", # required
  compliance_types: ["COMPLIANT"], # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_typesArray<String>

Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

Returns:

  • (Array<String>)


1573
1574
1575
1576
1577
1578
1579
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1573

class GetComplianceDetailsByResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :compliance_types,
  :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)


1573
1574
1575
1576
1577
1578
1579
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1573

class GetComplianceDetailsByResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :compliance_types,
  :next_token)
  include Aws::Structure
end

#resource_idString

The ID of the AWS resource for which you want compliance information.

Returns:

  • (String)


1573
1574
1575
1576
1577
1578
1579
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1573

class GetComplianceDetailsByResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :compliance_types,
  :next_token)
  include Aws::Structure
end

#resource_typeString

The type of the AWS resource for which you want compliance information.

Returns:

  • (String)


1573
1574
1575
1576
1577
1578
1579
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1573

class GetComplianceDetailsByResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :compliance_types,
  :next_token)
  include Aws::Structure
end