Class: Aws::ECS::Types::SubmitContainerStateChangeRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

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

Instance Attribute Details

#clusterString

The short name or full ARN of the cluster that hosts the container.

Returns:

  • (String)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#container_nameString

The name of the container.

Returns:

  • (String)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#exit_codeInteger

The exit code returned for the state change request.

Returns:

  • (Integer)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#network_bindingsArray<Types::NetworkBinding>

The network bindings of the container.

Returns:



6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#reasonString

The reason for the state change request.

Returns:

  • (String)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#statusString

The status of the state change request.

Returns:

  • (String)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end

#taskString

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

Returns:

  • (String)


6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/aws-sdk-ecs/types.rb', line 6177

class SubmitContainerStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :container_name,
  :status,
  :exit_code,
  :reason,
  :network_bindings)
  include Aws::Structure
end