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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3936
3937
3938
3939
3940
3941
3942
3943
3944
# File 'lib/aws-sdk-configservice/types.rb', line 3936

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)


3936
3937
3938
3939
3940
3941
3942
3943
3944
# File 'lib/aws-sdk-configservice/types.rb', line 3936

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)


3936
3937
3938
3939
3940
3941
3942
3943
3944
# File 'lib/aws-sdk-configservice/types.rb', line 3936

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)


3936
3937
3938
3939
3940
3941
3942
3943
3944
# File 'lib/aws-sdk-configservice/types.rb', line 3936

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)


3936
3937
3938
3939
3940
3941
3942
3943
3944
# File 'lib/aws-sdk-configservice/types.rb', line 3936

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