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


4486
4487
4488
4489
4490
4491
4492
4493
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4486

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)


4486
4487
4488
4489
4490
4491
4492
4493
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4486

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)


4486
4487
4488
4489
4490
4491
4492
4493
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4486

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)


4486
4487
4488
4489
4490
4491
4492
4493
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 4486

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