Interface CfnInferenceExperiment.ModelInfrastructureConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperiment.ModelInfrastructureConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnInferenceExperiment
@Stability(Stable)
public static interface CfnInferenceExperiment.ModelInfrastructureConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for the infrastructure that the model will be deployed to.
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.*;
ModelInfrastructureConfigProperty modelInfrastructureConfigProperty = ModelInfrastructureConfigProperty.builder()
.infrastructureType("infrastructureType")
.realTimeInferenceConfig(RealTimeInferenceConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceExperiment.ModelInfrastructureConfigPropertystatic final classAn implementation forCfnInferenceExperiment.ModelInfrastructureConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The inference option to which to deploy your model.The infrastructure configuration for deploying the model to real-time inference.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInfrastructureType
The inference option to which to deploy your model. Possible values are the following:.RealTime: Deploy to real-time inference.
-
getRealTimeInferenceConfig
The infrastructure configuration for deploying the model to real-time inference. -
builder
@Stability(Stable) static CfnInferenceExperiment.ModelInfrastructureConfigProperty.Builder builder()
-