libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

Related actions

DescribeFleetPortSettings

See: newIpPermission smart constructor.

Constructors

IpPermission' 

Fields

  • fromPort :: Natural

    A starting value for a range of allowed port numbers.

  • toPort :: Natural

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

  • 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
Eq IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Read IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Show 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 #

NFData IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

Methods

rnf :: IpPermission -> () #

Hashable IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

ToJSON IpPermission Source # 
Instance details

Defined in Amazonka.GameLift.Types.IpPermission

FromJSON 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" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" '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.

$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.

$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.

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.

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.