| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ECS.Types.NetworkBinding
Description
Synopsis
- data NetworkBinding = NetworkBinding' {}
- newNetworkBinding :: NetworkBinding
- networkBinding_bindIP :: Lens' NetworkBinding (Maybe Text)
- networkBinding_protocol :: Lens' NetworkBinding (Maybe TransportProtocol)
- networkBinding_hostPort :: Lens' NetworkBinding (Maybe Int)
- networkBinding_containerPort :: Lens' NetworkBinding (Maybe Int)
Documentation
data NetworkBinding Source #
Details on the network bindings between a container and its host
container instance. After a task reaches the RUNNING status, manual
and automatic host and container port assignments are visible in the
networkBindings section of DescribeTasks API responses.
See: newNetworkBinding smart constructor.
Constructors
| NetworkBinding' | |
Fields
| |
Instances
newNetworkBinding :: NetworkBinding Source #
Create a value of NetworkBinding 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:bindIP:NetworkBinding', networkBinding_bindIP - The IP address that the container is bound to on the container instance.
$sel:protocol:NetworkBinding', networkBinding_protocol - The protocol used for the network binding.
$sel:hostPort:NetworkBinding', networkBinding_hostPort - The port number on the host that is used with the network binding.
$sel:containerPort:NetworkBinding', networkBinding_containerPort - The port number on the container that is used with the network binding.
networkBinding_bindIP :: Lens' NetworkBinding (Maybe Text) Source #
The IP address that the container is bound to on the container instance.
networkBinding_protocol :: Lens' NetworkBinding (Maybe TransportProtocol) Source #
The protocol used for the network binding.
networkBinding_hostPort :: Lens' NetworkBinding (Maybe Int) Source #
The port number on the host that is used with the network binding.
networkBinding_containerPort :: Lens' NetworkBinding (Maybe Int) Source #
The port number on the container that is used with the network binding.