You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ConformancePackEvaluationFilters as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#compliance_typeString

Filters the results by compliance.

The allowed values are COMPLIANT and NON_COMPLIANT.

Possible values:

  • COMPLIANT
  • NON_COMPLIANT

Returns:

  • (String)

    Filters the results by compliance.

#config_rule_namesArray<String>

Filters the results by AWS Config rule names.

Returns:

  • (Array<String>)

    Filters the results by AWS Config rule names.

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

    Filters the results by resource IDs.

#resource_typeString

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

Returns:

  • (String)

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