Class: Aws::GameLift::Types::IpPermission
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::IpPermission
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
When making an API call, you may pass IpPermission data as a hash:
{
from_port: 1, # required
to_port: 1, # required
ip_range: "NonBlankString", # required
protocol: "TCP", # required, accepts TCP, UDP
}
A range of IP addresses and port settings that allow inbound traffic to connect to server processes on Amazon GameLift. Each game session hosted on a fleet is assigned a unique combination of IP address and port number, which must fall into the fleet’s allowed ranges. This combination is included in the GameSession object.
Instance Attribute Summary collapse
-
#from_port ⇒ Integer
Starting value for a range of allowed port numbers.
-
#ip_range ⇒ String
Range of allowed IP addresses.
-
#protocol ⇒ String
Network communication protocol used by the fleet.
-
#to_port ⇒ Integer
Ending value for a range of allowed port numbers.
Instance Attribute Details
#from_port ⇒ Integer
Starting value for a range of allowed port numbers.
3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/aws-sdk-gamelift/types.rb', line 3969 class IpPermission < Struct.new( :from_port, :to_port, :ip_range, :protocol) include Aws::Structure end |
#ip_range ⇒ String
Range of allowed IP addresses. This value must be expressed in CIDR notation. Example: “‘000.000.000.000/[subnet mask]`” or optionally the shortened version “`0.0.0.0/[subnet mask]`”.
3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/aws-sdk-gamelift/types.rb', line 3969 class IpPermission < Struct.new( :from_port, :to_port, :ip_range, :protocol) include Aws::Structure end |
#protocol ⇒ String
Network communication protocol used by the fleet.
3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/aws-sdk-gamelift/types.rb', line 3969 class IpPermission < Struct.new( :from_port, :to_port, :ip_range, :protocol) include Aws::Structure end |
#to_port ⇒ Integer
Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than ‘FromPort`.
3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/aws-sdk-gamelift/types.rb', line 3969 class IpPermission < Struct.new( :from_port, :to_port, :ip_range, :protocol) include Aws::Structure end |