Class: Aws::ConfigService::Types::ConformancePackEvaluationFilters

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

{
  config_rule_names: ["StringWithCharLimit64"],
  compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT, INSUFFICIENT_DATA
  resource_type: "StringWithCharLimit256",
  resource_ids: ["StringWithCharLimit256"],
}

Filters a conformance pack by Config rule names, compliance types, Amazon Web Services resource types, and resource IDs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_typeString

Filters the results by compliance.

The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.

Returns:

  • (String)


1718
1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1718

class ConformancePackEvaluationFilters < Struct.new(
  :config_rule_names,
  :compliance_type,
  :resource_type,
  :resource_ids)
  SENSITIVE = []
  include Aws::Structure
end

#config_rule_namesArray<String>

Filters the results by Config rule names.

Returns:

  • (Array<String>)


1718
1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1718

class ConformancePackEvaluationFilters < Struct.new(
  :config_rule_names,
  :compliance_type,
  :resource_type,
  :resource_ids)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idsArray<String>

Filters the results by resource IDs.

This is valid only when you provide resource type. If there is no resource type, you will see an error.

Returns:

  • (Array<String>)


1718
1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1718

class ConformancePackEvaluationFilters < Struct.new(
  :config_rule_names,
  :compliance_type,
  :resource_type,
  :resource_ids)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

Filters the results by the resource type (for example, "AWS::EC2::Instance").

Returns:

  • (String)


1718
1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1718

class ConformancePackEvaluationFilters < Struct.new(
  :config_rule_names,
  :compliance_type,
  :resource_type,
  :resource_ids)
  SENSITIVE = []
  include Aws::Structure
end