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: "BaseResourceId", # required
  compliance_types: ["COMPLIANT"], # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
  next_token: "String",
}

Constant Summary collapse

SENSITIVE =
[]

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


4555
4556
4557
4558
4559
4560
4561
4562
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4555

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


4555
4556
4557
4558
4559
4560
4561
4562
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4555

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

#resource_idString

The ID of the Amazon Web Services resource for which you want compliance information.

Returns:

  • (String)


4555
4556
4557
4558
4559
4560
4561
4562
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4555

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

#resource_typeString

The type of the Amazon Web Services resource for which you want compliance information.

Returns:

  • (String)


4555
4556
4557
4558
4559
4560
4561
4562
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4555

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