import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::RDS::DBSecurityGroupIngress</code> resource enables ingress to a DB security group using one of two forms of authorization. First, you can add EC2 or VPC security groups to the DB security group 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.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-security-group-ingress.html">the AWS Docs</a>
*/
export type DBSecurityGroupIngress = AwsResource<'AWS::RDS::DBSecurityGroupIngress', DBSecurityGroupIngressProperties>;
export declare function dBSecurityGroupIngress(dBSecurityGroupIngressProps: DBSecurityGroupIngressProperties): DBSecurityGroupIngress;
/**
  The <code>AWS::RDS::DBSecurityGroupIngress</code> resource enables ingress to a DB security group using one of two forms of authorization. First, you can add EC2 or VPC security groups to the DB security group 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.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-security-group-ingress.html">the AWS Docs</a>
*/
export interface DBSecurityGroupIngressProperties {
    /** <code>CIDRIP</code>  <a name="cfn-rds-securitygroup-ingress-cidrip"></a>
  The IP range to authorize.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    cIDRIP?: Value<string>;
    /** <code>DBSecurityGroupName</code>  <a name="cfn-rds-securitygroup-ingress-dbsecuritygroupname"></a>
  The name of the DB security group to add authorization to.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    dBSecurityGroupName: Value<string>;
    /** <code>EC2SecurityGroupId</code>  <a name="cfn-rds-securitygroup-ingress-ec2securitygroupid"></a>
  Id of the EC2 security group to authorize. For VPC DB security groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    eC2SecurityGroupId?: Value<string>;
    /** <code>EC2SecurityGroupName</code>  <a name="cfn-rds-securitygroup-ingress-ec2securitygroupname"></a>
  Name of the EC2 security group to authorize. For VPC DB security groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    eC2SecurityGroupName?: Value<string>;
    /** <code>EC2SecurityGroupOwnerId</code>  <a name="cfn-rds-securitygroup-ingress-ec2securitygroupownerid"></a>
  AWS account number of the owner of the EC2 security group specified in the <code>EC2SecurityGroupName</code> parameter. The AWS access key ID isn’t an acceptable value. For VPC DB security groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    eC2SecurityGroupOwnerId?: Value<string>;
}
