interface MetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.LookoutMetrics.Mixins.CfnAnomalyDetectorPropsMixin.MetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslookoutmetrics/mixins#CfnAnomalyDetectorPropsMixin_MetricProperty |
Java | software.amazon.awscdk.mixins.preview.services.lookoutmetrics.mixins.CfnAnomalyDetectorPropsMixin.MetricProperty |
Python | aws_cdk.mixins_preview.aws_lookoutmetrics.mixins.CfnAnomalyDetectorPropsMixin.MetricProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lookoutmetrics » mixins » CfnAnomalyDetectorPropsMixin » 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 { mixins as lookoutmetrics_mixins } from '@aws-cdk/mixins-preview/aws-lookoutmetrics';
const metricProperty: lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.MetricProperty = {
aggregationFunction: 'aggregationFunction',
metricName: 'metricName',
namespace: 'namespace',
};
Properties
| Name | Type | Description |
|---|---|---|
| aggregation | string | The function with which the metric is calculated. |
| metric | string | The name of the metric. |
| namespace? | string | The namespace for the metric. |
aggregationFunction?
Type:
string
(optional)
The function with which the metric is calculated.
metricName?
Type:
string
(optional)
The name of the metric.
namespace?
Type:
string
(optional)
The namespace for the metric.

.NET
Go
Java
Python
TypeScript