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",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidripString

The IP range to authorize.

Returns:

  • (String)

445
446
447
448
449
450
451
452
453
# File 'lib/aws-sdk-rds/types.rb', line 445

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

#db_security_group_nameString

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

Returns:

  • (String)

445
446
447
448
449
450
451
452
453
# File 'lib/aws-sdk-rds/types.rb', line 445

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  SENSITIVE = []
  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)

445
446
447
448
449
450
451
452
453
# File 'lib/aws-sdk-rds/types.rb', line 445

class AuthorizeDBSecurityGroupIngressMessage < Struct.new(
  :db_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_id,
  :ec2_security_group_owner_id)
  SENSITIVE = []
  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)

445
446
447
448
449
450
451
452
453
# File 'lib/aws-sdk-rds/types.rb', line 445

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

#ec2_security_group_owner_idString

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.

Returns:

  • (String)

445
446
447
448
449
450
451
452
453
# File 'lib/aws-sdk-rds/types.rb', line 445

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