Interface CfnInferenceComponent.ContainerMetricsConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponent.ContainerMetricsConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceComponent
@Stability(Stable)
public static interface CfnInferenceComponent.ContainerMetricsConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for container metrics scraping.
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.*;
ContainerMetricsConfigProperty containerMetricsConfigProperty = ContainerMetricsConfigProperty.builder()
.metricsEndpoints(List.of(MetricsEndpointProperty.builder()
.metricsEndpointPath("metricsEndpointPath")
// the properties below are optional
.metricPublishFrequencyInSeconds(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceComponent.ContainerMetricsConfigPropertystatic final classAn implementation forCfnInferenceComponent.ContainerMetricsConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnInferenceComponent.MetricsEndpointProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricsEndpoints
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnInferenceComponent.MetricsEndpointProperty>- See Also:
-
builder
-