Skip to content
v2.273.0

ModelInfrastructureConfigProperty Struct ​

The configuration for the infrastructure that the model will be deployed to.

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 modelInfrastructureConfigProperty: sagemaker.CfnInferenceExperiment.ModelInfrastructureConfigProperty = {
  infrastructureType: 'infrastructureType',
  realTimeInferenceConfig: {
    instanceCount: 123,
    instanceType: 'instanceType',
  },
};

Properties ​

infrastructureTypestringinfrastructure_typestrinfrastructureTypeStringInfrastructureTypestringInfrastructureType*stringrequired#
The inference option to which to deploy your model. Possible values are the following:.
  • RealTime : Deploy to real-time inference.
realTimeInferenceConfigIResolvable | CfnInferenceExperiment.RealTimeInferenceConfigPropertyreal_time_inference_configtyping.Union[IResolvable, RealTimeInferenceConfigProperty]realTimeInferenceConfigIResolvableRealTimeInferenceConfigIResolvableRealTimeInferenceConfiginterface{}required#
The infrastructure configuration for deploying the model to real-time inference.