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.

CreateDBSubnetGroupInput

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

type CreateDBSubnetGroupInput struct { DBSubnetGroupDescription *string `type:"string" required:"true"` DBSubnetGroupName *string `type:"string" required:"true"` SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

DBSubnetGroupDescription

Type: *string

The description for the DB subnet group.

DBSubnetGroupDescription is a required field

DBSubnetGroupName

Type: *string

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

DBSubnetGroupName is a required field

SubnetIds

Type: []*string

The EC2 Subnet IDs for the DB subnet group.

SubnetIds is a required field

Tags

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

Method

GoString

func (s CreateDBSubnetGroupInput) GoString() string

GoString returns the string representation

SetDBSubnetGroupDescription

func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *CreateDBSubnetGroupInput

SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.

SetDBSubnetGroupName

func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupName(v string) *CreateDBSubnetGroupInput

SetDBSubnetGroupName sets the DBSubnetGroupName field's value.

SetSubnetIds

func (s *CreateDBSubnetGroupInput) SetSubnetIds(v []*string) *CreateDBSubnetGroupInput

SetSubnetIds sets the SubnetIds field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateDBSubnetGroupInput) String() string

String returns the string representation

Validate

func (s *CreateDBSubnetGroupInput) Validate() error

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

On this page: