Class: Aws::EC2::Types::PortRange

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

Overview

Describes a range of ports.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from ⇒ Integer

The first port in the range.

Returns:

  • (Integer)


74354
74355
74356
74357
74358
74359
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74354

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#to ⇒ Integer

The last port in the range.

Returns:

  • (Integer)


74354
74355
74356
74357
74358
74359
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74354

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end