Interface CfnServiceLevelObjective.MetricSourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjective.MetricSourceProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjective
@Stability(Stable)
public static interface CfnServiceLevelObjective.MetricSourceProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for identifying the source of metrics for non-Application Signals services.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.*;
MetricSourceProperty metricSourceProperty = MetricSourceProperty.builder()
.metricSourceKeyAttributes(Map.of(
"metricSourceKeyAttributesKey", "metricSourceKeyAttributes"))
// the properties below are optional
.metricSourceAttributes(Map.of(
"metricSourceAttributesKey", "metricSourceAttributes"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceLevelObjective.MetricSourcePropertystatic final classAn implementation forCfnServiceLevelObjective.MetricSourceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricSourceKeyAttributes
Required attributes that identify the metric source.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getMetricSourceAttributes
Optional additional attributes for the metric source.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
builder
-