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.

CreateDBSecurityGroupInput

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

type CreateDBSecurityGroupInput struct { DBSecurityGroupDescription *string `type:"string" required:"true"` DBSecurityGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

DBSecurityGroupDescription

Type: *string

The description for the DB security group.

DBSecurityGroupDescription is a required field

DBSecurityGroupName

Type: *string

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

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

  • Must not be "Default"

Example: mysecuritygroup

DBSecurityGroupName is a required field

Tags

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

Method

GoString

func (s CreateDBSecurityGroupInput) GoString() string

GoString returns the string representation

SetDBSecurityGroupDescription

func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupDescription(v string) *CreateDBSecurityGroupInput

SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value.

SetDBSecurityGroupName

func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupName(v string) *CreateDBSecurityGroupInput

SetDBSecurityGroupName sets the DBSecurityGroupName field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateDBSecurityGroupInput) String() string

String returns the string representation

Validate

func (s *CreateDBSecurityGroupInput) Validate() error

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

On this page: