amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.Types.IpPermission

Description

 
Synopsis

Documentation

data IpPermission Source #

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. New game sessions are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.

See: newIpPermission smart constructor.

Constructors

IpPermission' 

Fields

  • fromPort :: Natural

    A starting value for a range of allowed port numbers.

    For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

  • toPort :: Natural

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

    For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

  • ipRange :: Text

    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 :: IpProtocol

    The network communication protocol used by the fleet.

Instances

Instances details
FromJSON IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

ToJSON IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Generic IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Associated Types

type Rep IpPermission :: Type -> Type #

Read IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Show IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

NFData IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Methods

rnf :: IpPermission -> () #

Eq IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Hashable IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

type Rep IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

type Rep IpPermission = D1 ('MetaData "IpPermission" "Amazonka.GameLift.Types.IpPermission" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "IpPermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "ipRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IpProtocol))))

newIpPermission Source #

Create a value of IpPermission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fromPort:IpPermission', ipPermission_fromPort - A starting value for a range of allowed port numbers.

For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

$sel:toPort:IpPermission', ipPermission_toPort - An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

$sel:ipRange:IpPermission', ipPermission_ipRange - 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]".

$sel:protocol:IpPermission', ipPermission_protocol - The network communication protocol used by the fleet.

ipPermission_fromPort :: Lens' IpPermission Natural Source #

A starting value for a range of allowed port numbers.

For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

ipPermission_toPort :: Lens' IpPermission Natural Source #

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

For fleets using Windows and Linux builds, only ports 1026-60000 are valid.

ipPermission_ipRange :: Lens' IpPermission Text Source #

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]".

ipPermission_protocol :: Lens' IpPermission IpProtocol Source #

The network communication protocol used by the fleet.