Interface CfnServiceLevelObjectivePropsMixin.SliProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjectivePropsMixin.SliProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjectivePropsMixin
@Stability(Stable)
public static interface CfnServiceLevelObjectivePropsMixin.SliProperty
extends software.amazon.jsii.JsiiSerializable
This structure specifies the information about the service and the performance metric that an SLO is to monitor.
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.*;
SliProperty sliProperty = SliProperty.builder()
.comparisonOperator("comparisonOperator")
.metricThreshold(123)
.sliMetric(SliMetricProperty.builder()
.dependencyConfig(DependencyConfigProperty.builder()
.dependencyKeyAttributes(Map.of(
"dependencyKeyAttributesKey", "dependencyKeyAttributes"))
.dependencyOperationName("dependencyOperationName")
.build())
.keyAttributes(Map.of(
"keyAttributesKey", "keyAttributes"))
.metricDataQueries(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()))
.metricType("metricType")
.operationName("operationName")
.periodSeconds(123)
.statistic("statistic")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceLevelObjectivePropsMixin.SliPropertystatic final classAn implementation forCfnServiceLevelObjectivePropsMixin.SliProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComparisonOperator
The arithmetic operation to use when comparing the specified metric to the threshold.- See Also:
-
getMetricThreshold
The value that the SLI metric is compared to.- See Also:
-
getSliMetric
Use this structure to specify the metric to be used for the SLO.Returns union: either
IResolvableorCfnServiceLevelObjectivePropsMixin.SliMetricProperty- See Also:
-
builder
-