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.

ParameterConstraints

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

type ParameterConstraints struct { AllowedValues []*string `type:"list"` }

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.

AllowedValues

Type: []*string

A list of values that are permitted for a parameter.

Method

GoString

func (s ParameterConstraints) GoString() string

GoString returns the string representation

SetAllowedValues

func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstraints

SetAllowedValues sets the AllowedValues field's value.

String

func (s ParameterConstraints) String() string

String returns the string representation

On this page: