Interface TaskMetricsConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TaskMetricsConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.967Z") @Stability(Stable) public interface TaskMetricsConfig extends software.amazon.jsii.JsiiSerializable
Task Metrics.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.stepfunctions.*;
 Object metricDimensions;
 TaskMetricsConfig taskMetricsConfig = TaskMetricsConfig.builder()
         .metricDimensions(Map.of(
                 "metricDimensionsKey", metricDimensions))
         .metricPrefixPlural("metricPrefixPlural")
         .metricPrefixSingular("metricPrefixSingular")
         .build();
 
  • Method Details

    • getMetricDimensions

      @Stability(Stable) @Nullable default Map<String,Object> getMetricDimensions()
      The dimensions to attach to metrics.

      Default: - No metrics

    • getMetricPrefixPlural

      @Stability(Stable) @Nullable default String getMetricPrefixPlural()
      Prefix for plural metric names of activity actions.

      Default: - No such metrics

    • getMetricPrefixSingular

      @Stability(Stable) @Nullable default String getMetricPrefixSingular()
      Prefix for singular metric names of activity actions.

      Default: - No such metrics

    • builder

      @Stability(Stable) static TaskMetricsConfig.Builder builder()
      Returns:
      a TaskMetricsConfig.Builder of TaskMetricsConfig