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.

UpdateStackInstancesInput

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

type UpdateStackInstancesInput 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 for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.

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.

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 in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.

Regions is a required field

StackSetName

Type: *string

The name or unique ID of the stack set associated with the stack instances.

StackSetName is a required field

Method

GoString

func (s UpdateStackInstancesInput) GoString() string

GoString returns the string representation

SetAccounts

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

SetAccounts sets the Accounts field's value.

SetOperationId

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

SetOperationId sets the OperationId field's value.

SetOperationPreferences

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

SetOperationPreferences sets the OperationPreferences field's value.

SetParameterOverrides

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

SetParameterOverrides sets the ParameterOverrides field's value.

SetRegions

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

SetRegions sets the Regions field's value.

SetStackSetName

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

SetStackSetName sets the StackSetName field's value.

String

func (s UpdateStackInstancesInput) String() string

String returns the string representation

Validate

func (s *UpdateStackInstancesInput) Validate() error

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

On this page: