Skip to content
v2.275.0

ModelVariantConfigProperty Struct ​

Contains information about the deployment options of a model.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelVariantConfigProperty: sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty = {
  infrastructureConfig: {
    infrastructureType: 'infrastructureType',
    realTimeInferenceConfig: {
      instanceCount: 123,
      instanceType: 'instanceType',
    },
  },
  modelName: 'modelName',
  variantName: 'variantName',
};

Properties ​

infrastructureConfigIResolvable | CfnInferenceExperiment.ModelInfrastructureConfigPropertyinfrastructure_configtyping.Union[IResolvable, ModelInfrastructureConfigProperty]infrastructureConfigIResolvableInfrastructureConfigIResolvableInfrastructureConfiginterface{}required#
The configuration for the infrastructure that the model will be deployed to.
modelNamestringmodel_namestrmodelNameStringModelNamestringModelName*stringrequired#
The name of the Amazon SageMaker Model entity.
variantNamestringvariant_namestrvariantNameStringVariantNamestringVariantName*stringrequired#
The name of the variant.