interface WorkspaceConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APS.CfnWorkspace.WorkspaceConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnWorkspace_WorkspaceConfigurationProperty |
![]() | software.amazon.awscdk.services.aps.CfnWorkspace.WorkspaceConfigurationProperty |
![]() | aws_cdk.aws_aps.CfnWorkspace.WorkspaceConfigurationProperty |
![]() | aws-cdk-lib » aws_aps » CfnWorkspace » 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 { aws_aps as aps } from 'aws-cdk-lib';
const workspaceConfigurationProperty: aps.CfnWorkspace.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.