amazonka-appmesh-2.0: Amazon App Mesh 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.AppMesh.Types.PortMapping

Description

 
Synopsis

Documentation

data PortMapping Source #

An object that represents a port mapping.

See: newPortMapping smart constructor.

Constructors

PortMapping' 

Fields

Instances

Instances details
FromJSON PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

ToJSON PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Generic PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Associated Types

type Rep PortMapping :: Type -> Type #

Read PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Show PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

NFData PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Methods

rnf :: PortMapping -> () #

Eq PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Hashable PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

type Rep PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

type Rep PortMapping = D1 ('MetaData "PortMapping" "Amazonka.AppMesh.Types.PortMapping" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "PortMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PortProtocol)))

newPortMapping Source #

Create a value of PortMapping 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:port:PortMapping', portMapping_port - The port used for the port mapping.

$sel:protocol:PortMapping', portMapping_protocol - The protocol used for the port mapping. Specify one protocol.

portMapping_port :: Lens' PortMapping Natural Source #

The port used for the port mapping.

portMapping_protocol :: Lens' PortMapping PortProtocol Source #

The protocol used for the port mapping. Specify one protocol.