Struct rusoto_gamelift::IpPermission
[−]
[src]
pub struct IpPermission { pub from_port: i64, pub ip_range: String, pub protocol: String, pub to_port: i64, }
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.
Fields
from_port: i64
Starting value for a range of allowed port numbers.
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]
".
protocol: String
Network communication protocol used by the fleet.
to_port: i64
Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort
.
Trait Implementations
impl Default for IpPermission
[src]
fn default() -> IpPermission
[src]
Returns the "default value" for a type. Read more
impl Debug for IpPermission
[src]
impl Clone for IpPermission
[src]
fn clone(&self) -> IpPermission
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more