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.

ParameterDeclaration

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

type ParameterDeclaration struct { DefaultValue *string `type:"string"` Description *string `min:"1" type:"string"` NoEcho *bool `type:"boolean"` ParameterConstraints *ParameterConstraints `type:"structure"` ParameterKey *string `type:"string"` ParameterType *string `type:"string"` }

The ParameterDeclaration data type.

DefaultValue

Type: *string

The default value of the parameter.

Description

Type: *string

The description that is associate with the parameter.

NoEcho

Type: *bool

Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console.

ParameterConstraints

A set of criteria that AWS CloudFormation uses to validate parameter values. Although other constraints might be defined in the stack template, AWS CloudFormation returns only the AllowedValues property.

ParameterKey

Type: *string

The name that is associated with the parameter.

ParameterType

Type: *string

The type of parameter.

Method

GoString

func (s ParameterDeclaration) GoString() string

GoString returns the string representation

SetDefaultValue

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

SetDefaultValue sets the DefaultValue field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetNoEcho

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

SetNoEcho sets the NoEcho field's value.

SetParameterConstraints

func (s *ParameterDeclaration) SetParameterConstraints(v *ParameterConstraints) *ParameterDeclaration

SetParameterConstraints sets the ParameterConstraints field's value.

SetParameterKey

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

SetParameterKey sets the ParameterKey field's value.

SetParameterType

func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration

SetParameterType sets the ParameterType field's value.

String

func (s ParameterDeclaration) String() string

String returns the string representation

On this page: