libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.NetworkBinding

Description

 
Synopsis

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

Instances details
Eq NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

Read NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

Show NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

Generic NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

Associated Types

type Rep NetworkBinding :: Type -> Type #

NFData NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

Methods

rnf :: NetworkBinding -> () #

Hashable NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

ToJSON NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

FromJSON NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

type Rep NetworkBinding Source # 
Instance details

Defined in Amazonka.ECS.Types.NetworkBinding

type Rep NetworkBinding = D1 ('MetaData "NetworkBinding" "Amazonka.ECS.Types.NetworkBinding" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "NetworkBinding'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bindIP") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransportProtocol))) :*: (S1 ('MetaSel ('Just "hostPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "containerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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.