[][src]Struct rusoto_gamelift::IpPermission

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 an Amazon GameLift hosting resource. New game sessions that are started on the fleet are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. For fleets created with a custom game server, the ranges reflect the server's game session assignments. For Realtime Servers fleets, Amazon GameLift automatically opens two port ranges, one for TCP messaging and one for UDP for use by the Realtime servers.

Fields

from_port: i64

A starting value for a range of allowed port numbers.

ip_range: String

A 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

The network communication protocol used by the fleet.

to_port: i64

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Trait Implementations

impl Clone for IpPermission[src]

impl Debug for IpPermission[src]

impl Default for IpPermission[src]

impl<'de> Deserialize<'de> for IpPermission[src]

impl PartialEq<IpPermission> for IpPermission[src]

impl Serialize for IpPermission[src]

impl StructuralPartialEq for IpPermission[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.