interface ModelVariantConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnInferenceExperiment » ModelVariantConfigProperty |
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 * as sagemaker from '@aws-cdk/aws-sagemaker';
const modelVariantConfigProperty: sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty = {
infrastructureConfig: {
infrastructureType: 'infrastructureType',
realTimeInferenceConfig: {
instanceCount: 123,
instanceType: 'instanceType',
},
},
modelName: 'modelName',
variantName: 'variantName',
};
Properties
| Name | Type | Description |
|---|---|---|
| infrastructure | IResolvable | Model | The configuration for the infrastructure that the model will be deployed to. |
| model | string | The name of the Amazon SageMaker Model entity. |
| variant | string | The name of the variant. |
infrastructureConfig
Type:
IResolvable | Model
The configuration for the infrastructure that the model will be deployed to.
modelName
Type:
string
The name of the Amazon SageMaker Model entity.
variantName
Type:
string
The name of the variant.

.NET
Java
Python
TypeScript