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

Class: Aws::RDS::Types::RevokeDBSecurityGroupIngressMessage

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 RevokeDBSecurityGroupIngressMessage 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 revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId can't be provided.

Returns:

  • (String)


12881
12882
12883
12884
12885
12886
12887
12888
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 12881

class RevokeDBSecurityGroupIngressMessage < 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 revoke ingress from.

Returns:

  • (String)


12881
12882
12883
12884
12885
12886
12887
12888
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 12881

class RevokeDBSecurityGroupIngressMessage < 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

The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Returns:

  • (String)


12881
12882
12883
12884
12885
12886
12887
12888
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 12881

class RevokeDBSecurityGroupIngressMessage < 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

The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Returns:

  • (String)


12881
12882
12883
12884
12885
12886
12887
12888
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 12881

class RevokeDBSecurityGroupIngressMessage < 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

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


12881
12882
12883
12884
12885
12886
12887
12888
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 12881

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