TaskMetricsConfig

class aws_cdk.aws_stepfunctions.TaskMetricsConfig(*, metric_dimensions=None, metric_prefix_plural=None, metric_prefix_singular=None)

Bases: object

Task Metrics.

Parameters
  • metric_dimensions (Optional[Mapping[str, Any]]) – The dimensions to attach to metrics. Default: - No metrics

  • metric_prefix_plural (Optional[str]) – Prefix for plural metric names of activity actions. Default: - No such metrics

  • metric_prefix_singular (Optional[str]) – Prefix for singular metric names of activity actions. Default: - No such metrics

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_stepfunctions as stepfunctions

# metric_dimensions is of type object

task_metrics_config = stepfunctions.TaskMetricsConfig(
    metric_dimensions={
        "metric_dimensions_key": metric_dimensions
    },
    metric_prefix_plural="metricPrefixPlural",
    metric_prefix_singular="metricPrefixSingular"
)

Attributes

metric_dimensions

The dimensions to attach to metrics.

Default
  • No metrics

Return type

Optional[Mapping[str, Any]]

metric_prefix_plural

Prefix for plural metric names of activity actions.

Default
  • No such metrics

Return type

Optional[str]

metric_prefix_singular

Prefix for singular metric names of activity actions.

Default
  • No such metrics

Return type

Optional[str]