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.

RevokeClusterSecurityGroupIngressInput

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

type RevokeClusterSecurityGroupIngressInput 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 for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.

ClusterSecurityGroupName

Type: *string

The name of the security Group from which to revoke the ingress rule.

ClusterSecurityGroupName is a required field

EC2SecurityGroupName

Type: *string

The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.

EC2SecurityGroupOwnerId

Type: *string

The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333

Method

GoString

func (s RevokeClusterSecurityGroupIngressInput) GoString() string

GoString returns the string representation

SetCIDRIP

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

SetCIDRIP sets the CIDRIP field's value.

SetClusterSecurityGroupName

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

SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.

SetEC2SecurityGroupName

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

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

SetEC2SecurityGroupOwnerId

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

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

String

func (s RevokeClusterSecurityGroupIngressInput) String() string

String returns the string representation

Validate

func (s *RevokeClusterSecurityGroupIngressInput) Validate() error

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

On this page: