aws-cdk-lib.aws_lookoutmetrics.CfnAnomalyDetector.MetricProperty

interface MetricProperty

LanguageType name
.NETAmazon.CDK.AWS.LookoutMetrics.CfnAnomalyDetector.MetricProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAnomalyDetector_MetricProperty
Javasoftware.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.MetricProperty
Pythonaws_cdk.aws_lookoutmetrics.CfnAnomalyDetector.MetricProperty
TypeScript aws-cdk-lib » aws_lookoutmetrics » CfnAnomalyDetector » MetricProperty

A calculation made by contrasting a measure and a dimension from your source data.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lookoutmetrics as lookoutmetrics } from 'aws-cdk-lib';
const metricProperty: lookoutmetrics.CfnAnomalyDetector.MetricProperty = {
  aggregationFunction: 'aggregationFunction',
  metricName: 'metricName',

  // the properties below are optional
  namespace: 'namespace',
};

Properties

NameTypeDescription
aggregationFunctionstringThe function with which the metric is calculated.
metricNamestringThe name of the metric.
namespace?stringThe namespace for the metric.

aggregationFunction

Type: string

The function with which the metric is calculated.


metricName

Type: string

The name of the metric.


namespace?

Type: string (optional)

The namespace for the metric.