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

Class: Aws::EC2::Types::IpRange

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

Overview

Note:

When passing IpRange as input to an Aws::Client method, you can use a vanilla Hash:

{
  cidr_ip: "String",
  description: "String",
}

Describes an IPv4 range.

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_ipString

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Returns:

  • (String)

    The IPv4 CIDR range.

#descriptionString

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Returns:

  • (String)

    A description for the security group rule that references this IPv4 address range.