# ContainerMetricsConfigProperty

The configuration for container metrics scraping.

- 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 containerMetricsConfigProperty: sagemaker.CfnInferenceComponent.ContainerMetricsConfigProperty = {
  metricsEndpoints: [{
    metricsEndpointPath: 'metricsEndpointPath',

    // the properties below are optional
    metricPublishFrequencyInSeconds: 123,
  }],
};
```

## Properties

- `metricsEndpoints`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInferenceComponent.MetricsEndpointProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.MetricsEndpointProperty.html)[] (required)
