interface CfnAnomalyDetectorMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnAnomalyDetectorMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnAnomalyDetectorMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnAnomalyDetectorMixinProps |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnAnomalyDetectorMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnAnomalyDetectorMixinProps |
Properties for CfnAnomalyDetectorPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const cfnAnomalyDetectorMixinProps: aps_mixins.CfnAnomalyDetectorMixinProps = {
alias: 'alias',
configuration: {
randomCutForest: {
ignoreNearExpectedFromAbove: {
amount: 123,
ratio: 123,
},
ignoreNearExpectedFromBelow: {
amount: 123,
ratio: 123,
},
query: 'query',
sampleSize: 123,
shingleSize: 123,
},
},
evaluationIntervalInSeconds: 123,
labels: [{
key: 'key',
value: 'value',
}],
missingDataAction: {
markAsAnomaly: false,
skip: false,
},
tags: [{
key: 'key',
value: 'value',
}],
workspace: 'workspace',
};
Properties
| Name | Type | Description |
|---|---|---|
| alias? | string | The user-friendly name of the anomaly detector. |
| configuration? | IResolvable | Anomaly | The algorithm configuration of the anomaly detector. |
| evaluation | number | The frequency, in seconds, at which the anomaly detector evaluates metrics. |
| labels? | IResolvable | (IResolvable | Label)[] | The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector. |
| missing | IResolvable | Missing | The action taken when data is missing during evaluation. |
| tags? | Cfn[] | The tags applied to the anomaly detector. |
| workspace? | string | An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics. |
alias?
Type:
string
(optional)
The user-friendly name of the anomaly detector.
configuration?
Type:
IResolvable | Anomaly
(optional)
The algorithm configuration of the anomaly detector.
evaluationIntervalInSeconds?
Type:
number
(optional, default: 60)
The frequency, in seconds, at which the anomaly detector evaluates metrics.
labels?
Type:
IResolvable | (IResolvable | Label)[]
(optional)
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.
missingDataAction?
Type:
IResolvable | Missing
(optional)
The action taken when data is missing during evaluation.
tags?
Type:
Cfn[]
(optional)
The tags applied to the anomaly detector.
workspace?
Type:
string
(optional)
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.

.NET
Go
Java
Python
TypeScript