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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass IpRange data as a hash:

{
  cidr_ip: "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.

Returns:

  • (String)


15758
15759
15760
15761
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15758

class IpRange < Struct.new(
  :cidr_ip)
  include Aws::Structure
end