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.

EstimateTemplateCostInput

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

type EstimateTemplateCostInput struct { Parameters []*Parameter `type:"list"` TemplateBody *string `min:"1" type:"string"` TemplateURL *string `min:"1" type:"string"` }

The input for an EstimateTemplateCost action.

Parameters

The Parameter data type.

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, go to Template Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) in the AWS CloudFormation User Guide.)

Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

TemplateURL

Type: *string

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

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

Method

GoString

func (s EstimateTemplateCostInput) GoString() string

GoString returns the string representation

SetParameters

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

SetParameters sets the Parameters field's value.

SetTemplateBody

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

SetTemplateBody sets the TemplateBody field's value.

SetTemplateURL

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

SetTemplateURL sets the TemplateURL field's value.

String

func (s EstimateTemplateCostInput) String() string

String returns the string representation

Validate

func (s *EstimateTemplateCostInput) Validate() error

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

On this page: