Interface CfnInferenceExperiment.ModelVariantConfigProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnInferenceExperiment.ModelVariantConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnInferenceExperiment
@Stability(Stable)
public static interface CfnInferenceExperiment.ModelVariantConfigProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about the deployment options of a model.
 
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.*;
 ModelVariantConfigProperty modelVariantConfigProperty = ModelVariantConfigProperty.builder()
         .infrastructureConfig(ModelInfrastructureConfigProperty.builder()
                 .infrastructureType("infrastructureType")
                 .realTimeInferenceConfig(RealTimeInferenceConfigProperty.builder()
                         .instanceCount(123)
                         .instanceType("instanceType")
                         .build())
                 .build())
         .modelName("modelName")
         .variantName("variantName")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceExperiment.ModelVariantConfigPropertystatic final classAn implementation forCfnInferenceExperiment.ModelVariantConfigProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The configuration for the infrastructure that the model will be deployed to.The name of the Amazon SageMaker Model entity.The name of the variant.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getInfrastructureConfigThe configuration for the infrastructure that the model will be deployed to.Returns union: either IResolvableorCfnInferenceExperiment.ModelInfrastructureConfigProperty- See Also:
 
- 
getModelNameThe name of the Amazon SageMaker Model entity.- See Also:
 
- 
getVariantNameThe name of the variant.- See Also:
 
- 
builder
 
-