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.

AccountAggregationSource

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

type AccountAggregationSource struct { AccountIds []*string `min:"1" type:"list" required:"true"` AllAwsRegions *bool `type:"boolean"` AwsRegions []*string `min:"1" type:"list"` }

A collection of accounts and regions.

AccountIds

Type: []*string

The 12-digit account ID of the account being aggregated.

AccountIds is a required field

AllAwsRegions

Type: *bool

If true, aggregate existing AWS Config regions and future regions.

AwsRegions

Type: []*string

The source regions being aggregated.

Method

GoString

func (s AccountAggregationSource) GoString() string

GoString returns the string representation

SetAccountIds

func (s *AccountAggregationSource) SetAccountIds(v []*string) *AccountAggregationSource

SetAccountIds sets the AccountIds field's value.

SetAllAwsRegions

func (s *AccountAggregationSource) SetAllAwsRegions(v bool) *AccountAggregationSource

SetAllAwsRegions sets the AllAwsRegions field's value.

SetAwsRegions

func (s *AccountAggregationSource) SetAwsRegions(v []*string) *AccountAggregationSource

SetAwsRegions sets the AwsRegions field's value.

String

func (s AccountAggregationSource) String() string

String returns the string representation

Validate

func (s *AccountAggregationSource) Validate() error

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

On this page: