class Aws::ECS::Types::NetworkBinding

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.

@note When making an API call, you may pass NetworkBinding

data as a hash:

    {
      bind_ip: "String",
      container_port: 1,
      host_port: 1,
      protocol: "tcp", # accepts tcp, udp
    }

@!attribute [rw] bind_ip

The IP address that the container is bound to on the container
instance.
@return [String]

@!attribute [rw] container_port

The port number on the container that is used with the network
binding.
@return [Integer]

@!attribute [rw] host_port

The port number on the host that is used with the network binding.
@return [Integer]

@!attribute [rw] protocol

The protocol used for the network binding.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkBinding AWS API Documentation

Constants

SENSITIVE