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

Returns:

  • (String)


1509
1510
1511
1512
1513
1514
1515
1516
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1509

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


1509
1510
1511
1512
1513
1514
1515
1516
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1509

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


1509
1510
1511
1512
1513
1514
1515
1516
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1509

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)


1509
1510
1511
1512
1513
1514
1515
1516
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1509

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