aws-cdk-lib.aws_stepfunctions_tasks.MetricDefinition

interface MetricDefinition

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.MetricDefinition
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#MetricDefinition
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.MetricDefinition
Pythonaws_cdk.aws_stepfunctions_tasks.MetricDefinition
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » MetricDefinition

Specifies the metric name and regular expressions used to parse algorithm logs.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const metricDefinition: stepfunctions_tasks.MetricDefinition = {
  name: 'name',
  regex: 'regex',
};

Properties

NameTypeDescription
namestringName of the metric.
regexstringRegular expression that searches the output of a training job and gets the value of the metric.

name

Type: string

Name of the metric.


regex

Type: string

Regular expression that searches the output of a training job and gets the value of the metric.