

# StoppingCondition
<a name="API_StoppingCondition"></a>

The criteria used to stop model training.

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

 ** maxRuntimeInSeconds **   <a name="API-Type-StoppingCondition-maxRuntimeInSeconds"></a>
The maximum amount of time, in seconds, that model training can run before it is terminated.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 2419200.  
Required: No

## See Also
<a name="API_StoppingCondition_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/cleanroomsml-2023-09-06/StoppingCondition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cleanroomsml-2023-09-06/StoppingCondition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cleanroomsml-2023-09-06/StoppingCondition) 