interface InferenceSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnModelCardPropsMixin.InferenceSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnModelCardPropsMixin_InferenceSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnModelCardPropsMixin.InferenceSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnModelCardPropsMixin.InferenceSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnModelCardPropsMixin » InferenceSpecificationProperty |
Defines how to perform inference generation after a training job is run.
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 inferenceSpecificationProperty: sagemaker_mixins.CfnModelCardPropsMixin.InferenceSpecificationProperty = {
containers: [{
image: 'image',
modelDataUrl: 'modelDataUrl',
nearestModelName: 'nearestModelName',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| containers? | IResolvable | (IResolvable | Container)[] | The Amazon ECR registry path of the Docker image that contains the inference code. |
containers?
Type:
IResolvable | (IResolvable | Container)[]
(optional)
The Amazon ECR registry path of the Docker image that contains the inference code.

.NET
Go
Java
Python
TypeScript