AWS SDK for .NET Documentation
AuthorizeDBSecurityGroupIngressRequest Class
AmazonAmazon.RDS.ModelAuthorizeDBSecurityGroupIngressRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the AuthorizeDBSecurityGroupIngress operation.

Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).

NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.

For an overview of CIDR ranges, go to the Wikipedia Tutorial .

Declaration Syntax
C#
public class AuthorizeDBSecurityGroupIngressRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AuthorizeDBSecurityGroupIngressRequest()()()()
Initializes a new instance of the AuthorizeDBSecurityGroupIngressRequest class

CIDRIP
The IP range to authorize.

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

EC2SecurityGroupId
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
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
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.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCIDRIP(String) Obsolete.
Sets the CIDRIP property

WithDBSecurityGroupName(String) Obsolete.
Sets the DBSecurityGroupName property

WithEC2SecurityGroupId(String) Obsolete.
Sets the EC2SecurityGroupId property

WithEC2SecurityGroupName(String) Obsolete.
Sets the EC2SecurityGroupName property

WithEC2SecurityGroupOwnerId(String) Obsolete.
Sets the EC2SecurityGroupOwnerId property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 AuthorizeDBSecurityGroupIngressRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)