interface LabelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.APS.CfnWorkspacePropsMixin.LabelProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsaps#CfnWorkspacePropsMixin_LabelProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.LabelProperty |
Python | aws_cdk.cfn_property_mixins.aws_aps.CfnWorkspacePropsMixin.LabelProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_aps » CfnWorkspacePropsMixin » LabelProperty |
A label is a name:value pair used to add context to ingested metrics.
This structure defines the name and value for one label that is used in a label set. You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.
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.CfnWorkspacePropsMixin.LabelProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name for this label. |
| value? | string | The value for this label. |
name?
Type:
string
(optional)
The name for this label.
value?
Type:
string
(optional)
The value for this label.

.NET
Go
Java
Python
TypeScript