Class: Aws::ECS::Types::SubmitContainerStateChangeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::SubmitContainerStateChangeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
When making an API call, you may pass SubmitContainerStateChangeRequest data as a hash:
{
cluster: "String",
task: "String",
container_name: "String",
status: "String",
exit_code: 1,
reason: "String",
network_bindings: [
{
bind_ip: "String",
container_port: 1,
host_port: 1,
protocol: "tcp", # accepts tcp, udp
},
],
}
Instance Attribute Summary collapse
-
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
-
#container_name ⇒ String
The name of the container.
-
#exit_code ⇒ Integer
The exit code returned for the state change request.
-
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings of the container.
-
#reason ⇒ String
The reason for the state change request.
-
#status ⇒ String
The status of the state change request.
-
#task ⇒ String
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
Instance Attribute Details
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#container_name ⇒ String
The name of the container.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#exit_code ⇒ Integer
The exit code returned for the state change request.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#network_bindings ⇒ Array<Types::NetworkBinding>
The network bindings of the container.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#reason ⇒ String
The reason for the state change request.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#status ⇒ String
The status of the state change request.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |
#task ⇒ String
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 |
# File 'lib/aws-sdk-ecs/types.rb', line 3616 class SubmitContainerStateChangeRequest < Struct.new( :cluster, :task, :container_name, :status, :exit_code, :reason, :network_bindings) include Aws::Structure end |