

# TrafficPattern
<a name="API_TrafficPattern"></a>

Defines the traffic pattern of the load test.

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

 ** Phases **   <a name="sagemaker-Type-TrafficPattern-Phases"></a>
Defines the phases traffic specification.  
Type: Array of [Phase](API_Phase.md) objects  
Array Members: Minimum number of 1 item.  
Required: No

 ** Stairs **   <a name="sagemaker-Type-TrafficPattern-Stairs"></a>
Defines the stairs traffic pattern.  
Type: [Stairs](API_Stairs.md) object  
Required: No

 ** TrafficType **   <a name="sagemaker-Type-TrafficPattern-TrafficType"></a>
Defines the traffic patterns. Choose either `PHASES` or `STAIRS`.  
Type: String  
Valid Values: `PHASES | STAIRS`   
Required: No

## See Also
<a name="API_TrafficPattern_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/sagemaker-2017-07-24/TrafficPattern) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/TrafficPattern) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/TrafficPattern) 