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.

CreateClusterParameterGroupInput

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

type CreateClusterParameterGroupInput struct { Description *string `type:"string" required:"true"` ParameterGroupFamily *string `type:"string" required:"true"` ParameterGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

Description

Type: *string

A description of the parameter group.

Description is a required field

ParameterGroupFamily

Type: *string

The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.

To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your AWS account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".

ParameterGroupFamily is a required field

ParameterGroupName

Type: *string

The name of the cluster parameter group.

Constraints:

  • Must be 1 to 255 alphanumeric characters or hyphens

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique withing your AWS account.

This value is stored as a lower-case string.

ParameterGroupName is a required field

Tags

A tag consisting of a name/value pair for a resource.

Method

GoString

func (s CreateClusterParameterGroupInput) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetParameterGroupFamily

func (s *CreateClusterParameterGroupInput) SetParameterGroupFamily(v string) *CreateClusterParameterGroupInput

SetParameterGroupFamily sets the ParameterGroupFamily field's value.

SetParameterGroupName

func (s *CreateClusterParameterGroupInput) SetParameterGroupName(v string) *CreateClusterParameterGroupInput

SetParameterGroupName sets the ParameterGroupName field's value.

SetTags

func (s *CreateClusterParameterGroupInput) SetTags(v []*Tag) *CreateClusterParameterGroupInput

SetTags sets the Tags field's value.

String

func (s CreateClusterParameterGroupInput) String() string

String returns the string representation

Validate

func (s *CreateClusterParameterGroupInput) Validate() error

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

On this page: