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

Class: Aws::ConfigService::Types::ComplianceByResource

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

Overview

Indicates whether an AWS resource that is evaluated according to one or more AWS Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

Instance Attribute Summary collapse

Instance Attribute Details

#complianceTypes::Compliance

Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.

Returns:

  • (Types::Compliance)

    Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.

#resource_idString

The ID of the AWS resource that was evaluated.

Returns:

  • (String)

    The ID of the AWS resource that was evaluated.

#resource_typeString

The type of the AWS resource that was evaluated.

Returns:

  • (String)

    The type of the AWS resource that was evaluated.