Class: Aws::NetworkFirewall::Types::PortRange

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

Overview

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Returns:

  • (Integer)


2906
2907
2908
2909
2910
2911
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 2906

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

#to_portInteger

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Returns:

  • (Integer)


2906
2907
2908
2909
2910
2911
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 2906

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