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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

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, and it 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:



87
88
89
90
91
92
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 87

class ComplianceByResource < Struct.new(
  :resource_type,
  :resource_id,
  :compliance)
  include Aws::Structure
end

#resource_idString

The ID of the AWS resource that was evaluated.

Returns:

  • (String)


87
88
89
90
91
92
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 87

class ComplianceByResource < Struct.new(
  :resource_type,
  :resource_id,
  :compliance)
  include Aws::Structure
end

#resource_typeString

The type of the AWS resource that was evaluated.

Returns:

  • (String)


87
88
89
90
91
92
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 87

class ComplianceByResource < Struct.new(
  :resource_type,
  :resource_id,
  :compliance)
  include Aws::Structure
end