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

Class: Aws::Batch::Types::JobDetail

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

Overview

An object representing an AWS Batch job.

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsArray<Types::AttemptDetail>

A list of job attempts associated with this job.

Returns:

#containerTypes::ContainerDetail

An object representing the details of the container that is associated with the job.

Returns:

  • (Types::ContainerDetail)

    An object representing the details of the container that is associated with the job.

#created_atInteger

The Unix timestamp for when the job was created (when the task entered the PENDING state).

Returns:

  • (Integer)

    The Unix timestamp for when the job was created (when the task entered the PENDING state).

#depends_onArray<Types::JobDependency>

A list of job names or IDs on which this job depends.

Returns:

#job_definitionString

The job definition that is used by this job.

Returns:

  • (String)

    The job definition that is used by this job.

#job_idString

The ID for the job.

Returns:

  • (String)

    The ID for the job.

#job_nameString

The name of the job.

Returns:

  • (String)

    The name of the job.

#job_queueString

The Amazon Resource Name (ARN) of the job queue with which the job is associated.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the job queue with which the job is associated.

#parametersHash<String,String>

Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.

Returns:

  • (Hash<String,String>)

    Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.

#retry_strategyTypes::RetryStrategy

The retry strategy to use for this job if an attempt fails.

Returns:

#started_atInteger

The Unix timestamp for when the job was started (when the task transitioned from the PENDING state to the RUNNING state).

Returns:

  • (Integer)

    The Unix timestamp for when the job was started (when the task transitioned from the PENDING state to the RUNNING state).

#statusString

The current status for the job.

Possible values:

  • SUBMITTED
  • PENDING
  • RUNNABLE
  • STARTING
  • RUNNING
  • SUCCEEDED
  • FAILED

Returns:

  • (String)

    The current status for the job.

#status_reasonString

A short, human-readable string to provide additional details about the current status of the job.

Returns:

  • (String)

    A short, human-readable string to provide additional details about the current status of the job.

#stopped_atInteger

The Unix timestamp for when the job was stopped (when the task transitioned from the RUNNING state to the STOPPED state).

Returns:

  • (Integer)

    The Unix timestamp for when the job was stopped (when the task transitioned from the RUNNING state to the STOPPED state).