

# ServiceJobTimeout
<a name="API_ServiceJobTimeout"></a>

The timeout configuration for service jobs. 

## Contents
<a name="API_ServiceJobTimeout_Contents"></a>

 ** attemptDurationSeconds **   <a name="Batch-Type-ServiceJobTimeout-attemptDurationSeconds"></a>
The maximum duration in seconds that a service job attempt can run. After this time is reached, AWS Batch terminates the service job attempt.  
Type: Integer  
Required: No

## See Also
<a name="API_ServiceJobTimeout_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/batch-2016-08-10/ServiceJobTimeout) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/batch-2016-08-10/ServiceJobTimeout) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/batch-2016-08-10/ServiceJobTimeout) 