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

Class: Aws::Batch::Types::JobDefinition

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

Overview

An object representing an AWS Batch job definition.

Instance Attribute Summary collapse

Instance Attribute Details

#container_propertiesTypes::ContainerProperties

An object with various properties specific to container-based jobs.

Returns:

#job_definition_arnString

The Amazon Resource Name (ARN) for the job definition.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for the job definition.

#job_definition_nameString

The name of the job definition.

Returns:

  • (String)

    The name of the job definition.

#node_propertiesTypes::NodeProperties

An object with various properties specific to multi-node parallel jobs.

Returns:

#parametersHash<String,String>

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job Definition Parameters in the AWS Batch User Guide.

Returns:

  • (Hash<String,String>)

    Default parameters or parameter substitution placeholders that are set in the job definition.

#retry_strategyTypes::RetryStrategy

The retry strategy to use for failed jobs that are submitted with this job definition.

Returns:

  • (Types::RetryStrategy)

    The retry strategy to use for failed jobs that are submitted with this job definition.

#revisionInteger

The revision of the job definition.

Returns:

  • (Integer)

    The revision of the job definition.

#statusString

The status of the job definition.

Returns:

  • (String)

    The status of the job definition.

#tagsHash<String,String>

The tags applied to the job definition.

Returns:

  • (Hash<String,String>)

    The tags applied to the job definition.

#timeoutTypes::JobTimeout

The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.

Returns:

  • (Types::JobTimeout)

    The timeout configuration for jobs that are submitted with this job definition.

#typeString

The type of job definition.

Returns:

  • (String)

    The type of job definition.