interface LabelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnWorkspacePropsMixin.LabelProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnWorkspacePropsMixin_LabelProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnWorkspacePropsMixin.LabelProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnWorkspacePropsMixin.LabelProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » 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 { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const labelProperty: aps_mixins.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