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.

ValidateTemplateOutput

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

type ValidateTemplateOutput struct { Capabilities []*string `type:"list"` CapabilitiesReason *string `type:"string"` DeclaredTransforms []*string `type:"list"` Description *string `min:"1" type:"string"` Parameters []*TemplateParameter `type:"list"` }

The output for ValidateTemplate 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 description found within the template.

Parameters

The TemplateParameter data type.

Method

GoString

func (s ValidateTemplateOutput) GoString() string

GoString returns the string representation

SetCapabilities

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

SetCapabilities sets the Capabilities field's value.

SetCapabilitiesReason

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

SetCapabilitiesReason sets the CapabilitiesReason field's value.

SetDeclaredTransforms

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

SetDeclaredTransforms sets the DeclaredTransforms field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetParameters

func (s *ValidateTemplateOutput) SetParameters(v []*TemplateParameter) *ValidateTemplateOutput

SetParameters sets the Parameters field's value.

String

func (s ValidateTemplateOutput) String() string

String returns the string representation

On this page: