Interface CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceExperimentPropsMixin
@Stability(Stable)
public static interface CfnInferenceExperimentPropsMixin.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.cfnpropertymixins.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 Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceExperimentPropsMixin.ModelVariantConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInfrastructureConfig
The configuration for the infrastructure that the model will be deployed to.Returns union: either
IResolvableorCfnInferenceExperimentPropsMixin.ModelInfrastructureConfigProperty- See Also:
-
getModelName
The name of the Amazon SageMaker Model entity.- See Also:
-
getVariantName
The name of the variant.- See Also:
-
builder
@Stability(Stable) static CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty.Builder builder()
-