# ModelPackageContainerDefinitionProperty

- Source: Generated code
- Type last changed: v2.262.0 · 22 Jul 2026

## 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 modelPackageContainerDefinitionProperty: sagemaker.CfnAlgorithm.ModelPackageContainerDefinitionProperty = {
  image: 'image',

  // the properties below are optional
  containerHostname: 'containerHostname',
  environment: {
    environmentKey: 'environment',
  },
  framework: 'framework',
  frameworkVersion: 'frameworkVersion',
  imageDigest: 'imageDigest',
  isCheckpoint: false,
  modelInput: {
    dataInputConfig: 'dataInputConfig',
  },
  nearestModelName: 'nearestModelName',
};
```

## Properties

- `containerHostname`: string

- `environment`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string }

- `framework`: string

- `frameworkVersion`: string

- `image`: string (required)

- `imageDigest`: string

- `isCheckpoint`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `modelInput`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAlgorithm.ModelInputProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnAlgorithm.ModelInputProperty.html)

- `nearestModelName`: string
