@awboost/cfn-resource-types 0.1.314 → 0.1.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/AWS-APS-Workspace.d.ts +67 -0
- package/package.json +1 -1
|
@@ -30,6 +30,10 @@ export type APSWorkspaceProperties = {
|
|
|
30
30
|
* An array of key-value pairs to apply to this resource.
|
|
31
31
|
*/
|
|
32
32
|
Tags?: Tag[];
|
|
33
|
+
/**
|
|
34
|
+
* Workspace configuration
|
|
35
|
+
*/
|
|
36
|
+
WorkspaceConfiguration?: WorkspaceConfiguration;
|
|
33
37
|
};
|
|
34
38
|
/**
|
|
35
39
|
* Attribute type definition for `AWS::APS::Workspace`.
|
|
@@ -55,6 +59,52 @@ export type APSWorkspaceAttributes = {
|
|
|
55
59
|
*/
|
|
56
60
|
WorkspaceId: string;
|
|
57
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::APS::Workspace.Label`.
|
|
64
|
+
* Series label
|
|
65
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html}
|
|
66
|
+
*/
|
|
67
|
+
export type Label = {
|
|
68
|
+
/**
|
|
69
|
+
* Name of the label
|
|
70
|
+
* @minLength `1`
|
|
71
|
+
* @pattern `^[a-zA-Z_][a-zA-Z0-9_]*$`
|
|
72
|
+
*/
|
|
73
|
+
Name: string;
|
|
74
|
+
/**
|
|
75
|
+
* Value of the label
|
|
76
|
+
* @minLength `1`
|
|
77
|
+
*/
|
|
78
|
+
Value: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Type definition for `AWS::APS::Workspace.LimitsPerLabelSet`.
|
|
82
|
+
* Label set and its associated limits
|
|
83
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html}
|
|
84
|
+
*/
|
|
85
|
+
export type LimitsPerLabelSet = {
|
|
86
|
+
/**
|
|
87
|
+
* An array of series labels
|
|
88
|
+
* @minLength `0`
|
|
89
|
+
*/
|
|
90
|
+
LabelSet: Label[];
|
|
91
|
+
/**
|
|
92
|
+
* Limits that can be applied to a label set
|
|
93
|
+
*/
|
|
94
|
+
Limits: LimitsPerLabelSetEntry;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Type definition for `AWS::APS::Workspace.LimitsPerLabelSetEntry`.
|
|
98
|
+
* Limits that can be applied to a label set
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html}
|
|
100
|
+
*/
|
|
101
|
+
export type LimitsPerLabelSetEntry = {
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of active series that can be ingested for this label set
|
|
104
|
+
* @min `0`
|
|
105
|
+
*/
|
|
106
|
+
MaxSeries?: number;
|
|
107
|
+
};
|
|
58
108
|
/**
|
|
59
109
|
* Type definition for `AWS::APS::Workspace.LoggingConfiguration`.
|
|
60
110
|
* Logging configuration
|
|
@@ -87,6 +137,23 @@ export type Tag = {
|
|
|
87
137
|
*/
|
|
88
138
|
Value: string;
|
|
89
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
* Type definition for `AWS::APS::Workspace.WorkspaceConfiguration`.
|
|
142
|
+
* Workspace configuration
|
|
143
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html}
|
|
144
|
+
*/
|
|
145
|
+
export type WorkspaceConfiguration = {
|
|
146
|
+
/**
|
|
147
|
+
* An array of label set and associated limits
|
|
148
|
+
* @minLength `0`
|
|
149
|
+
*/
|
|
150
|
+
LimitsPerLabelSets?: LimitsPerLabelSet[];
|
|
151
|
+
/**
|
|
152
|
+
* How many days that metrics are retained in the workspace
|
|
153
|
+
* @min `1`
|
|
154
|
+
*/
|
|
155
|
+
RetentionPeriodInDays?: number;
|
|
156
|
+
};
|
|
90
157
|
/**
|
|
91
158
|
* Resource Type definition for AWS::APS::Workspace
|
|
92
159
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html}
|