AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

EvaluationResult

import "github.com/aws/aws-sdk-go/service/configservice"

type EvaluationResult struct { Annotation *string `min:"1" type:"string"` ComplianceType *string `type:"string" enum:"ComplianceType"` ConfigRuleInvokedTime *time.Time `type:"timestamp"` EvaluationResultIdentifier *EvaluationResultIdentifier `type:"structure"` ResultRecordedTime *time.Time `type:"timestamp"` ResultToken *string `type:"string"` }

The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.

Annotation

Type: *string

Supplementary information about how the evaluation determined the compliance.

ComplianceType

Type: *string

Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.

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

ConfigRuleInvokedTime

Type: *time.Time

The time when the AWS Config rule evaluated the AWS resource.

EvaluationResultIdentifier

Uniquely identifies an evaluation result.

ResultRecordedTime

Type: *time.Time

The time when AWS Config recorded the evaluation result.

ResultToken

Type: *string

An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.

Method

GoString

func (s EvaluationResult) GoString() string

GoString returns the string representation

SetAnnotation

func (s *EvaluationResult) SetAnnotation(v string) *EvaluationResult

SetAnnotation sets the Annotation field's value.

SetComplianceType

func (s *EvaluationResult) SetComplianceType(v string) *EvaluationResult

SetComplianceType sets the ComplianceType field's value.

SetConfigRuleInvokedTime

func (s *EvaluationResult) SetConfigRuleInvokedTime(v time.Time) *EvaluationResult

SetConfigRuleInvokedTime sets the ConfigRuleInvokedTime field's value.

SetEvaluationResultIdentifier

func (s *EvaluationResult) SetEvaluationResultIdentifier(v *EvaluationResultIdentifier) *EvaluationResult

SetEvaluationResultIdentifier sets the EvaluationResultIdentifier field's value.

SetResultRecordedTime

func (s *EvaluationResult) SetResultRecordedTime(v time.Time) *EvaluationResult

SetResultRecordedTime sets the ResultRecordedTime field's value.

SetResultToken

func (s *EvaluationResult) SetResultToken(v string) *EvaluationResult

SetResultToken sets the ResultToken field's value.

String

func (s EvaluationResult) String() string

String returns the string representation

On this page: