interface MetricDefinition
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.MetricDefinition |
Java | software.amazon.awscdk.services.stepfunctions.tasks.MetricDefinition |
Python | aws_cdk.aws_stepfunctions_tasks.MetricDefinition |
TypeScript (source) | @aws-cdk/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 * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
const metricDefinition: stepfunctions_tasks.MetricDefinition = {
name: 'name',
regex: 'regex',
};
Properties
Name | Type | Description |
---|---|---|
name | string | Name of the metric. |
regex | string | Regular 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.