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.

CreateStackInstancesInput

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

type CreateStackInstancesInput struct { Accounts []*string `type:"list" required:"true"` OperationId *string `min:"1" type:"string" idempotencyToken:"true"` OperationPreferences *StackSetOperationPreferences `type:"structure"` ParameterOverrides []*Parameter `type:"list"` Regions []*string `type:"list" required:"true"` StackSetName *string `type:"string" required:"true"` }

Accounts

Type: []*string

The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.

Accounts is a required field

OperationId

Type: *string

The unique identifier for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

OperationPreferences

The user-specified preferences for how AWS CloudFormation performs a stack set operation.

For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options).

ParameterOverrides

The Parameter data type.

Regions

Type: []*string

The names of one or more regions where you want to create stack instances using the specified AWS account(s).

Regions is a required field

StackSetName

Type: *string

The name or unique ID of the stack set that you want to create stack instances from.

StackSetName is a required field

Method

GoString

func (s CreateStackInstancesInput) GoString() string

GoString returns the string representation

SetAccounts

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

SetAccounts sets the Accounts field's value.

SetOperationId

func (s *CreateStackInstancesInput) SetOperationId(v string) *CreateStackInstancesInput

SetOperationId sets the OperationId field's value.

SetOperationPreferences

func (s *CreateStackInstancesInput) SetOperationPreferences(v *StackSetOperationPreferences) *CreateStackInstancesInput

SetOperationPreferences sets the OperationPreferences field's value.

SetParameterOverrides

func (s *CreateStackInstancesInput) SetParameterOverrides(v []*Parameter) *CreateStackInstancesInput

SetParameterOverrides sets the ParameterOverrides field's value.

SetRegions

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

SetRegions sets the Regions field's value.

SetStackSetName

func (s *CreateStackInstancesInput) SetStackSetName(v string) *CreateStackInstancesInput

SetStackSetName sets the StackSetName field's value.

String

func (s CreateStackInstancesInput) String() string

String returns the string representation

Validate

func (s *CreateStackInstancesInput) Validate() error

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

On this page: