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.

CreateDBParameterGroupInput

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

type CreateDBParameterGroupInput struct { DBParameterGroupFamily *string `type:"string" required:"true"` DBParameterGroupName *string `type:"string" required:"true"` Description *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

DBParameterGroupFamily

Type: *string

The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.

To list all of the available parameter group families, use the following command:

aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"

The output contains duplicates.

DBParameterGroupFamily is a required field

DBParameterGroupName

Type: *string

The name of the DB parameter group.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

This value is stored as a lowercase string.

DBParameterGroupName is a required field

Description

Type: *string

The description for the DB parameter group.

Description is a required field

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Method

GoString

func (s CreateDBParameterGroupInput) GoString() string

GoString returns the string representation

SetDBParameterGroupFamily

func (s *CreateDBParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBParameterGroupInput

SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.

SetDBParameterGroupName

func (s *CreateDBParameterGroupInput) SetDBParameterGroupName(v string) *CreateDBParameterGroupInput

SetDBParameterGroupName sets the DBParameterGroupName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateDBParameterGroupInput) String() string

String returns the string representation

Validate

func (s *CreateDBParameterGroupInput) Validate() error

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

On this page: