Skip to content

Commit 5dab293

Browse files
CloudFormation Template Schema upgrade (#309)
https://github.com/aws-cloudformation/cloudformation-template-schema/tree/main Co-authored-by: kddejong <[email protected]> Co-authored-by: Kevin DeJong <[email protected]>
1 parent bb3b7cb commit 5dab293

File tree

571 files changed

+45456
-11573
lines changed

Some content is hidden

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

571 files changed

+45456
-11573
lines changed

server/schema/resources.schema.json

Lines changed: 10023 additions & 6785 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-accessanalyzer-analyzer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,13 @@
194194
]
195195
}
196196
},
197+
"tagging": {
198+
"taggable": true,
199+
"tagOnCreate": true,
200+
"tagUpdatable": true,
201+
"cloudFormationSystemTags": true,
202+
"tagProperty": "/properties/Tags"
203+
},
197204
"attributes": {
198205
"Arn": {
199206
"description": "Amazon Resource Name (ARN) of the analyzer",

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
},
1313
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
1414
},
15+
"DataReplicationPrimaryBrokerArn": {
16+
"type": "string",
17+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
18+
},
1519
"Configuration": {
1620
"$ref": "#/definitions/ConfigurationId"
1721
},
@@ -77,6 +81,10 @@
7781
"Logs": {
7882
"$ref": "#/definitions/LogList"
7983
},
84+
"DataReplicationMode": {
85+
"type": "string",
86+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
87+
},
8088
"BrokerName": {
8189
"type": "string",
8290
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"

server/schema/resources/aws-amplify-app.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@
289289
"handlers": {
290290
"create": {
291291
"permissions": [
292+
"amplify:GetApp",
292293
"amplify:CreateApp",
293294
"amplify:TagResource",
294295
"codecommit:GetRepository",
@@ -301,15 +302,18 @@
301302
},
302303
"delete": {
303304
"permissions": [
305+
"amplify:GetApp",
304306
"amplify:DeleteApp",
305307
"codecommit:GetRepository",
306308
"codecommit:GetRepositoryTriggers",
309+
"codecommit:PutRepositoryTriggers",
307310
"sns:Unsubscribe",
308311
"iam:PassRole"
309312
]
310313
},
311314
"list": {
312315
"permissions": [
316+
"amplify:GetApp",
313317
"amplify:ListApps",
314318
"amplify:ListTagsForResource",
315319
"iam:PassRole"
@@ -326,6 +330,7 @@
326330
},
327331
"update": {
328332
"permissions": [
333+
"amplify:GetApp",
329334
"amplify:UpdateApp",
330335
"amplify:ListTagsForResource",
331336
"amplify:TagResource",

server/schema/resources/aws-amplify-branch.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
"handlers": {
174174
"create": {
175175
"permissions": [
176+
"amplify:GetBranch",
176177
"amplify:CreateBranch",
177178
"amplify:TagResource",
178179
"codecommit:GetRepository",
@@ -189,6 +190,7 @@
189190
},
190191
"delete": {
191192
"permissions": [
193+
"amplify:GetBranch",
192194
"amplify:DeleteBranch",
193195
"codecommit:GetRepository",
194196
"codecommit:GetRepositoryTriggers",
@@ -198,6 +200,7 @@
198200
},
199201
"list": {
200202
"permissions": [
203+
"amplify:GetBranch",
201204
"amplify:ListBranches",
202205
"amplify:ListTagsForResource",
203206
"iam:PassRole"
@@ -216,6 +219,7 @@
216219
},
217220
"update": {
218221
"permissions": [
222+
"amplify:GetBranch",
219223
"amplify:UpdateBranch",
220224
"amplify:ListTagsForResource",
221225
"amplify:TagResource",

server/schema/resources/aws-amplifyuibuilder-component.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"typeName": "AWS::AmplifyUIBuilder::Component",
33
"description": "Definition of AWS::AmplifyUIBuilder::Component Resource Type",
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
45
"definitions": {
56
"ActionParameters": {
67
"type": "object",
@@ -584,7 +585,9 @@
584585
"create": {
585586
"permissions": [
586587
"amplify:GetApp",
587-
"amplifyuibuilder:CreateComponent"
588+
"amplifyuibuilder:GetComponent",
589+
"amplifyuibuilder:CreateComponent",
590+
"amplifyuibuilder:TagResource"
588591
]
589592
},
590593
"read": {
@@ -596,20 +599,39 @@
596599
"update": {
597600
"permissions": [
598601
"amplify:GetApp",
599-
"amplifyuibuilder:UpdateComponent"
602+
"amplifyuibuilder:GetComponent",
603+
"amplifyuibuilder:UpdateComponent",
604+
"amplifyuibuilder:TagResource"
600605
]
601606
},
602607
"delete": {
603608
"permissions": [
604609
"amplify:GetApp",
605-
"amplifyuibuilder:DeleteComponent"
610+
"amplifyuibuilder:GetComponent",
611+
"amplifyuibuilder:DeleteComponent",
612+
"amplifyuibuilder:UntagResource"
606613
]
607614
},
608615
"list": {
609616
"permissions": [
610617
"amplify:GetApp",
618+
"amplifyuibuilder:GetComponent",
611619
"amplifyuibuilder:ListComponents"
612-
]
620+
],
621+
"handlerSchema": {
622+
"properties": {
623+
"AppId": {
624+
"$ref": "resource-schema.json#/properties/AppId"
625+
},
626+
"EnvironmentName": {
627+
"$ref": "resource-schema.json#/properties/EnvironmentName"
628+
}
629+
},
630+
"required": [
631+
"AppId",
632+
"EnvironmentName"
633+
]
634+
}
613635
}
614636
},
615637
"tagging": {

server/schema/resources/aws-amplifyuibuilder-form.json

Lines changed: 88 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"typeName": "AWS::AmplifyUIBuilder::Form",
33
"description": "Definition of AWS::AmplifyUIBuilder::Form Resource Type",
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
45
"definitions": {
56
"FieldConfig": {
67
"type": "object",
@@ -91,6 +92,9 @@
9192
"IsArray": {
9293
"type": "boolean",
9394
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
95+
},
96+
"FileUploaderConfig": {
97+
"$ref": "#/definitions/FileUploaderFieldConfig"
9498
}
9599
},
96100
"required": [
@@ -186,6 +190,44 @@
186190
"additionalProperties": false,
187191
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
188192
},
193+
"FileUploaderFieldConfig": {
194+
"type": "object",
195+
"properties": {
196+
"AccessLevel": {
197+
"$ref": "#/definitions/StorageAccessLevel"
198+
},
199+
"AcceptedFileTypes": {
200+
"type": "array",
201+
"items": {
202+
"type": "string",
203+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
204+
},
205+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Array \nUpdate requires: No interruption"
206+
},
207+
"ShowThumbnails": {
208+
"type": "boolean",
209+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
210+
},
211+
"IsResumable": {
212+
"type": "boolean",
213+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
214+
},
215+
"MaxFileCount": {
216+
"type": "number",
217+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Number \nUpdate requires: No interruption"
218+
},
219+
"MaxSize": {
220+
"type": "number",
221+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Number \nUpdate requires: No interruption"
222+
}
223+
},
224+
"required": [
225+
"AcceptedFileTypes",
226+
"AccessLevel"
227+
],
228+
"additionalProperties": false,
229+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
230+
},
189231
"FixedPosition": {
190232
"type": "string",
191233
"enum": [
@@ -330,6 +372,15 @@
330372
}
331373
]
332374
},
375+
"LabelDecorator": {
376+
"type": "string",
377+
"enum": [
378+
"required",
379+
"optional",
380+
"none"
381+
],
382+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nAllowed Values: required | optional | none \nUpdate requires: No interruption"
383+
},
333384
"SectionalElement": {
334385
"type": "object",
335386
"properties": {
@@ -373,6 +424,15 @@
373424
"additionalProperties": false,
374425
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
375426
},
427+
"StorageAccessLevel": {
428+
"type": "string",
429+
"enum": [
430+
"public",
431+
"protected",
432+
"private"
433+
],
434+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nAllowed Values: public | protected | private \nUpdate requires: No interruption"
435+
},
376436
"Tags": {
377437
"type": "object",
378438
"patternProperties": {
@@ -441,6 +501,9 @@
441501
"FormActionType": {
442502
"$ref": "#/definitions/FormActionType"
443503
},
504+
"LabelDecorator": {
505+
"$ref": "#/definitions/LabelDecorator"
506+
},
444507
"Name": {
445508
"type": "string",
446509
"maxLength": 255,
@@ -485,7 +548,9 @@
485548
"create": {
486549
"permissions": [
487550
"amplify:GetApp",
488-
"amplifyuibuilder:CreateForm"
551+
"amplifyuibuilder:GetForm",
552+
"amplifyuibuilder:CreateForm",
553+
"amplifyuibuilder:TagResource"
489554
]
490555
},
491556
"read": {
@@ -497,20 +562,39 @@
497562
"update": {
498563
"permissions": [
499564
"amplify:GetApp",
500-
"amplifyuibuilder:UpdateForm"
565+
"amplifyuibuilder:GetForm",
566+
"amplifyuibuilder:UpdateForm",
567+
"amplifyuibuilder:TagResource"
501568
]
502569
},
503570
"delete": {
504571
"permissions": [
505572
"amplify:GetApp",
506-
"amplifyuibuilder:DeleteForm"
573+
"amplifyuibuilder:GetForm",
574+
"amplifyuibuilder:DeleteForm",
575+
"amplifyuibuilder:UntagResource"
507576
]
508577
},
509578
"list": {
510579
"permissions": [
511580
"amplify:GetApp",
581+
"amplifyuibuilder:GetForm",
512582
"amplifyuibuilder:ListForms"
513-
]
583+
],
584+
"handlerSchema": {
585+
"properties": {
586+
"AppId": {
587+
"$ref": "resource-schema.json#/properties/AppId"
588+
},
589+
"EnvironmentName": {
590+
"$ref": "resource-schema.json#/properties/EnvironmentName"
591+
}
592+
},
593+
"required": [
594+
"AppId",
595+
"EnvironmentName"
596+
]
597+
}
514598
}
515599
},
516600
"tagging": {

server/schema/resources/aws-amplifyuibuilder-theme.json

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"typeName": "AWS::AmplifyUIBuilder::Theme",
33
"description": "Definition of AWS::AmplifyUIBuilder::Theme Resource Type",
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
45
"definitions": {
56
"Tags": {
67
"type": "object",
@@ -102,33 +103,54 @@
102103
"handlers": {
103104
"create": {
104105
"permissions": [
106+
"amplify:GetApp",
107+
"amplifyuibuilder:GetTheme",
105108
"amplifyuibuilder:CreateTheme",
106-
"amplify:GetApp"
109+
"amplifyuibuilder:TagResource"
107110
]
108111
},
109112
"read": {
110113
"permissions": [
111-
"amplifyuibuilder:GetTheme",
112-
"amplify:GetApp"
114+
"amplify:GetApp",
115+
"amplifyuibuilder:GetTheme"
113116
]
114117
},
115118
"update": {
116119
"permissions": [
120+
"amplify:GetApp",
121+
"amplifyuibuilder:GetTheme",
117122
"amplifyuibuilder:UpdateTheme",
118-
"amplify:GetApp"
123+
"amplifyuibuilder:TagResource"
119124
]
120125
},
121126
"delete": {
122127
"permissions": [
128+
"amplify:GetApp",
129+
"amplifyuibuilder:GetTheme",
123130
"amplifyuibuilder:DeleteTheme",
124-
"amplify:GetApp"
131+
"amplifyuibuilder:UntagResource"
125132
]
126133
},
127134
"list": {
128135
"permissions": [
129-
"amplifyuibuilder:ListThemes",
130-
"amplify:GetApp"
131-
]
136+
"amplify:GetApp",
137+
"amplifyuibuilder:GetTheme",
138+
"amplifyuibuilder:ListThemes"
139+
],
140+
"handlerSchema": {
141+
"properties": {
142+
"AppId": {
143+
"$ref": "resource-schema.json#/properties/AppId"
144+
},
145+
"EnvironmentName": {
146+
"$ref": "resource-schema.json#/properties/EnvironmentName"
147+
}
148+
},
149+
"required": [
150+
"AppId",
151+
"EnvironmentName"
152+
]
153+
}
132154
}
133155
},
134156
"additionalProperties": false,

0 commit comments

Comments
 (0)