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.

AuthorizeCacheSecurityGroupIngressInput

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

type AuthorizeCacheSecurityGroupIngressInput struct { CacheSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupOwnerId *string `type:"string" required:"true"` }

Represents the input of an AuthorizeCacheSecurityGroupIngress operation.

CacheSecurityGroupName

Type: *string

The cache security group that allows network ingress.

CacheSecurityGroupName is a required field

EC2SecurityGroupName

Type: *string

The Amazon EC2 security group to be authorized for ingress to the cache security group.

EC2SecurityGroupName is a required field

EC2SecurityGroupOwnerId

Type: *string

The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.

EC2SecurityGroupOwnerId is a required field

Method

GoString

func (s AuthorizeCacheSecurityGroupIngressInput) GoString() string

GoString returns the string representation

SetCacheSecurityGroupName

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

SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.

SetEC2SecurityGroupName

func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeCacheSecurityGroupIngressInput

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

SetEC2SecurityGroupOwnerId

func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeCacheSecurityGroupIngressInput

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

String

func (s AuthorizeCacheSecurityGroupIngressInput) String() string

String returns the string representation

Validate

func (s *AuthorizeCacheSecurityGroupIngressInput) Validate() error

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

On this page: