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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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",
  runtime_id: "String",
  status: "String",
  exit_code: 1,
  reason: "String",
  network_bindings: [
    {
      bind_ip: "String",
      container_port: 1,
      host_port: 1,
      protocol: "tcp", # accepts tcp, udp
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

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

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#container_nameString

The name of the container.

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#exit_codeInteger

The exit code returned for the state change request.

Returns:

  • (Integer)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#network_bindingsArray<Types::NetworkBinding>

The network bindings of the container.

Returns:



8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#reasonString

The reason for the state change request.

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#runtime_idString

The ID of the Docker container.

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#statusString

The status of the state change request.

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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

#taskString

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

Returns:

  • (String)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8942

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