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 timestamp (in milliseconds) 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 timestamp (in milliseconds) for when the job was created.

#depends_onArray<Types::JobDependency>

A list of job IDs on which this job depends.

Returns:

#job_arnString

The Amazon Resource Name (ARN) of the job.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the job.

#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.

#node_detailsTypes::NodeDetails

An object representing the details of a node that is associated with a multi-node parallel job.

Returns:

  • (Types::NodeDetails)

    An object representing the details of a node that is associated with a multi-node parallel job.

#node_propertiesTypes::NodeProperties

An object representing the node properties of a multi-node parallel job.

Returns:

#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 (in milliseconds) for when the job was started (when the job transitioned from the STARTING state to the RUNNING state). This parameter is not provided for child jobs of array jobs or multi-node parallel jobs.

Returns:

  • (Integer)

    The Unix timestamp (in milliseconds) 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.

If your jobs do not progress to STARTING, see Jobs Stuck in RUNNABLE Status in the troubleshooting section of the AWS Batch User Guide.

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 (in milliseconds) 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 timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

#tagsHash<String,String>

The tags applied to the job.

Returns:

  • (Hash<String,String>)

    The tags applied to the job.

#timeoutTypes::JobTimeout

The timeout configuration for the job.

Returns: