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.

GetTemplateSummaryInput

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

type GetTemplateSummaryInput struct { StackName *string `min:"1" type:"string"` StackSetName *string `type:"string"` TemplateBody *string `min:"1" type:"string"` TemplateURL *string `min:"1" type:"string"` }

The input for the GetTemplateSummary action.

StackName

Type: *string

The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

StackSetName

Type: *string

The name or unique ID of the stack set from which the stack was created.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

TemplateBody

Type: *string

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) in the AWS CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

TemplateURL

Type: *string

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) in the AWS CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL.

Method

GoString

func (s GetTemplateSummaryInput) GoString() string

GoString returns the string representation

SetStackName

func (s *GetTemplateSummaryInput) SetStackName(v string) *GetTemplateSummaryInput

SetStackName sets the StackName field's value.

SetStackSetName

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

SetStackSetName sets the StackSetName field's value.

SetTemplateBody

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

SetTemplateBody sets the TemplateBody field's value.

SetTemplateURL

func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryInput

SetTemplateURL sets the TemplateURL field's value.

String

func (s GetTemplateSummaryInput) String() string

String returns the string representation

Validate

func (s *GetTemplateSummaryInput) Validate() error

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

On this page: