Skip to content

Commit d607174

Browse files
CloudFormation Template Schema upgrade (#406)
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 a790444 commit d607174

File tree

355 files changed

+33162
-17980
lines changed

Some content is hidden

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

355 files changed

+33162
-17980
lines changed

server/schema/resources.schema.json

Lines changed: 9422 additions & 8437 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@
226226
"tagOnCreate": true,
227227
"tagUpdatable": true,
228228
"cloudFormationSystemTags": true,
229-
"tagProperty": "/properties/Tags"
229+
"tagProperty": "/properties/Tags",
230+
"permissions": [
231+
"access-analyzer:UntagResource",
232+
"access-analyzer:TagResource"
233+
]
230234
},
231235
"attributes": {
232236
"Arn": {
Lines changed: 111 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,7 @@
11
{
22
"typeName": "AWS::AmazonMQ::Configuration",
33
"description": "Resource Type definition for AWS::AmazonMQ::Configuration",
4-
"additionalProperties": false,
5-
"properties": {
6-
"EngineVersion": {
7-
"type": "string",
8-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
9-
},
10-
"Description": {
11-
"type": "string",
12-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
13-
},
14-
"AuthenticationStrategy": {
15-
"type": "string",
16-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
17-
},
18-
"EngineType": {
19-
"type": "string",
20-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
21-
},
22-
"Data": {
23-
"type": "string",
24-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
25-
},
26-
"Tags": {
27-
"type": "array",
28-
"uniqueItems": false,
29-
"items": {
30-
"$ref": "#/definitions/TagsEntry"
31-
},
32-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
33-
},
34-
"Name": {
35-
"type": "string",
36-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
37-
}
38-
},
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
395
"definitions": {
406
"TagsEntry": {
417
"type": "object",
@@ -57,37 +23,133 @@
5723
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
5824
}
5925
},
26+
"properties": {
27+
"AuthenticationStrategy": {
28+
"type": "string",
29+
"description": "The authentication strategy associated with the configuration. The default is SIMPLE.",
30+
"markdownDescription": "The authentication strategy associated with the configuration. The default is SIMPLE.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
31+
},
32+
"EngineType": {
33+
"type": "string",
34+
"description": "The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.",
35+
"markdownDescription": "The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
36+
},
37+
"EngineVersion": {
38+
"type": "string",
39+
"description": "The version of the broker engine.",
40+
"markdownDescription": "The version of the broker engine.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
41+
},
42+
"Data": {
43+
"type": "string",
44+
"description": "The base64-encoded XML configuration.",
45+
"markdownDescription": "The base64-encoded XML configuration.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
46+
},
47+
"Description": {
48+
"type": "string",
49+
"description": "The description of the configuration.",
50+
"markdownDescription": "The description of the configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
51+
},
52+
"Name": {
53+
"type": "string",
54+
"description": "The name of the configuration.",
55+
"markdownDescription": "The name of the configuration.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
56+
},
57+
"Tags": {
58+
"type": "array",
59+
"description": "Create tags when creating the configuration.",
60+
"insertionOrder": false,
61+
"items": {
62+
"$ref": "#/definitions/TagsEntry"
63+
},
64+
"markdownDescription": "Create tags when creating the configuration.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
65+
}
66+
},
67+
"additionalProperties": false,
68+
"tagging": {
69+
"taggable": true,
70+
"tagOnCreate": true,
71+
"tagUpdatable": true,
72+
"cloudFormationSystemTags": false,
73+
"tagProperty": "/properties/Tags",
74+
"permissions": [
75+
"mq:ListTags",
76+
"mq:CreateTags",
77+
"mq:DeleteTags"
78+
]
79+
},
6080
"required": [
6181
"EngineType",
6282
"Data",
6383
"Name"
6484
],
85+
"propertyTransform": {
86+
"/properties/AuthenticationStrategy": "$uppercase(AuthenticationStrategy)",
87+
"/properties/EngineType": "$uppercase(EngineType)"
88+
},
6589
"createOnlyProperties": [
66-
"/properties/EngineType",
67-
"/properties/Name",
6890
"/properties/AuthenticationStrategy",
69-
"/properties/EngineVersion"
70-
],
71-
"primaryIdentifier": [
72-
"/properties/Id"
91+
"/properties/EngineType",
92+
"/properties/EngineVersion",
93+
"/properties/Name"
7394
],
7495
"readOnlyProperties": [
75-
"/properties/Revision",
96+
"/properties/Arn",
7697
"/properties/Id",
77-
"/properties/Arn"
98+
"/properties/Revision"
99+
],
100+
"writeOnlyProperties": [
101+
"/properties/Data"
78102
],
103+
"primaryIdentifier": [
104+
"/properties/Id"
105+
],
106+
"handlers": {
107+
"create": {
108+
"permissions": [
109+
"mq:CreateConfiguration",
110+
"mq:CreateTags",
111+
"mq:UpdateConfiguration"
112+
]
113+
},
114+
"read": {
115+
"permissions": [
116+
"mq:DescribeConfiguration",
117+
"mq:ListTags"
118+
]
119+
},
120+
"update": {
121+
"permissions": [
122+
"mq:UpdateConfiguration",
123+
"mq:CreateTags",
124+
"mq:DeleteTags"
125+
]
126+
},
127+
"delete": {
128+
"permissions": [
129+
"mq:DescribeConfiguration"
130+
]
131+
},
132+
"list": {
133+
"permissions": [
134+
"mq:ListConfigurations"
135+
]
136+
}
137+
},
79138
"attributes": {
80-
"Revision": {
81-
"type": "integer",
82-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption"
139+
"Arn": {
140+
"type": "string",
141+
"description": "The Amazon Resource Name (ARN) of the Amazon MQ configuration.",
142+
"markdownDescription": "The Amazon Resource Name (ARN) of the Amazon MQ configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
83143
},
84144
"Id": {
85145
"type": "string",
86-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
146+
"description": "The ID of the Amazon MQ configuration.",
147+
"markdownDescription": "The ID of the Amazon MQ configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
87148
},
88-
"Arn": {
149+
"Revision": {
89150
"type": "string",
90-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
151+
"description": "The revision number of the configuration.",
152+
"markdownDescription": "The revision number of the configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
91153
}
92154
}
93155
}

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"typeName": "AWS::Amplify::App",
33
"description": "The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches.",
4+
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplify",
45
"additionalProperties": false,
56
"properties": {
67
"AccessToken": {
@@ -21,6 +22,9 @@
2122
"maxLength": 25000,
2223
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 25000 \nPattern: (?s).+ \nUpdate requires: No interruption"
2324
},
25+
"CacheConfig": {
26+
"$ref": "#/definitions/CacheConfig"
27+
},
2428
"CustomHeaders": {
2529
"type": "string",
2630
"minLength": 0,
@@ -187,6 +191,21 @@
187191
},
188192
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
189193
},
194+
"CacheConfig": {
195+
"type": "object",
196+
"additionalProperties": false,
197+
"properties": {
198+
"Type": {
199+
"type": "string",
200+
"enum": [
201+
"AMPLIFY_MANAGED",
202+
"AMPLIFY_MANAGED_NO_COOKIES"
203+
],
204+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nAllowed Values: AMPLIFY_MANAGED | AMPLIFY_MANAGED_NO_COOKIES \nUpdate requires: No interruption"
205+
}
206+
},
207+
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
208+
},
190209
"CustomRule": {
191210
"type": "object",
192211
"additionalProperties": false,

0 commit comments

Comments
 (0)