| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppMesh.Types.VirtualGatewayPortMapping
Description
Synopsis
- data VirtualGatewayPortMapping = VirtualGatewayPortMapping' {}
- newVirtualGatewayPortMapping :: Natural -> VirtualGatewayPortProtocol -> VirtualGatewayPortMapping
- virtualGatewayPortMapping_port :: Lens' VirtualGatewayPortMapping Natural
- virtualGatewayPortMapping_protocol :: Lens' VirtualGatewayPortMapping VirtualGatewayPortProtocol
Documentation
data VirtualGatewayPortMapping Source #
An object that represents a port mapping.
See: newVirtualGatewayPortMapping smart constructor.
Constructors
| VirtualGatewayPortMapping' | |
Fields
| |
Instances
newVirtualGatewayPortMapping Source #
Arguments
| :: Natural | |
| -> VirtualGatewayPortProtocol | |
| -> VirtualGatewayPortMapping |
Create a value of VirtualGatewayPortMapping 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:VirtualGatewayPortMapping', virtualGatewayPortMapping_port - The port used for the port mapping. Specify one protocol.
$sel:protocol:VirtualGatewayPortMapping', virtualGatewayPortMapping_protocol - The protocol used for the port mapping.
virtualGatewayPortMapping_port :: Lens' VirtualGatewayPortMapping Natural Source #
The port used for the port mapping. Specify one protocol.
virtualGatewayPortMapping_protocol :: Lens' VirtualGatewayPortMapping VirtualGatewayPortProtocol Source #
The protocol used for the port mapping.