

# AutomatedEvaluationCustomMetricSource
<a name="API_AutomatedEvaluationCustomMetricSource"></a>

An array item definining a single custom metric for use in an Amazon Bedrock evaluation job.

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

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

 ** customMetricDefinition **   <a name="bedrock-Type-AutomatedEvaluationCustomMetricSource-customMetricDefinition"></a>
The definition of a custom metric for use in an Amazon Bedrock evaluation job.  
Type: [CustomMetricDefinition](API_CustomMetricDefinition.md) object  
Required: No

## See Also
<a name="API_AutomatedEvaluationCustomMetricSource_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/bedrock-2023-04-20/AutomatedEvaluationCustomMetricSource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-2023-04-20/AutomatedEvaluationCustomMetricSource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-2023-04-20/AutomatedEvaluationCustomMetricSource) 