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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


301
302
303
304
305
306
307
308
# File 'lib/aws-sdk-rds/types.rb', line 301

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)


301
302
303
304
305
306
307
308
# File 'lib/aws-sdk-rds/types.rb', line 301

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)


301
302
303
304
305
306
307
308
# File 'lib/aws-sdk-rds/types.rb', line 301

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)


301
302
303
304
305
306
307
308
# File 'lib/aws-sdk-rds/types.rb', line 301

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)


301
302
303
304
305
306
307
308
# File 'lib/aws-sdk-rds/types.rb', line 301

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