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.

Parameter

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

type Parameter struct { ParameterKey *string `type:"string"` ParameterValue *string `type:"string"` ResolvedValue *string `type:"string"` UsePreviousValue *bool `type:"boolean"` }

The Parameter data type.

ParameterKey

Type: *string

The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

ParameterValue

Type: *string

The input value associated with the parameter.

ResolvedValue

Type: *string

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for SSM (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types) parameter types in the template.

UsePreviousValue

Type: *bool

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

Method

GoString

func (s Parameter) GoString() string

GoString returns the string representation

SetParameterKey

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

SetParameterKey sets the ParameterKey field's value.

SetParameterValue

func (s *Parameter) SetParameterValue(v string) *Parameter

SetParameterValue sets the ParameterValue field's value.

SetResolvedValue

func (s *Parameter) SetResolvedValue(v string) *Parameter

SetResolvedValue sets the ResolvedValue field's value.

SetUsePreviousValue

func (s *Parameter) SetUsePreviousValue(v bool) *Parameter

SetUsePreviousValue sets the UsePreviousValue field's value.

String

func (s Parameter) String() string

String returns the string representation

On this page: