class Aws::ECS::Types::SubmitTaskStateChangeRequest

@note When making an API call, you may pass SubmitTaskStateChangeRequest

data as a 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
        },
      ],
      managed_agents: [
        {
          container_name: "String", # required
          managed_agent_name: "ExecuteCommandAgent", # required, accepts ExecuteCommandAgent
          status: "String", # required
          reason: "String",
        },
      ],
      pull_started_at: Time.now,
      pull_stopped_at: Time.now,
      execution_stopped_at: Time.now,
    }

@!attribute [rw] cluster

The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the task.
@return [String]

@!attribute [rw] task

The task ID or full ARN of the task in the state change request.
@return [String]

@!attribute [rw] status

The status of the state change request.
@return [String]

@!attribute [rw] reason

The reason for the state change request.
@return [String]

@!attribute [rw] containers

Any containers associated with the state change request.
@return [Array<Types::ContainerStateChange>]

@!attribute [rw] attachments

Any attachments associated with the state change request.
@return [Array<Types::AttachmentStateChange>]

@!attribute [rw] managed_agents

The details for the managed agent associated with the task.
@return [Array<Types::ManagedAgentStateChange>]

@!attribute [rw] pull_started_at

The Unix timestamp for when the container image pull began.
@return [Time]

@!attribute [rw] pull_stopped_at

The Unix timestamp for when the container image pull completed.
@return [Time]

@!attribute [rw] execution_stopped_at

The Unix timestamp for when the task execution stopped.
@return [Time]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeRequest AWS API Documentation

Constants

SENSITIVE