

# WorkloadSpec
<a name="API_WorkloadSpec"></a>

The workload specification for benchmark tool configuration. Provide an inline YAML or JSON string.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** Inline **   <a name="sagemaker-Type-WorkloadSpec-Inline"></a>
An inline YAML or JSON string that defines benchmark parameters.  
Type: String  
Required: No

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