amazonka-simspaceweaver-2.0: Amazon SimSpace Weaver 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.SimSpaceWeaver.Types.SimulationAppPortMapping

Description

 
Synopsis

Documentation

data SimulationAppPortMapping Source #

A collection of TCP/UDP ports for a custom or service app.

See: newSimulationAppPortMapping smart constructor.

Constructors

SimulationAppPortMapping' 

Fields

  • actual :: Maybe Natural

    The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app starts. SimSpace Weaver maps the Declared port to the Actual port. Clients connect to the app using the app's IP address and the Actual port number.

  • declared :: Maybe Natural

    The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the Declared port to the Actual port. The source code for the app should bind to the Declared port.

Instances

Instances details
FromJSON SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

Generic SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

Associated Types

type Rep SimulationAppPortMapping :: Type -> Type #

Read SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

Show SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

NFData SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

Eq SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

Hashable SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

type Rep SimulationAppPortMapping Source # 
Instance details

Defined in Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping

type Rep SimulationAppPortMapping = D1 ('MetaData "SimulationAppPortMapping" "Amazonka.SimSpaceWeaver.Types.SimulationAppPortMapping" "amazonka-simspaceweaver-2.0-C619ppqhgbWKEJKYoFCug9" 'False) (C1 ('MetaCons "SimulationAppPortMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actual") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "declared") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newSimulationAppPortMapping :: SimulationAppPortMapping Source #

Create a value of SimulationAppPortMapping 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:actual:SimulationAppPortMapping', simulationAppPortMapping_actual - The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app starts. SimSpace Weaver maps the Declared port to the Actual port. Clients connect to the app using the app's IP address and the Actual port number.

$sel:declared:SimulationAppPortMapping', simulationAppPortMapping_declared - The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the Declared port to the Actual port. The source code for the app should bind to the Declared port.

simulationAppPortMapping_actual :: Lens' SimulationAppPortMapping (Maybe Natural) Source #

The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app starts. SimSpace Weaver maps the Declared port to the Actual port. Clients connect to the app using the app's IP address and the Actual port number.

simulationAppPortMapping_declared :: Lens' SimulationAppPortMapping (Maybe Natural) Source #

The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the Declared port to the Actual port. The source code for the app should bind to the Declared port.