You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SubmitContainerStateChangeRequest as input to an Aws::Client method, you can use a vanilla 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
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

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

Returns:

  • (String)

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

#container_nameString

The name of the container.

Returns:

  • (String)

    The name of the container.

#exit_codeInteger

The exit code returned for the state change request.

Returns:

  • (Integer)

    The exit code returned for the state change request.

#network_bindingsArray<Types::NetworkBinding>

The network bindings of the container.

Returns:

#reasonString

The reason for the state change request.

Returns:

  • (String)

    The reason for the state change request.

#runtime_idString

The ID of the Docker container.

Returns:

  • (String)

    The ID of the Docker container.

#statusString

The status of the state change request.

Returns:

  • (String)

    The status of the state change request.

#taskString

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

Returns:

  • (String)

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