Interface CfnEndpointConfigPropsMixin.MetricsConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfigPropsMixin.MetricsConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfigPropsMixin
@Stability(Stable)
public static interface CfnEndpointConfigPropsMixin.MetricsConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the metrics that the endpoint publishes to Amazon CloudWatch, the frequency of publication, and whether to enable enhanced or detailed observability metrics.
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.sagemaker.*;
MetricsConfigProperty metricsConfigProperty = MetricsConfigProperty.builder()
.enableDetailedObservability(false)
.enableEnhancedMetrics(false)
.metricPublishFrequencyInSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfigPropsMixin.MetricsConfigPropertystatic final classAn implementation forCfnEndpointConfigPropsMixin.MetricsConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether to enable detailed observability for the endpoint.default ObjectSpecifies whether to enable enhanced metrics for the endpoint.default NumberThe interval, in seconds, at which the endpoint publishes metrics to Amazon CloudWatch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnableDetailedObservability
Specifies whether to enable detailed observability for the endpoint.When set to true, the endpoint publishes container-level inference metrics, per-GPU metrics, per-instance host metrics, and inference component placement metrics.
Returns union: either
BooleanorIResolvable- See Also:
-
getEnableEnhancedMetrics
Specifies whether to enable enhanced metrics for the endpoint.Enhanced metrics provide utilization and invocation data at instance and container granularity.
Returns union: either
BooleanorIResolvable- See Also:
-
getMetricPublishFrequencyInSeconds
The interval, in seconds, at which the endpoint publishes metrics to Amazon CloudWatch.Valid values are 10, 30, 60, 120, 180, 240, and 300. The default is 60.
- See Also:
-
builder
-