interface TaskMetricsConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.TaskMetricsConfig |
Java | software.amazon.awscdk.services.stepfunctions.TaskMetricsConfig |
Python | aws_cdk.aws_stepfunctions.TaskMetricsConfig |
TypeScript (source) | @aws-cdk/aws-stepfunctions » TaskMetricsConfig |
Task Metrics.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
declare const metricDimensions: any;
const taskMetricsConfig: stepfunctions.TaskMetricsConfig = {
metricDimensions: {
metricDimensionsKey: metricDimensions,
},
metricPrefixPlural: 'metricPrefixPlural',
metricPrefixSingular: 'metricPrefixSingular',
};
Properties
Name | Type | Description |
---|---|---|
metric | { [string]: any } | The dimensions to attach to metrics. |
metric | string | Prefix for plural metric names of activity actions. |
metric | string | Prefix for singular metric names of activity actions. |
metricDimensions?
Type:
{ [string]: any }
(optional, default: No metrics)
The dimensions to attach to metrics.
metricPrefixPlural?
Type:
string
(optional, default: No such metrics)
Prefix for plural metric names of activity actions.
metricPrefixSingular?
Type:
string
(optional, default: No such metrics)
Prefix for singular metric names of activity actions.