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.

TemplateParameter

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

type TemplateParameter struct { DefaultValue *string `type:"string"` Description *string `min:"1" type:"string"` NoEcho *bool `type:"boolean"` ParameterKey *string `type:"string"` }

The TemplateParameter data type.

DefaultValue

Type: *string

The default value associated with the parameter.

Description

Type: *string

User defined description associated with the parameter.

NoEcho

Type: *bool

Flag indicating whether the parameter should be displayed as plain text in logs and UIs.

ParameterKey

Type: *string

The name associated with the parameter.

Method

GoString

func (s TemplateParameter) GoString() string

GoString returns the string representation

SetDefaultValue

func (s *TemplateParameter) SetDefaultValue(v string) *TemplateParameter

SetDefaultValue sets the DefaultValue field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetNoEcho

func (s *TemplateParameter) SetNoEcho(v bool) *TemplateParameter

SetNoEcho sets the NoEcho field's value.

SetParameterKey

func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter

SetParameterKey sets the ParameterKey field's value.

String

func (s TemplateParameter) String() string

String returns the string representation

On this page: