# InferenceComponentContainerSpecificationForInstanceTypeProperty

Container specification for one Specifications entry.

Distinct from InferenceComponentContainerSpecification: DescribeInferenceComponent returns no per-entry DeployedImage (VERIFIED in us-west-2), so DeployedImage is intentionally omitted here and this definition can never be aggregated into a plural READ response. The singular InferenceComponentContainerSpecification keeps DeployedImage - the service DOES return it there.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 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 inferenceComponentContainerSpecificationForInstanceTypeProperty: sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationForInstanceTypeProperty = {
  artifactUrl: 'artifactUrl',
  containerMetricsConfig: {
    metricsEndpoints: [{
      metricsEndpointPath: 'metricsEndpointPath',

      // the properties below are optional
      metricPublishFrequencyInSeconds: 123,
    }],
  },
  environment: {
    environmentKey: 'environment',
  },
  image: 'image',
};
```

## Properties

- `artifactUrl`: string

- `containerMetricsConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInferenceComponent.ContainerMetricsConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.ContainerMetricsConfigProperty.html) — The configuration for container metrics scraping.

- `environment`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Environment variables to specify on the container.

- `image`: string — The image to use for the container that will be materialized for the inference component.
