interface MetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LookoutMetrics.CfnAnomalyDetectorPropsMixin.MetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslookoutmetrics#CfnAnomalyDetectorPropsMixin_MetricProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin.MetricProperty |
Python | aws_cdk.cfn_property_mixins.aws_lookoutmetrics.CfnAnomalyDetectorPropsMixin.MetricProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lookoutmetrics » 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 { aws_lookoutmetrics as lookoutmetrics } from '@aws-cdk/cfn-property-mixins';
const metricProperty: lookoutmetrics.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