Class: Aws::ECS::Types::NetworkBinding
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::NetworkBinding
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
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
}
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.
3443 3444 3445 3446 3447 3448 3449 |
# File 'lib/aws-sdk-ecs/types.rb', line 3443 class NetworkBinding < Struct.new( :bind_ip, :container_port, :host_port, :protocol) include Aws::Structure end |
#container_port ⇒ Integer
The port number on the container that is used with the network binding.
3443 3444 3445 3446 3447 3448 3449 |
# File 'lib/aws-sdk-ecs/types.rb', line 3443 class NetworkBinding < Struct.new( :bind_ip, :container_port, :host_port, :protocol) include Aws::Structure end |
#host_port ⇒ Integer
The port number on the host that is used with the network binding.
3443 3444 3445 3446 3447 3448 3449 |
# File 'lib/aws-sdk-ecs/types.rb', line 3443 class NetworkBinding < Struct.new( :bind_ip, :container_port, :host_port, :protocol) include Aws::Structure end |
#protocol ⇒ String
The protocol used for the network binding.
3443 3444 3445 3446 3447 3448 3449 |
# File 'lib/aws-sdk-ecs/types.rb', line 3443 class NetworkBinding < Struct.new( :bind_ip, :container_port, :host_port, :protocol) include Aws::Structure end |