Skip to content
v2.275.0

InferenceSpecificationProperty Struct ​

Defines how to perform inference generation after a training job is run.

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 inferenceSpecificationProperty: sagemaker.CfnModelCard.InferenceSpecificationProperty = {
  containers: [{
    image: 'image',

    // the properties below are optional
    modelDataUrl: 'modelDataUrl',
    nearestModelName: 'nearestModelName',
  }],
};

Properties ​

containersIResolvable | IResolvable | CfnModelCard.ContainerProperty[]containerstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ContainerProperty]]]containersIResolvableContainersIResolvableContainersinterface{}required#
The Amazon ECR registry path of the Docker image that contains the inference code.