# InferenceSpecificationProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `containers`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelCard.ContainerProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelCard.ContainerProperty.html)[] (required) — The Amazon ECR registry path of the Docker image that contains the inference code.
