Skip to content
v2.274.0

ContainerMetricsConfigProperty Struct ​

The configuration for container metrics scraping.

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 ​

metricsEndpointsIResolvable | IResolvable | CfnInferenceComponent.MetricsEndpointProperty[]metrics_endpointstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetricsEndpointProperty]]]metricsEndpointsIResolvableMetricsEndpointsIResolvableMetricsEndpointsinterface{}required#