interface LabelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.APS.CfnAnomalyDetectorPropsMixin.LabelProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsaps#CfnAnomalyDetectorPropsMixin_LabelProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.aps.CfnAnomalyDetectorPropsMixin.LabelProperty |
Python | aws_cdk.cfn_property_mixins.aws_aps.CfnAnomalyDetectorPropsMixin.LabelProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_aps » 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 { aws_aps as aps } from '@aws-cdk/cfn-property-mixins';
const labelProperty: aps.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