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

Class: Aws::ECS::Types::SubmitTaskStateChangeRequest

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

Overview

Note:

When passing SubmitTaskStateChangeRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  cluster: "String",
  task: "String",
  status: "String",
  reason: "String",
  containers: [
    {
      container_name: "String",
      image_digest: "String",
      runtime_id: "String",
      exit_code: 1,
      network_bindings: [
        {
          bind_ip: "String",
          container_port: 1,
          host_port: 1,
          protocol: "tcp", # accepts tcp, udp
        },
      ],
      reason: "String",
      status: "String",
    },
  ],
  attachments: [
    {
      attachment_arn: "String", # required
      status: "String", # required
    },
  ],
  pull_started_at: Time.now,
  pull_stopped_at: Time.now,
  execution_stopped_at: Time.now,
}

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsArray<Types::AttachmentStateChange>

Any attachments associated with the state change request.

Returns:

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

Returns:

  • (String)

    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

#containersArray<Types::ContainerStateChange>

Any containers associated with the state change request.

Returns:

#execution_stopped_atTime

The Unix timestamp for when the task execution stopped.

Returns:

  • (Time)

    The Unix timestamp for when the task execution stopped.

#pull_started_atTime

The Unix timestamp for when the container image pull began.

Returns:

  • (Time)

    The Unix timestamp for when the container image pull began.

#pull_stopped_atTime

The Unix timestamp for when the container image pull completed.

Returns:

  • (Time)

    The Unix timestamp for when the container image pull completed.

#reasonString

The reason for the state change request.

Returns:

  • (String)

    The reason for the state change request.

#statusString

The status of the state change request.

Returns:

  • (String)

    The status of the state change request.

#taskString

The task ID or full ARN of the task in the state change request.

Returns:

  • (String)

    The task ID or full ARN of the task in the state change request.