interface WorkspaceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnWorkspacePropsMixin.WorkspaceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnWorkspacePropsMixin_WorkspaceConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnWorkspacePropsMixin.WorkspaceConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnWorkspacePropsMixin.WorkspaceConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnWorkspacePropsMixin » WorkspaceConfigurationProperty |
Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
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 workspaceConfigurationProperty: aps_mixins.CfnWorkspacePropsMixin.WorkspaceConfigurationProperty = {
limitsPerLabelSets: [{
labelSet: [{
name: 'name',
value: 'value',
}],
limits: {
maxSeries: 123,
},
}],
retentionPeriodInDays: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| limits | IResolvable | (IResolvable | Limits)[] | This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets. |
| retention | number | Specifies how many days that metrics will be retained in the workspace. |
limitsPerLabelSets?
Type:
IResolvable | (IResolvable | Limits)[]
(optional)
This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets.
Each label name in a label set must be unique.
retentionPeriodInDays?
Type:
number
(optional)
Specifies how many days that metrics will be retained in the workspace.

.NET
Go
Java
Python
TypeScript