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.

AuthorizeDBSecurityGroupIngressInput

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

type AuthorizeDBSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` DBSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupId *string `type:"string"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerId *string `type:"string"` }

CIDRIP

Type: *string

The IP range to authorize.

DBSecurityGroupName

Type: *string

The name of the DB security group to add authorization to.

DBSecurityGroupName is a required field

EC2SecurityGroupId

Type: *string

Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupName

Type: *string

Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupOwnerId

Type: *string

AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Method

GoString

func (s AuthorizeDBSecurityGroupIngressInput) GoString() string

GoString returns the string representation

SetCIDRIP

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

SetCIDRIP sets the CIDRIP field's value.

SetDBSecurityGroupName

func (s *AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput

SetDBSecurityGroupName sets the DBSecurityGroupName field's value.

SetEC2SecurityGroupId

func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *AuthorizeDBSecurityGroupIngressInput

SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.

SetEC2SecurityGroupName

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

SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.

SetEC2SecurityGroupOwnerId

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

SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.

String

func (s AuthorizeDBSecurityGroupIngressInput) String() string

String returns the string representation

Validate

func (s *AuthorizeDBSecurityGroupIngressInput) Validate() error

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

On this page: