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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

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.



1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#job_definition_arnString

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

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#job_definition_nameString

The name of the job definition.

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#node_propertiesTypes::NodeProperties

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



1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

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


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#retry_strategyTypes::RetryStrategy

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



1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#revisionInteger

The revision of the job definition.

Returns:

  • (Integer)


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#statusString

The status of the job definition.

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

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



1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end

#typeString

The type of job definition.

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1667

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_properties,
  :timeout,
  :node_properties)
  include Aws::Structure
end