Interface CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceComponentPropsMixin
@Stability(Stable)
public static interface CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty
extends software.amazon.jsii.JsiiSerializable
Runtime settings for a model that is deployed with an inference component.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.*;
InferenceComponentRuntimeConfigProperty inferenceComponentRuntimeConfigProperty = InferenceComponentRuntimeConfigProperty.builder()
.copyCount(123)
.currentCopyCount(123)
.desiredCopyCount(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe number of runtime copies of the model container to deploy with the inference component.default NumberThe number of runtime copies of the model container that are currently deployed.default NumberThe number of runtime copies of the model container that you requested to deploy with the inference component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCopyCount
The number of runtime copies of the model container to deploy with the inference component.Each copy can serve inference requests.
- See Also:
-
getCurrentCopyCount
The number of runtime copies of the model container that are currently deployed.- See Also:
-
getDesiredCopyCount
The number of runtime copies of the model container that you requested to deploy with the inference component.- See Also:
-
builder
@Stability(Stable) static CfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty.Builder builder()
-