Skip to content

Commit 1358826

Browse files
kddejonggithub-actions[bot]
authored andcommitted
1 parent 75730d5 commit 1358826

File tree

79 files changed

+13722
-12223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+13722
-12223
lines changed

server/schema/resources.schema.json

Lines changed: 9067 additions & 8965 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-amazonmq-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
},
141141
"delete": {
142142
"permissions": [
143-
"mq:DescribeConfiguration"
143+
"mq:DeleteConfiguration"
144144
]
145145
},
146146
"list": {

server/schema/resources/aws-appconfig-extension.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@
5252
"Tags": {
5353
"description": "An array of key-value tags to apply to this resource.",
5454
"type": "array",
55-
"uniqueItems": false,
55+
"uniqueItems": true,
5656
"insertionOrder": false,
5757
"items": {
5858
"$ref": "#/definitions/Tag"
5959
},
60-
"markdownDescription": "An array of key-value tags to apply to this resource.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: Replacement\n"
60+
"markdownDescription": "An array of key-value tags to apply to this resource.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
6161
}
6262
},
6363
"definitions": {
@@ -170,21 +170,15 @@
170170
"Actions"
171171
],
172172
"createOnlyProperties": [
173-
"/properties/Name",
174-
"/properties/Tags",
175-
"/properties/Tags/*/Key",
176-
"/properties/Tags/*/Value"
173+
"/properties/Name"
177174
],
178175
"readOnlyProperties": [
179176
"/properties/Id",
180177
"/properties/Arn",
181178
"/properties/VersionNumber"
182179
],
183180
"writeOnlyProperties": [
184-
"/properties/LatestVersionNumber",
185-
"/properties/Tags",
186-
"/properties/Tags/*/Key",
187-
"/properties/Tags/*/Value"
181+
"/properties/LatestVersionNumber"
188182
],
189183
"primaryIdentifier": [
190184
"/properties/Id"
@@ -199,7 +193,8 @@
199193
},
200194
"read": {
201195
"permissions": [
202-
"appconfig:GetExtension"
196+
"appconfig:GetExtension",
197+
"appconfig:ListTagsForResource"
203198
]
204199
},
205200
"update": {

server/schema/resources/aws-appconfig-extensionassociation.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
"Tags": {
4646
"description": "An array of key-value pairs to apply to this resource.",
4747
"type": "array",
48-
"uniqueItems": false,
48+
"uniqueItems": true,
4949
"insertionOrder": false,
5050
"items": {
5151
"$ref": "#/definitions/Tag"
5252
},
53-
"markdownDescription": "An array of key-value pairs to apply to this resource.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: Replacement\n"
53+
"markdownDescription": "An array of key-value pairs to apply to this resource.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
5454
}
5555
},
5656
"definitions": {
@@ -91,17 +91,11 @@
9191
"createOnlyProperties": [
9292
"/properties/ExtensionIdentifier",
9393
"/properties/ResourceIdentifier",
94-
"/properties/ExtensionVersionNumber",
95-
"/properties/Tags",
96-
"/properties/Tags/*/Key",
97-
"/properties/Tags/*/Value"
94+
"/properties/ExtensionVersionNumber"
9895
],
9996
"writeOnlyProperties": [
10097
"/properties/ExtensionIdentifier",
101-
"/properties/ResourceIdentifier",
102-
"/properties/Tags",
103-
"/properties/Tags/*/Key",
104-
"/properties/Tags/*/Value"
98+
"/properties/ResourceIdentifier"
10599
],
106100
"primaryIdentifier": [
107101
"/properties/Id"
@@ -115,7 +109,8 @@
115109
},
116110
"read": {
117111
"permissions": [
118-
"appconfig:GetExtensionAssociation"
112+
"appconfig:GetExtensionAssociation",
113+
"appconfig:ListTagsForResource"
119114
]
120115
},
121116
"update": {

server/schema/resources/aws-aps-workspace.json

Lines changed: 98 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,95 @@
4343
},
4444
"additionalProperties": false,
4545
"markdownDescription": "Logging configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
46+
},
47+
"Label": {
48+
"description": "Series label",
49+
"type": "object",
50+
"properties": {
51+
"Name": {
52+
"type": "string",
53+
"description": "Name of the label",
54+
"minLength": 1,
55+
"markdownDescription": "Name of the label\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nPattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ \nUpdate requires: No interruption\n"
56+
},
57+
"Value": {
58+
"type": "string",
59+
"description": "Value of the label",
60+
"minLength": 1,
61+
"markdownDescription": "Value of the label\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nUpdate requires: No interruption\n"
62+
}
63+
},
64+
"required": [
65+
"Name",
66+
"Value"
67+
],
68+
"additionalProperties": false,
69+
"markdownDescription": "Series label\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
70+
},
71+
"LimitsPerLabelSetEntry": {
72+
"description": "Limits that can be applied to a label set",
73+
"type": "object",
74+
"properties": {
75+
"MaxSeries": {
76+
"description": "The maximum number of active series that can be ingested for this label set",
77+
"type": "integer",
78+
"minimum": 0,
79+
"markdownDescription": "The maximum number of active series that can be ingested for this label set\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption\n"
80+
}
81+
},
82+
"additionalProperties": false,
83+
"markdownDescription": "Limits that can be applied to a label set\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
84+
},
85+
"LimitsPerLabelSet": {
86+
"description": "Label set and its associated limits",
87+
"type": "object",
88+
"properties": {
89+
"Limits": {
90+
"$ref": "#/definitions/LimitsPerLabelSetEntry"
91+
},
92+
"LabelSet": {
93+
"description": "An array of series labels",
94+
"type": "array",
95+
"uniqueItems": true,
96+
"insertionOrder": false,
97+
"items": {
98+
"$ref": "#/definitions/Label"
99+
},
100+
"minItems": 0,
101+
"markdownDescription": "An array of series labels\n\n---\n\nRequired: Yes \nType: Array \nUpdate requires: No interruption\n"
102+
}
103+
},
104+
"required": [
105+
"Limits",
106+
"LabelSet"
107+
],
108+
"additionalProperties": false,
109+
"markdownDescription": "Label set and its associated limits\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
110+
},
111+
"WorkspaceConfiguration": {
112+
"description": "Workspace configuration",
113+
"type": "object",
114+
"properties": {
115+
"RetentionPeriodInDays": {
116+
"description": "How many days that metrics are retained in the workspace",
117+
"type": "integer",
118+
"minimum": 1,
119+
"markdownDescription": "How many days that metrics are retained in the workspace\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption\n"
120+
},
121+
"LimitsPerLabelSets": {
122+
"description": "An array of label set and associated limits",
123+
"type": "array",
124+
"uniqueItems": true,
125+
"insertionOrder": false,
126+
"items": {
127+
"$ref": "#/definitions/LimitsPerLabelSet"
128+
},
129+
"minItems": 0,
130+
"markdownDescription": "An array of label set and associated limits\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
131+
}
132+
},
133+
"additionalProperties": false,
134+
"markdownDescription": "Workspace configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
46135
}
47136
},
48137
"properties": {
@@ -80,6 +169,9 @@
80169
"LoggingConfiguration": {
81170
"$ref": "#/definitions/LoggingConfiguration"
82171
},
172+
"WorkspaceConfiguration": {
173+
"$ref": "#/definitions/WorkspaceConfiguration"
174+
},
83175
"KmsKeyArn": {
84176
"description": "KMS Key ARN used to encrypt and decrypt AMP workspace data.",
85177
"type": "string",
@@ -131,6 +223,8 @@
131223
"aps:CreateAlertManagerDefinition",
132224
"aps:DescribeAlertManagerDefinition",
133225
"aps:CreateLoggingConfiguration",
226+
"aps:DescribeWorkspaceConfiguration",
227+
"aps:UpdateWorkspaceConfiguration",
134228
"logs:CreateLogDelivery",
135229
"logs:GetLogDelivery",
136230
"logs:ListLogDeliveries",
@@ -145,7 +239,8 @@
145239
"aps:DescribeWorkspace",
146240
"aps:ListTagsForResource",
147241
"aps:DescribeAlertManagerDefinition",
148-
"aps:DescribeLoggingConfiguration"
242+
"aps:DescribeLoggingConfiguration",
243+
"aps:DescribeWorkspaceConfiguration"
149244
]
150245
},
151246
"update": {
@@ -162,6 +257,8 @@
162257
"aps:DescribeLoggingConfiguration",
163258
"aps:UpdateLoggingConfiguration",
164259
"aps:DeleteLoggingConfiguration",
260+
"aps:DescribeWorkspaceConfiguration",
261+
"aps:UpdateWorkspaceConfiguration",
165262
"logs:CreateLogDelivery",
166263
"logs:GetLogDelivery",
167264
"logs:UpdateLogDelivery",

0 commit comments

Comments
 (0)