Skip to content

Commit b4fc268

Browse files
CloudFormation Template Schema upgrade (#439)
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 48314fb commit b4fc268

File tree

169 files changed

+14689
-10240
lines changed

Some content is hidden

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

169 files changed

+14689
-10240
lines changed

server/schema/resources.schema.json

Lines changed: 9137 additions & 8763 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-acmpca-certificateauthority.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,11 @@
473473
"tagOnCreate": true,
474474
"tagUpdatable": true,
475475
"cloudFormationSystemTags": false,
476-
"tagProperty": "/properties/Tags"
476+
"tagProperty": "/properties/Tags",
477+
"permissions": [
478+
"acm-pca:TagCertificateAuthority",
479+
"acm-pca:UntagCertificateAuthority"
480+
]
477481
},
478482
"additionalProperties": false,
479483
"required": [
@@ -490,7 +494,6 @@
490494
"/properties/Subject",
491495
"/properties/Subject",
492496
"/properties/CsrExtensions",
493-
"/properties/Tags",
494497
"/properties/RevocationConfiguration",
495498
"/properties/KeyStorageSecurityStandard"
496499
],
@@ -523,7 +526,6 @@
523526
},
524527
"update": {
525528
"permissions": [
526-
"acm-pca:ListTags",
527529
"acm-pca:TagCertificateAuthority",
528530
"acm-pca:UntagCertificateAuthority",
529531
"acm-pca:UpdateCertificateAuthority"

server/schema/resources/aws-appflow-flow.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,6 +1873,7 @@
18731873
},
18741874
"update": {
18751875
"permissions": [
1876+
"appflow:DescribeFlow",
18761877
"appflow:UpdateFlow",
18771878
"appflow:StartFlow",
18781879
"appflow:StopFlow",
@@ -1904,7 +1905,13 @@
19041905
"taggable": true,
19051906
"tagOnCreate": true,
19061907
"tagUpdatable": false,
1907-
"cloudFormationSystemTags": false
1908+
"cloudFormationSystemTags": false,
1909+
"tagProperty": "/properties/Tags",
1910+
"permissions": [
1911+
"appflow:TagResource",
1912+
"appflow:UntagResource",
1913+
"appflow:ListTagsForResource"
1914+
]
19081915
},
19091916
"attributes": {
19101917
"FlowArn": {

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@
8282
"tagOnCreate": true,
8383
"tagUpdatable": true,
8484
"cloudFormationSystemTags": true,
85-
"tagProperty": "/properties/Tags"
85+
"tagProperty": "/properties/Tags",
86+
"permissions": [
87+
"aps:TagResource",
88+
"aps:UntagResource"
89+
]
8690
},
8791
"primaryIdentifier": [
8892
"/properties/Arn"

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

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@
4949
"additionalProperties": false,
5050
"markdownDescription": "Scraper configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
5151
},
52+
"RoleConfiguration": {
53+
"description": "Role configuration",
54+
"type": "object",
55+
"properties": {
56+
"SourceRoleArn": {
57+
"description": "IAM Role in source account",
58+
"type": "string",
59+
"markdownDescription": "IAM Role in source account\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
60+
},
61+
"TargetRoleArn": {
62+
"description": "IAM Role in the target account",
63+
"type": "string",
64+
"markdownDescription": "IAM Role in the target account\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
65+
}
66+
},
67+
"additionalProperties": false,
68+
"markdownDescription": "Role configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
69+
},
5270
"Source": {
5371
"description": "Scraper metrics source",
5472
"type": "object",
@@ -171,6 +189,9 @@
171189
"ScrapeConfiguration": {
172190
"$ref": "#/definitions/ScrapeConfiguration"
173191
},
192+
"RoleConfiguration": {
193+
"$ref": "#/definitions/RoleConfiguration"
194+
},
174195
"Source": {
175196
"$ref": "#/definitions/Source"
176197
},
@@ -207,7 +228,11 @@
207228
"tagOnCreate": true,
208229
"tagUpdatable": true,
209230
"cloudFormationSystemTags": true,
210-
"tagProperty": "/properties/Tags"
231+
"tagProperty": "/properties/Tags",
232+
"permissions": [
233+
"aps:TagResource",
234+
"aps:UntagResource"
235+
]
211236
},
212237
"primaryIdentifier": [
213238
"/properties/Arn"
@@ -224,7 +249,8 @@
224249
"eks:DescribeCluster",
225250
"ec2:DescribeSubnets",
226251
"ec2:DescribeSecurityGroups",
227-
"iam:CreateServiceLinkedRole"
252+
"iam:CreateServiceLinkedRole",
253+
"iam:PassRole"
228254
]
229255
},
230256
"read": {
@@ -241,7 +267,8 @@
241267
"aps:DescribeWorkspace",
242268
"aps:TagResource",
243269
"aps:UntagResource",
244-
"aps:ListTagsForResource"
270+
"aps:ListTagsForResource",
271+
"iam:PassRole"
245272
]
246273
},
247274
"delete": {

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@
113113
"tagOnCreate": true,
114114
"tagUpdatable": true,
115115
"cloudFormationSystemTags": true,
116-
"tagProperty": "/properties/Tags"
116+
"tagProperty": "/properties/Tags",
117+
"permissions": [
118+
"aps:TagResource",
119+
"aps:UntagResource"
120+
]
117121
},
118122
"primaryIdentifier": [
119123
"/properties/Arn"

server/schema/resources/aws-athena-datacatalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
},
113113
"list": {
114114
"permissions": [
115-
"athena:ListDataCatalog"
115+
"athena:ListDataCatalogs"
116116
]
117117
}
118118
},

server/schema/resources/aws-b2bi-partnership.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@
9494
"type": "string",
9595
"maxLength": 15,
9696
"minLength": 2,
97-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
97+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
9898
},
9999
"ApplicationReceiverCode": {
100100
"type": "string",
101101
"maxLength": 15,
102102
"minLength": 2,
103-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
103+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
104104
},
105105
"ResponsibleAgencyCode": {
106106
"type": "string",
@@ -125,7 +125,7 @@
125125
"type": "string",
126126
"maxLength": 15,
127127
"minLength": 15,
128-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
128+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
129129
},
130130
"ReceiverIdQualifier": {
131131
"type": "string",
@@ -137,7 +137,7 @@
137137
"type": "string",
138138
"maxLength": 15,
139139
"minLength": 15,
140-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
140+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
141141
},
142142
"RepetitionSeparator": {
143143
"type": "string",

server/schema/resources/aws-backup-backupplan.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,15 @@
116116
"type": "string",
117117
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
118118
},
119+
"IndexActions": {
120+
"type": "array",
121+
"insertionOrder": true,
122+
"uniqueItems": false,
123+
"items": {
124+
"$ref": "#/definitions/IndexActionsResourceType"
125+
},
126+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
127+
},
119128
"RecoveryPointTags": {
120129
"type": "object",
121130
"additionalProperties": false,
@@ -186,6 +195,29 @@
186195
],
187196
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
188197
},
198+
"IndexActionsResourceType": {
199+
"type": "object",
200+
"additionalProperties": false,
201+
"properties": {
202+
"ResourceTypes": {
203+
"$ref": "#/definitions/ResourceTypes"
204+
}
205+
},
206+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
207+
},
208+
"ResourceTypes": {
209+
"type": "array",
210+
"insertionOrder": true,
211+
"uniqueItems": true,
212+
"items": {
213+
"$ref": "#/definitions/ResourceType"
214+
},
215+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
216+
},
217+
"ResourceType": {
218+
"type": "string",
219+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
220+
},
189221
"LifecycleResourceType": {
190222
"type": "object",
191223
"additionalProperties": false,

server/schema/resources/aws-backupgateway-hypervisor.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
"/properties/LogGroupArn",
106106
"/properties/Name",
107107
"/properties/Password",
108-
"/properties/Tags",
109108
"/properties/Username"
110109
],
111110
"createOnlyProperties": [
@@ -120,11 +119,17 @@
120119
"tagOnCreate": true,
121120
"tagUpdatable": false,
122121
"cloudFormationSystemTags": true,
123-
"tagProperty": "/properties/Tags"
122+
"tagProperty": "/properties/Tags",
123+
"permissions": [
124+
"backup-gateway:UntagResource",
125+
"backup-gateway:TagResource",
126+
"backup-gateway:ListTagsForResource"
127+
]
124128
},
125129
"handlers": {
126130
"create": {
127131
"permissions": [
132+
"backup-gateway:ListTagsForResource",
128133
"backup-gateway:ImportHypervisorConfiguration",
129134
"backup-gateway:GetHypervisor",
130135
"backup-gateway:ListHypervisors",
@@ -137,7 +142,8 @@
137142
"read": {
138143
"permissions": [
139144
"backup-gateway:GetHypervisor",
140-
"backup-gateway:ListHypervisors"
145+
"backup-gateway:ListHypervisors",
146+
"backup-gateway:ListTagsForResource"
141147
]
142148
},
143149
"update": {
@@ -146,7 +152,8 @@
146152
"backup-gateway:GetHypervisor",
147153
"backup-gateway:ListHypervisors",
148154
"backup-gateway:ImportHypervisorConfiguration",
149-
"backup-gateway:DeleteHypervisor"
155+
"backup-gateway:DeleteHypervisor",
156+
"backup-gateway:ListTagsForResource"
150157
]
151158
},
152159
"delete": {

0 commit comments

Comments
 (0)