Class: Aws::ConfigService::Types::ExternalEvaluation

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 ExternalEvaluation data as a hash:

{
  compliance_resource_type: "StringWithCharLimit256", # required
  compliance_resource_id: "BaseResourceId", # required
  compliance_type: "COMPLIANT", # required, accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
  annotation: "StringWithCharLimit256",
  ordering_timestamp: Time.now, # required
}

Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#annotationString

Supplementary information about the reason of compliance. For example, this task was completed on a specific date.

Returns:

  • (String)


3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 3672

class ExternalEvaluation < Struct.new(
  :compliance_resource_type,
  :compliance_resource_id,
  :compliance_type,
  :annotation,
  :ordering_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#compliance_resource_idString

The evaluated compliance resource ID. AWS Config accepts only AWS account ID.

Returns:

  • (String)


3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 3672

class ExternalEvaluation < Struct.new(
  :compliance_resource_type,
  :compliance_resource_id,
  :compliance_type,
  :annotation,
  :ordering_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#compliance_resource_typeString

The evaluated compliance resource type. AWS Config accepts AWS::::Account resource type.

Returns:

  • (String)


3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 3672

class ExternalEvaluation < Struct.new(
  :compliance_resource_type,
  :compliance_resource_id,
  :compliance_type,
  :annotation,
  :ordering_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#compliance_typeString

The compliance of the AWS resource. The valid values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

Returns:

  • (String)


3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 3672

class ExternalEvaluation < Struct.new(
  :compliance_resource_type,
  :compliance_resource_id,
  :compliance_type,
  :annotation,
  :ordering_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#ordering_timestampTime

The time when the compliance was recorded.

Returns:

  • (Time)


3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 3672

class ExternalEvaluation < Struct.new(
  :compliance_resource_type,
  :compliance_resource_id,
  :compliance_type,
  :annotation,
  :ordering_timestamp)
  SENSITIVE = []
  include Aws::Structure
end