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.

ConfigRuleEvaluationStatus

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

type ConfigRuleEvaluationStatus struct { ConfigRuleArn *string `type:"string"` ConfigRuleId *string `type:"string"` ConfigRuleName *string `min:"1" type:"string"` FirstActivatedTime *time.Time `type:"timestamp"` FirstEvaluationStarted *bool `type:"boolean"` LastErrorCode *string `type:"string"` LastErrorMessage *string `type:"string"` LastFailedEvaluationTime *time.Time `type:"timestamp"` LastFailedInvocationTime *time.Time `type:"timestamp"` LastSuccessfulEvaluationTime *time.Time `type:"timestamp"` LastSuccessfulInvocationTime *time.Time `type:"timestamp"` }

Status information for your AWS managed Config rules. The status includes information such as the last time the rule ran, the last time it failed, and the related error for the last failure.

This action does not return status information about custom AWS Config rules.

ConfigRuleArn

Type: *string

The Amazon Resource Name (ARN) of the AWS Config rule.

ConfigRuleId

Type: *string

The ID of the AWS Config rule.

ConfigRuleName

Type: *string

The name of the AWS Config rule.

FirstActivatedTime

Type: *time.Time

The time that you first activated the AWS Config rule.

FirstEvaluationStarted

Type: *bool

Indicates whether AWS Config has evaluated your resources against the rule at least once.

  • true - AWS Config has evaluated your AWS resources against the rule at least once.

  • false - AWS Config has not once finished evaluating your AWS resources against the rule.

LastErrorCode

Type: *string

The error code that AWS Config returned when the rule last failed.

LastErrorMessage

Type: *string

The error message that AWS Config returned when the rule last failed.

LastFailedEvaluationTime

Type: *time.Time

The time that AWS Config last failed to evaluate your AWS resources against the rule.

LastFailedInvocationTime

Type: *time.Time

The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.

LastSuccessfulEvaluationTime

Type: *time.Time

The time that AWS Config last successfully evaluated your AWS resources against the rule.

LastSuccessfulInvocationTime

Type: *time.Time

The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.

Method

GoString

func (s ConfigRuleEvaluationStatus) GoString() string

GoString returns the string representation

SetConfigRuleArn

func (s *ConfigRuleEvaluationStatus) SetConfigRuleArn(v string) *ConfigRuleEvaluationStatus

SetConfigRuleArn sets the ConfigRuleArn field's value.

SetConfigRuleId

func (s *ConfigRuleEvaluationStatus) SetConfigRuleId(v string) *ConfigRuleEvaluationStatus

SetConfigRuleId sets the ConfigRuleId field's value.

SetConfigRuleName

func (s *ConfigRuleEvaluationStatus) SetConfigRuleName(v string) *ConfigRuleEvaluationStatus

SetConfigRuleName sets the ConfigRuleName field's value.

SetFirstActivatedTime

func (s *ConfigRuleEvaluationStatus) SetFirstActivatedTime(v time.Time) *ConfigRuleEvaluationStatus

SetFirstActivatedTime sets the FirstActivatedTime field's value.

SetFirstEvaluationStarted

func (s *ConfigRuleEvaluationStatus) SetFirstEvaluationStarted(v bool) *ConfigRuleEvaluationStatus

SetFirstEvaluationStarted sets the FirstEvaluationStarted field's value.

SetLastErrorCode

func (s *ConfigRuleEvaluationStatus) SetLastErrorCode(v string) *ConfigRuleEvaluationStatus

SetLastErrorCode sets the LastErrorCode field's value.

SetLastErrorMessage

func (s *ConfigRuleEvaluationStatus) SetLastErrorMessage(v string) *ConfigRuleEvaluationStatus

SetLastErrorMessage sets the LastErrorMessage field's value.

SetLastFailedEvaluationTime

func (s *ConfigRuleEvaluationStatus) SetLastFailedEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus

SetLastFailedEvaluationTime sets the LastFailedEvaluationTime field's value.

SetLastFailedInvocationTime

func (s *ConfigRuleEvaluationStatus) SetLastFailedInvocationTime(v time.Time) *ConfigRuleEvaluationStatus

SetLastFailedInvocationTime sets the LastFailedInvocationTime field's value.

SetLastSuccessfulEvaluationTime

func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus

SetLastSuccessfulEvaluationTime sets the LastSuccessfulEvaluationTime field's value.

SetLastSuccessfulInvocationTime

func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulInvocationTime(v time.Time) *ConfigRuleEvaluationStatus

SetLastSuccessfulInvocationTime sets the LastSuccessfulInvocationTime field's value.

String

func (s ConfigRuleEvaluationStatus) String() string

String returns the string representation

On this page: