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.

TargetLocation

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

type TargetLocation struct { Accounts []*string `min:"1" type:"list"` ExecutionRoleName *string `min:"1" type:"string"` Regions []*string `min:"1" type:"list"` TargetLocationMaxConcurrency *string `min:"1" type:"string"` TargetLocationMaxErrors *string `min:"1" type:"string"` }

The combination of AWS Regions and accounts targeted by the current Automation execution.

Accounts

Type: []*string

The AWS accounts targeted by the current Automation execution.

ExecutionRoleName

Type: *string

The Automation execution role used by the currently executing Automation.

Regions

Type: []*string

The AWS Regions targeted by the current Automation execution.

TargetLocationMaxConcurrency

Type: *string

The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently

TargetLocationMaxErrors

Type: *string

The maxium number of errors allowed before the system stops queueing additional Automation executions for the currently executing Automation.

Method

GoString

func (s TargetLocation) GoString() string

GoString returns the string representation

SetAccounts

func (s *TargetLocation) SetAccounts(v []*string) *TargetLocation

SetAccounts sets the Accounts field's value.

SetExecutionRoleName

func (s *TargetLocation) SetExecutionRoleName(v string) *TargetLocation

SetExecutionRoleName sets the ExecutionRoleName field's value.

SetRegions

func (s *TargetLocation) SetRegions(v []*string) *TargetLocation

SetRegions sets the Regions field's value.

SetTargetLocationMaxConcurrency

func (s *TargetLocation) SetTargetLocationMaxConcurrency(v string) *TargetLocation

SetTargetLocationMaxConcurrency sets the TargetLocationMaxConcurrency field's value.

SetTargetLocationMaxErrors

func (s *TargetLocation) SetTargetLocationMaxErrors(v string) *TargetLocation

SetTargetLocationMaxErrors sets the TargetLocationMaxErrors field's value.

String

func (s TargetLocation) String() string

String returns the string representation

Validate

func (s *TargetLocation) Validate() error

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

On this page: