MetricDefinition
- class aws_cdk.aws_stepfunctions_tasks.MetricDefinition(*, name, regex)
Bases:
object
Specifies the metric name and regular expressions used to parse algorithm logs.
- Parameters:
name (
str
) – Name of the metric.regex (
str
) – Regular expression that searches the output of a training job and gets the value of the metric.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks metric_definition = stepfunctions_tasks.MetricDefinition( name="name", regex="regex" )
Attributes
- name
Name of the metric.
- regex
Regular expression that searches the output of a training job and gets the value of the metric.