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.

CacheSecurityGroup

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

type CacheSecurityGroup struct { CacheSecurityGroupName *string `type:"string"` Description *string `type:"string"` EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"` OwnerId *string `type:"string"` }

Represents the output of one of the following operations:

  • AuthorizeCacheSecurityGroupIngress

  • CreateCacheSecurityGroup

  • RevokeCacheSecurityGroupIngress

CacheSecurityGroupName

Type: *string

The name of the cache security group.

Description

Type: *string

The description of the cache security group.

EC2SecurityGroups

Provides ownership and status information for an Amazon EC2 security group.

OwnerId

Type: *string

The AWS account ID of the cache security group owner.

Method

GoString

func (s CacheSecurityGroup) GoString() string

GoString returns the string representation

SetCacheSecurityGroupName

func (s *CacheSecurityGroup) SetCacheSecurityGroupName(v string) *CacheSecurityGroup

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEC2SecurityGroups

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

SetEC2SecurityGroups sets the EC2SecurityGroups field's value.

SetOwnerId

func (s *CacheSecurityGroup) SetOwnerId(v string) *CacheSecurityGroup

SetOwnerId sets the OwnerId field's value.

String

func (s CacheSecurityGroup) String() string

String returns the string representation

On this page: