Skip to content
v2.274.0

ContainerProperty Struct ​

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 containerProperty: sagemaker.CfnModelCard.ContainerProperty = {
  image: 'image',

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

Properties ​

imagestringimagestrimageStringImagestringImage*stringrequired#
Inference environment path.

The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

modelDataUrlstringmodel_data_urlstrmodelDataUrlStringModelDataUrlstringModelDataUrl*string#
The Amazon S3 path where the model artifacts, which result from model training, are stored.
nearestModelNamestringnearest_model_namestrnearestModelNameStringNearestModelNamestringNearestModelName*string#
The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model.