rds_authorize_db_security_group_ingress: Enables ingress to a DBSecurityGroup using one of two forms...

View source: R/rds_operations.R

rds_authorize_db_security_group_ingressR Documentation

Enables ingress to a DBSecurityGroup using one of two forms of authorization

Description

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

See https://www.paws-r-sdk.com/docs/rds_authorize_db_security_group_ingress/ for full documentation.

Usage

rds_authorize_db_security_group_ingress(
  DBSecurityGroupName,
  CIDRIP = NULL,
  EC2SecurityGroupName = NULL,
  EC2SecurityGroupId = NULL,
  EC2SecurityGroupOwnerId = NULL
)

Arguments

DBSecurityGroupName

[required] The name of the DB security group to add authorization to.

CIDRIP

The IP range to authorize.

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.

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.

EC2SecurityGroupOwnerId

Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.


paws.database documentation built on Sept. 12, 2023, 1:21 a.m.