Interface CfnInferenceComponent.MetricsEndpointProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponent.MetricsEndpointProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceComponent
@Stability(Stable)
public static interface CfnInferenceComponent.MetricsEndpointProperty
extends software.amazon.jsii.JsiiSerializable
A metrics endpoint exposed by the container.
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.sagemaker.*;
MetricsEndpointProperty metricsEndpointProperty = MetricsEndpointProperty.builder()
.metricsEndpointPath("metricsEndpointPath")
// the properties below are optional
.metricPublishFrequencyInSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceComponent.MetricsEndpointPropertystatic final classAn implementation forCfnInferenceComponent.MetricsEndpointProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricsEndpointPath
The path to the Prometheus formatted metrics endpoint exposed by the container.- See Also:
-
getMetricPublishFrequencyInSeconds
The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch.Valid values per the SageMaker API Reference are 10, 30, 60, 120, 180, 240 and 300; the service validates the value.
- See Also:
-
builder
-