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 |
A key-value pair to provide meta-data and multi-dimensional data analysis for filtering and aggregation.
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 name of the tag. |
| value | string | The value for the tag. |
key
Type:
string
The key name of the tag.
You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value
Type:
string
The value for the tag.
You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

.NET
Go
Java
Python
TypeScript