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.

OrganizationAggregationSource

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

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

This object contains regions to setup the aggregator and an IAM role to retrieve organization details.

AllAwsRegions

Type: *bool

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

AwsRegions

Type: []*string

The source regions being aggregated.

RoleArn

Type: *string

ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.

RoleArn is a required field

Method

GoString

func (s OrganizationAggregationSource) GoString() string

GoString returns the string representation

SetAllAwsRegions

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

SetAllAwsRegions sets the AllAwsRegions field's value.

SetAwsRegions

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

SetAwsRegions sets the AwsRegions field's value.

SetRoleArn

func (s *OrganizationAggregationSource) SetRoleArn(v string) *OrganizationAggregationSource

SetRoleArn sets the RoleArn field's value.

String

func (s OrganizationAggregationSource) String() string

String returns the string representation

Validate

func (s *OrganizationAggregationSource) Validate() error

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

On this page: