Class: Aws::EC2::Types::RequestFilterPortRange

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

Overview

Describes a port range.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The first port in the range.

Returns:

  • (Integer)


56247
56248
56249
56250
56251
56252
# File 'lib/aws-sdk-ec2/types.rb', line 56247

class RequestFilterPortRange < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end

#to_portInteger

The last port in the range.

Returns:

  • (Integer)


56247
56248
56249
56250
56251
56252
# File 'lib/aws-sdk-ec2/types.rb', line 56247

class RequestFilterPortRange < Struct.new(
  :from_port,
  :to_port)
  SENSITIVE = []
  include Aws::Structure
end