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::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 AWS Config rule names, compliance types, AWS 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)


1706
1707
1708
1709
1710
1711
1712
1713
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1706

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 AWS Config rule names.

Returns:

  • (Array<String>)


1706
1707
1708
1709
1710
1711
1712
1713
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1706

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


1706
1707
1708
1709
1710
1711
1712
1713
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1706

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)


1706
1707
1708
1709
1710
1711
1712
1713
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1706

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