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.

ClusterSecurityGroup

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

type ClusterSecurityGroup struct { ClusterSecurityGroupName *string `type:"string"` Description *string `type:"string"` EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"` IPRanges []*IPRange `locationNameList:"IPRange" type:"list"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

Describes a security group.

ClusterSecurityGroupName

Type: *string

The name of the cluster security group to which the operation was applied.

Description

Type: *string

A description of the security group.

EC2SecurityGroups

Describes an Amazon EC2 security group.

IPRanges

Describes an IP range used in a security group.

Tags

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

Method

GoString

func (s ClusterSecurityGroup) GoString() string

GoString returns the string representation

SetClusterSecurityGroupName

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

SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEC2SecurityGroups

func (s *ClusterSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *ClusterSecurityGroup

SetEC2SecurityGroups sets the EC2SecurityGroups field's value.

SetIPRanges

func (s *ClusterSecurityGroup) SetIPRanges(v []*IPRange) *ClusterSecurityGroup

SetIPRanges sets the IPRanges field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s ClusterSecurityGroup) String() string

String returns the string representation

On this page: