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

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

Overview

Describes an IPv4 address range.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_ipString

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

Returns:

  • (String)


45256
45257
45258
45259
45260
45261
# File 'lib/aws-sdk-ec2/types.rb', line 45256

class IpRange < Struct.new(
  :description,
  :cidr_ip)
  SENSITIVE = []
  include Aws::Structure
end

#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 ._-:/()#,@+=&amp;;{}!$*

Returns:

  • (String)


45256
45257
45258
45259
45260
45261
# File 'lib/aws-sdk-ec2/types.rb', line 45256

class IpRange < Struct.new(
  :description,
  :cidr_ip)
  SENSITIVE = []
  include Aws::Structure
end