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.

CreateClusterSecurityGroupInput

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

type CreateClusterSecurityGroupInput struct { ClusterSecurityGroupName *string `type:"string" required:"true"` Description *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

ClusterSecurityGroupName

Type: *string

The name for the security group. Amazon Redshift stores the value as a lowercase string.

Constraints:

  • Must contain no more than 255 alphanumeric characters or hyphens.

  • Must not be "Default".

  • Must be unique for all security groups that are created by your AWS account.

Example: examplesecuritygroup

ClusterSecurityGroupName is a required field

Description

Type: *string

A description for the security group.

Description is a required field

Tags

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

Method

GoString

func (s CreateClusterSecurityGroupInput) GoString() string

GoString returns the string representation

SetClusterSecurityGroupName

func (s *CreateClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) *CreateClusterSecurityGroupInput

SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateClusterSecurityGroupInput) String() string

String returns the string representation

Validate

func (s *CreateClusterSecurityGroupInput) Validate() error

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

On this page: