interface LabelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnAnomalyDetectorPropsMixin.LabelProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnAnomalyDetectorPropsMixin_LabelProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnAnomalyDetectorPropsMixin.LabelProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnAnomalyDetectorPropsMixin.LabelProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnAnomalyDetectorPropsMixin » 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 { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const labelProperty: aps_mixins.CfnAnomalyDetectorPropsMixin.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
(optional)
The key of the label.
value?
Type:
string
(optional)
The value for this label.

.NET
Go
Java
Python
TypeScript