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.

AuthorizeClusterSecurityGroupIngressInput

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

type AuthorizeClusterSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` ClusterSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerId *string `type:"string"` }

CIDRIP

Type: *string

The IP range to be added the Amazon Redshift security group.

ClusterSecurityGroupName

Type: *string

The name of the security group to which the ingress rule is added.

ClusterSecurityGroupName is a required field

EC2SecurityGroupName

Type: *string

The EC2 security group to be added the Amazon Redshift security group.

EC2SecurityGroupOwnerId

Type: *string

The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

Example: 111122223333

Method

GoString

func (s AuthorizeClusterSecurityGroupIngressInput) GoString() string

GoString returns the string representation

SetCIDRIP

func (s *AuthorizeClusterSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeClusterSecurityGroupIngressInput

SetCIDRIP sets the CIDRIP field's value.

SetClusterSecurityGroupName

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

SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.

SetEC2SecurityGroupName

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

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

SetEC2SecurityGroupOwnerId

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

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

String

func (s AuthorizeClusterSecurityGroupIngressInput) String() string

String returns the string representation

Validate

func (s *AuthorizeClusterSecurityGroupIngressInput) Validate() error

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

On this page: