aws-cdk-lib.aws_sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty

interface ModelVariantConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceExperiment_ModelVariantConfigProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty
Pythonaws_cdk.aws_sagemaker.CfnInferenceExperiment.ModelVariantConfigProperty
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
infrastructureConfigIResolvable | ModelInfrastructureConfigPropertyThe configuration for the infrastructure that the model will be deployed to.
modelNamestringThe name of the Amazon SageMaker Model entity.
variantNamestringThe name of the variant.

infrastructureConfig

Type: IResolvable | ModelInfrastructureConfigProperty

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.