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

#array_propertiesTypes::ArrayPropertiesDetail

The array properties of the job, if it is an array job.

Returns:

#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 time stamp for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.

Returns:

  • (Integer)

    The Unix time stamp for when the job was created.

#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 time stamp for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).

Returns:

  • (Integer)

    The Unix time stamp for when the job was started (when the job transitioned from the STARTING 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 time stamp for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

Returns:

  • (Integer)

    The Unix time stamp for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).