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

Class: Aws::ConfigService::Types::ConfigRuleComplianceFilters

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

Overview

Note:

When passing ConfigRuleComplianceFilters as input to an Aws::Client method, you can use a vanilla Hash:

{
  config_rule_name: "ConfigRuleName",
  compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
  account_id: "AccountId",
  aws_region: "AwsRegion",
}

Filters the compliance results based on account ID, region, compliance type, and rule name.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The 12-digit account ID of the source account.

Returns:

  • (String)

    The 12-digit account ID of the source account.

#aws_regionString

The source region where the data is aggregated.

Returns:

  • (String)

    The source region where the data is aggregated.

#compliance_typeString

The rule compliance status.

For the ConfigRuleComplianceFilters data type, AWS Config supports only COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and the INSUFFICIENT_DATA values.

Possible values:

  • COMPLIANT
  • NON_COMPLIANT
  • NOT_APPLICABLE
  • INSUFFICIENT_DATA

Returns:

  • (String)

    The rule compliance status.

#config_rule_nameString

The name of the AWS Config rule.

Returns:

  • (String)

    The name of the AWS Config rule.