interface LimitsPerLabelSetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnWorkspacePropsMixin.LimitsPerLabelSetProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnWorkspacePropsMixin_LimitsPerLabelSetProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnWorkspacePropsMixin.LimitsPerLabelSetProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnWorkspacePropsMixin.LimitsPerLabelSetProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnWorkspacePropsMixin » LimitsPerLabelSetProperty |
This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set.
Each label name in a label set must be unique.
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 limitsPerLabelSetProperty: aps_mixins.CfnWorkspacePropsMixin.LimitsPerLabelSetProperty = {
labelSet: [{
name: 'name',
value: 'value',
}],
limits: {
maxSeries: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| label | IResolvable | (IResolvable | Label)[] | This defines one label set that will have an enforced ingestion limit. |
| limits? | IResolvable | Limits | This structure contains the information about the limits that apply to time series that match this label set. |
labelSet?
Type:
IResolvable | (IResolvable | Label)[]
(optional)
This defines one label set that will have an enforced ingestion limit.
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.
Label values accept all UTF-8 characters with one exception. If the label name is metric name label __ *name* __ , then the metric part of the name must conform to the following pattern: [a-zA-Z_:][a-zA-Z0-9_:]*
limits?
Type:
IResolvable | Limits
(optional)
This structure contains the information about the limits that apply to time series that match this label set.

.NET
Go
Java
Python
TypeScript