| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The AWS::RDS::DBSecurityGroupIngress type 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. For more information about DB security groups, see Working with DB security groups
This type supports updates. For more information about updating stacks, see Updating AWS CloudFormation Stacks.
For details about the settings for DB security group ingress, see AuthorizeDBSecurityGroupIngress.
{
"CIDRIP": String,
"DBSecurityGroupName": String,
"EC2SecurityGroupId": String,
"EC2SecurityGroupName": String,
"EC2SecurityGroupOwnerId": String
} The IP range to authorize.
For an overview of CIDR ranges, go to the Wikipedia Tutorial.
Type: String.
Required: No.
Update requires: replacement
The name (ARN) of the AWS::RDS::DBSecurityGroup to which this ingress will be added.
Type: String.
Required: Yes.
Update requires: replacement
The ID of the VPC or EC2 security group to authorize.
For VPC DB security groups, use EC2SecurityGroupId. For EC2 security groups, use EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId.
Type: String.
Required: No.
Update requires: replacement
The name of the EC2 security group to authorize.
For VPC DB security groups, use EC2SecurityGroupId. For EC2 security groups, use EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId.
Type: String.
Required: No.
Update requires: replacement
The 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, use EC2SecurityGroupId. For EC2 security groups, use EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId.
Type: String.
Required: No.
Update requires: replacement
When the logical ID of this resource is provided to the Ref intrinsic
function, it returns the resource name.
For more information about using the Ref function, see Ref.
AuthorizeDBSecurityGroupIngress in the Amazon Relational Database Service API Reference