Class: Aws::NetworkFirewall::Types::PortRange
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkFirewall::Types::PortRange
- Defined in:
- gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb
Overview
Note:
When making an API call, you may pass PortRange data as a hash:
{
from_port: 1, # required
to_port: 1, # required
}
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
-
#from_port ⇒ Integer
The lower limit of the port range.
-
#to_port ⇒ Integer
The upper limit of the port range.
Instance Attribute Details
#from_port ⇒ Integer
The lower limit of the port range. This must be less than or equal
to the ToPort
specification.
2992 2993 2994 2995 2996 2997 |
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 2992 class PortRange < Struct.new( :from_port, :to_port) SENSITIVE = [] include Aws::Structure end |
#to_port ⇒ Integer
The upper limit of the port range. This must be greater than or
equal to the FromPort
specification.
2992 2993 2994 2995 2996 2997 |
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 2992 class PortRange < Struct.new( :from_port, :to_port) SENSITIVE = [] include Aws::Structure end |