libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.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
Eq PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Read PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

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

NFData PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

Methods

rnf :: PortMapping -> () #

Hashable PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

ToJSON PortMapping Source # 
Instance details

Defined in Amazonka.AppMesh.Types.PortMapping

FromJSON 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" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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.