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.

AggregateComplianceByConfigRule

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

type AggregateComplianceByConfigRule struct { AccountId *string `type:"string"` AwsRegion *string `min:"1" type:"string"` Compliance *Compliance `type:"structure"` ConfigRuleName *string `min:"1" type:"string"` }

Indicates whether an AWS Config rule is compliant based on account ID, region, compliance, and rule name.

A rule is compliant if all of the resources that the rule evaluated comply with it. It is noncompliant if any of these resources do not comply.

AccountId

Type: *string

The 12-digit account ID of the source account.

AwsRegion

Type: *string

The source region from where the data is aggregated.

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 AggregateComplianceByConfigRule) GoString() string

GoString returns the string representation

SetAccountId

func (s *AggregateComplianceByConfigRule) SetAccountId(v string) *AggregateComplianceByConfigRule

SetAccountId sets the AccountId field's value.

SetAwsRegion

func (s *AggregateComplianceByConfigRule) SetAwsRegion(v string) *AggregateComplianceByConfigRule

SetAwsRegion sets the AwsRegion field's value.

SetCompliance

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

SetCompliance sets the Compliance field's value.

SetConfigRuleName

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

SetConfigRuleName sets the ConfigRuleName field's value.

String

func (s AggregateComplianceByConfigRule) String() string

String returns the string representation

On this page: