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.

GetTemplateSummaryOutput

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

type GetTemplateSummaryOutput struct { Capabilities []*string `type:"list"` CapabilitiesReason *string `type:"string"` DeclaredTransforms []*string `type:"list"` Description *string `min:"1" type:"string"` Metadata *string `type:"string"` Parameters []*ParameterDeclaration `type:"list"` ResourceTypes []*string `type:"list"` Version *string `type:"string"` }

The output for the GetTemplateSummary action.

Capabilities

Type: []*string

The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities).

CapabilitiesReason

Type: *string

The list of resources that generated the values in the Capabilities response element.

DeclaredTransforms

Type: []*string

A list of the transforms that are declared in the template.

Description

Type: *string

The value that is defined in the Description property of the template.

Metadata

Type: *string

The value that is defined for the Metadata property of the template.

Parameters

The ParameterDeclaration data type.

ResourceTypes

Type: []*string

A list of all the template resource types that are defined in the template, such as AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance.

Version

Type: *string

The AWS template format version, which identifies the capabilities of the template.

Method

GoString

func (s GetTemplateSummaryOutput) GoString() string

GoString returns the string representation

SetCapabilities

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

SetCapabilities sets the Capabilities field's value.

SetCapabilitiesReason

func (s *GetTemplateSummaryOutput) SetCapabilitiesReason(v string) *GetTemplateSummaryOutput

SetCapabilitiesReason sets the CapabilitiesReason field's value.

SetDeclaredTransforms

func (s *GetTemplateSummaryOutput) SetDeclaredTransforms(v []*string) *GetTemplateSummaryOutput

SetDeclaredTransforms sets the DeclaredTransforms field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetMetadata

func (s *GetTemplateSummaryOutput) SetMetadata(v string) *GetTemplateSummaryOutput

SetMetadata sets the Metadata field's value.

SetParameters

func (s *GetTemplateSummaryOutput) SetParameters(v []*ParameterDeclaration) *GetTemplateSummaryOutput

SetParameters sets the Parameters field's value.

SetResourceTypes

func (s *GetTemplateSummaryOutput) SetResourceTypes(v []*string) *GetTemplateSummaryOutput

SetResourceTypes sets the ResourceTypes field's value.

SetVersion

func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutput

SetVersion sets the Version field's value.

String

func (s GetTemplateSummaryOutput) String() string

String returns the string representation

On this page: