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

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

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

Overview

Note:

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

Returns:

  • (String)

    The IP range to revoke access from.

#db_security_group_nameString

The name of the DB security group to revoke ingress from.

Returns:

  • (String)

    The name of the DB security group to revoke ingress from.

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

    The id of the EC2 security group to revoke access from.

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

    The name of the EC2 security group to revoke access from.

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

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