interface LabelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnAnomalyDetector.LabelProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnAnomalyDetector_LabelProperty |
Java | software.amazon.awscdk.services.aps.CfnAnomalyDetector.LabelProperty |
Python | aws_cdk.aws_aps.CfnAnomalyDetector.LabelProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnAnomalyDetector » LabelProperty |
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const labelProperty: aps.CfnAnomalyDetector.LabelProperty = {
key: 'key',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The key of the label. |
| value | string | The value for this label. |
key
Type:
string
The key of the label.
value
Type:
string
The value for this label.

.NET
Go
Java
Python
TypeScript