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.

StackSet

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

type StackSet struct { AdministrationRoleARN *string `min:"20" type:"string"` Capabilities []*string `type:"list"` Description *string `min:"1" type:"string"` ExecutionRoleName *string `min:"1" type:"string"` Parameters []*Parameter `type:"list"` StackSetARN *string `type:"string"` StackSetId *string `type:"string"` StackSetName *string `type:"string"` Status *string `type:"string" enum:"StackSetStatus"` Tags []*Tag `type:"list"` TemplateBody *string `min:"1" type:"string"` }

A structure that contains information about a stack set. A stack set enables you to provision stacks into AWS accounts and across regions by using a single CloudFormation template. In the stack set, you specify the template to use, as well as any parameters and capabilities that the template requires.

AdministrationRoleARN

Type: *string

The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set.

Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html) in the AWS CloudFormation User Guide.

Capabilities

Type: []*string

The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates. (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities)

Description

Type: *string

A description of the stack set that you specify when the stack set is created or updated.

ExecutionRoleName

Type: *string

The name of the IAM execution role used to create or update the stack set.

Use customized execution roles to control which stack resources users and groups can include in their stack sets.

Parameters

The Parameter data type.

StackSetARN

Type: *string

The Amazon Resource Number (ARN) of the stack set.

StackSetId

Type: *string

The ID of the stack set.

StackSetName

Type: *string

The name that's associated with the stack set.

Status

Type: *string

The status of the stack set.

Tags

The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.

TemplateBody

Type: *string

The structure that contains the body of the template that was used to create or update the stack set.

Method

GoString

func (s StackSet) GoString() string

GoString returns the string representation

SetAdministrationRoleARN

func (s *StackSet) SetAdministrationRoleARN(v string) *StackSet

SetAdministrationRoleARN sets the AdministrationRoleARN field's value.

SetCapabilities

func (s *StackSet) SetCapabilities(v []*string) *StackSet

SetCapabilities sets the Capabilities field's value.

SetDescription

func (s *StackSet) SetDescription(v string) *StackSet

SetDescription sets the Description field's value.

SetExecutionRoleName

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

SetExecutionRoleName sets the ExecutionRoleName field's value.

SetParameters

func (s *StackSet) SetParameters(v []*Parameter) *StackSet

SetParameters sets the Parameters field's value.

SetStackSetARN

func (s *StackSet) SetStackSetARN(v string) *StackSet

SetStackSetARN sets the StackSetARN field's value.

SetStackSetId

func (s *StackSet) SetStackSetId(v string) *StackSet

SetStackSetId sets the StackSetId field's value.

SetStackSetName

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

SetStackSetName sets the StackSetName field's value.

SetStatus

func (s *StackSet) SetStatus(v string) *StackSet

SetStatus sets the Status field's value.

SetTags

func (s *StackSet) SetTags(v []*Tag) *StackSet

SetTags sets the Tags field's value.

SetTemplateBody

func (s *StackSet) SetTemplateBody(v string) *StackSet

SetTemplateBody sets the TemplateBody field's value.

String

func (s StackSet) String() string

String returns the string representation

On this page: