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

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.



1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#job_definition_arnString

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

Returns:

  • (String)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#job_definition_nameString

The name of the job definition.

Returns:

  • (String)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

class JobDefinition < Struct.new(
  :job_definition_name,
  :job_definition_arn,
  :revision,
  :status,
  :type,
  :parameters,
  :retry_strategy,
  :container_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.

Returns:

  • (Hash<String,String>)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#retry_strategyTypes::RetryStrategy

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



1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#revisionInteger

The revision of the job definition.

Returns:

  • (Integer)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#statusString

The status of the job definition.

Returns:

  • (String)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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

#typeString

The type of job definition.

Returns:

  • (String)


1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1245

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