You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECS::Types::NetworkBinding
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::NetworkBinding
- Defined in:
- (unknown)
Overview
When passing NetworkBinding as input to an Aws::Client method, you can use a vanilla Hash:
{
bind_ip: "String",
container_port: 1,
host_port: 1,
protocol: "tcp", # accepts tcp, udp
}
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.
Instance Attribute Summary collapse
-
#bind_ip ⇒ String
The IP address that the container is bound to on the container instance.
-
#container_port ⇒ Integer
The port number on the container that is used with the network binding.
-
#host_port ⇒ Integer
The port number on the host that is used with the network binding.
-
#protocol ⇒ String
The protocol used for the network binding.
Instance Attribute Details
#bind_ip ⇒ String
The IP address that the container is bound to on the container instance.
#container_port ⇒ Integer
The port number on the container that is used with the network binding.
#host_port ⇒ Integer
The port number on the host that is used with the network binding.
#protocol ⇒ String
The protocol used for the network binding.
Possible values:
- tcp
- udp