Skip to content
v2.275.0

MetricGroupProperty Struct ​

A group of metric data that you use to initialize a metric group object.

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';

declare const value: any;
const metricGroupProperty: sagemaker.CfnModelCard.MetricGroupProperty = {
  metricData: [{
    name: 'name',
    type: 'type',
    value: value,

    // the properties below are optional
    notes: 'notes',
    xAxisName: ['xAxisName'],
    yAxisName: ['yAxisName'],
  }],
  name: 'name',
};

Properties ​

metricDataIResolvable | IResolvable | CfnModelCard.MetricDataItemsProperty[]metric_datatyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetricDataItemsProperty]]]metricDataIResolvableMetricDataIResolvableMetricDatainterface{}required#
A list of metric objects. The `MetricDataItems` list can have one of the following values:.
notes
  • bar_chart_metric
  • matrix_metric
  • simple_metric
  • linear_graph_metric

For more information about the metric schema, see the definition section of the model card JSON schema .

namestringnamestrnameStringNamestringName*stringrequired#
The metric group name.