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.

ComplianceByConfigRule

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

type ComplianceByConfigRule struct { Compliance *Compliance `type:"structure"` ConfigRuleName *string `min:"1" type:"string"` }

Indicates whether an AWS Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it. A rule is noncompliant if any of these resources do not comply.

Compliance

Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.

ConfigRuleName

Type: *string

The name of the AWS Config rule.

Method

GoString

func (s ComplianceByConfigRule) GoString() string

GoString returns the string representation

SetCompliance

func (s *ComplianceByConfigRule) SetCompliance(v *Compliance) *ComplianceByConfigRule

SetCompliance sets the Compliance field's value.

SetConfigRuleName

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

SetConfigRuleName sets the ConfigRuleName field's value.

String

func (s ComplianceByConfigRule) String() string

String returns the string representation

On this page: