Interface CfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjectivePropsMixin
@Stability(Stable)
public static interface CfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty
extends software.amazon.jsii.JsiiSerializable
This structure contains information about the performance metric that a request-based SLO monitors.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.*;
RequestBasedSliProperty requestBasedSliProperty = RequestBasedSliProperty.builder()
.comparisonOperator("comparisonOperator")
.metricThreshold(123)
.requestBasedSliMetric(RequestBasedSliMetricProperty.builder()
.dependencyConfig(DependencyConfigProperty.builder()
.dependencyKeyAttributes(Map.of(
"dependencyKeyAttributesKey", "dependencyKeyAttributes"))
.dependencyOperationName("dependencyOperationName")
.build())
.keyAttributes(Map.of(
"keyAttributesKey", "keyAttributes"))
.metricType("metricType")
.monitoredRequestCountMetric(MonitoredRequestCountMetricProperty.builder()
.badCountMetric(List.of(MetricDataQueryProperty.builder()
.accountId("accountId")
.expression("expression")
.id("id")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build())
.period(123)
.stat("stat")
.unit("unit")
.build())
.returnData(false)
.build()))
.goodCountMetric(List.of(MetricDataQueryProperty.builder()
.accountId("accountId")
.expression("expression")
.id("id")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build())
.period(123)
.stat("stat")
.unit("unit")
.build())
.returnData(false)
.build()))
.build())
.operationName("operationName")
.totalRequestCountMetric(List.of(MetricDataQueryProperty.builder()
.accountId("accountId")
.expression("expression")
.id("id")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build())
.period(123)
.stat("stat")
.unit("unit")
.build())
.returnData(false)
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe arithmetic operation used when comparing the specified metric to the threshold.default NumberThis value is the threshold that the observed metric values of the SLI metric are compared to.default ObjectA structure that contains information about the metric that the SLO monitors.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComparisonOperator
The arithmetic operation used when comparing the specified metric to the threshold.- See Also:
-
getMetricThreshold
This value is the threshold that the observed metric values of the SLI metric are compared to.- See Also:
-
getRequestBasedSliMetric
A structure that contains information about the metric that the SLO monitors.Returns union: either
IResolvableorCfnServiceLevelObjectivePropsMixin.RequestBasedSliMetricProperty- See Also:
-
builder
@Stability(Stable) static CfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty.Builder builder()
-