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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

Note:

When making an API call, you may pass AuthorizeDBSecurityGroupIngressMessage data as a 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)


392
393
394
395
396
397
398
399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 392

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

#db_security_group_nameString

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

Returns:

  • (String)


392
393
394
395
396
397
398
399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 392

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

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


392
393
394
395
396
397
398
399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 392

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

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


392
393
394
395
396
397
398
399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 392

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

#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 is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Returns:

  • (String)


392
393
394
395
396
397
398
399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 392

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  include Aws::Structure
end