You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RDS::Types::AuthorizeDBSecurityGroupIngressMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AuthorizeDBSecurityGroupIngressMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  db_security_group_name: "String", # required
  cidrip: "String",
  ec2_security_group_name: "String",
  ec2_security_group_id: "String",
  ec2_security_group_owner_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#cidripString

The IP range to authorize.

Returns:

  • (String)

    The IP range to authorize.

#db_security_group_nameString

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

Returns:

  • (String)

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

#ec2_security_group_idString

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.

Returns:

  • (String)

    Id of the EC2 security group to authorize.

#ec2_security_group_nameString

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.

Returns:

  • (String)

    Name of the EC2 security group to authorize.

#ec2_security_group_owner_idString

AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS 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.

Returns:

  • (String)

    AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter.