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.

ConfigRuleComplianceFilters

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

type ConfigRuleComplianceFilters struct { AccountId *string `type:"string"` AwsRegion *string `min:"1" type:"string"` ComplianceType *string `type:"string" enum:"ComplianceType"` ConfigRuleName *string `min:"1" type:"string"` }

Filters the compliance results based on account ID, region, compliance type, and rule name.

AccountId

Type: *string

The 12-digit account ID of the source account.

AwsRegion

Type: *string

The source region where the data is aggregated.

ComplianceType

Type: *string

The rule compliance status.

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

ConfigRuleName

Type: *string

The name of the AWS Config rule.

Method

GoString

func (s ConfigRuleComplianceFilters) GoString() string

GoString returns the string representation

SetAccountId

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

SetAccountId sets the AccountId field's value.

SetAwsRegion

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

SetAwsRegion sets the AwsRegion field's value.

SetComplianceType

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

SetComplianceType sets the ComplianceType field's value.

SetConfigRuleName

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

SetConfigRuleName sets the ConfigRuleName field's value.

String

func (s ConfigRuleComplianceFilters) String() string

String returns the string representation

Validate

func (s *ConfigRuleComplianceFilters) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: