interface ModelVariantConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnInferenceExperimentPropsMixin_ModelVariantConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnInferenceExperimentPropsMixin.ModelVariantConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnInferenceExperimentPropsMixin » 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 { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const modelVariantConfigProperty: sagemaker_mixins.CfnInferenceExperimentPropsMixin.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
(optional)
The configuration for the infrastructure that the model will be deployed to.
modelName?
Type:
string
(optional)
The name of the Amazon SageMaker Model entity.
variantName?
Type:
string
(optional)
The name of the variant.

.NET
Go
Java
Python
TypeScript