

# ServiceLevelIndicatorConfig
<a name="API_ServiceLevelIndicatorConfig"></a>

This structure specifies the information about the service and the performance metric that a period-based SLO is to monitor.

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

 ** ComparisonOperator **   <a name="applicationsignals-Type-ServiceLevelIndicatorConfig-ComparisonOperator"></a>
The arithmetic operation to use when comparing the specified metric to the threshold.  
Type: String  
Valid Values: `GreaterThanOrEqualTo | GreaterThan | LessThan | LessThanOrEqualTo`   
Required: Yes

 ** MetricThreshold **   <a name="applicationsignals-Type-ServiceLevelIndicatorConfig-MetricThreshold"></a>
This parameter is used only when a request-based SLO tracks the `Latency` metric. Specify the threshold value that the observed `Latency` metric values are to be compared to.  
Type: Double  
Required: Yes

 ** SliMetricConfig **   <a name="applicationsignals-Type-ServiceLevelIndicatorConfig-SliMetricConfig"></a>
Use this structure to specify the metric to be used for the SLO.  
Type: [ServiceLevelIndicatorMetricConfig](API_ServiceLevelIndicatorMetricConfig.md) object  
Required: Yes

## See Also
<a name="API_ServiceLevelIndicatorConfig_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/application-signals-2024-04-15/ServiceLevelIndicatorConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/application-signals-2024-04-15/ServiceLevelIndicatorConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/application-signals-2024-04-15/ServiceLevelIndicatorConfig) 