Class: Aws::ECS::Types::ContainerStateChange
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ContainerStateChange
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass ContainerStateChange data as a hash:
{
container_name: "String",
exit_code: 1,
network_bindings: [
{
bind_ip: "String",
container_port: 1,
host_port: 1,
protocol: "tcp", # accepts tcp, udp
},
],
reason: "String",
status: "String",
}
An object representing a change in state for a container.
Instance Attribute Summary collapse
-
#container_name ⇒ String
The name of the container.
-
#exit_code ⇒ Integer
The exit code for the container, if the state change is a result of the container exiting.
-
#network_bindings ⇒ Array<Types::NetworkBinding>
Any network bindings associated with the container.
-
#reason ⇒ String
The reason for the state change.
-
#status ⇒ String
The status of the container.
Instance Attribute Details
#container_name ⇒ String
The name of the container.
1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/aws-sdk-ecs/types.rb', line 1317 class ContainerStateChange < Struct.new( :container_name, :exit_code, :network_bindings, :reason, :status) include Aws::Structure end |
#exit_code ⇒ Integer
The exit code for the container, if the state change is a result of the container exiting.
1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/aws-sdk-ecs/types.rb', line 1317 class ContainerStateChange < Struct.new( :container_name, :exit_code, :network_bindings, :reason, :status) include Aws::Structure end |
#network_bindings ⇒ Array<Types::NetworkBinding>
Any network bindings associated with the container.
1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/aws-sdk-ecs/types.rb', line 1317 class ContainerStateChange < Struct.new( :container_name, :exit_code, :network_bindings, :reason, :status) include Aws::Structure end |
#reason ⇒ String
The reason for the state change.
1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/aws-sdk-ecs/types.rb', line 1317 class ContainerStateChange < Struct.new( :container_name, :exit_code, :network_bindings, :reason, :status) include Aws::Structure end |
#status ⇒ String
The status of the container.
1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/aws-sdk-ecs/types.rb', line 1317 class ContainerStateChange < Struct.new( :container_name, :exit_code, :network_bindings, :reason, :status) include Aws::Structure end |