Skip to content

Commit 221e223

Browse files
CloudFormation Template Schema upgrade (#386)
https://github.com/aws-cloudformation/cloudformation-template-schema/tree/main Co-authored-by: kddejong <[email protected]>
1 parent 27f1dbd commit 221e223

File tree

49 files changed

+37489
-34087
lines changed

Some content is hidden

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

49 files changed

+37489
-34087
lines changed

server/schema/resources.schema.json

Lines changed: 8270 additions & 7999 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-appintegrations-application.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"type": "object",
3434
"additionalProperties": false,
3535
"required": [
36-
"AccessUrl",
37-
"ApprovedOrigins"
36+
"AccessUrl"
3837
],
3938
"properties": {
4039
"AccessUrl": {
@@ -51,7 +50,7 @@
5150
},
5251
"minItems": 0,
5352
"maxItems": 50,
54-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Array \nUpdate requires: No interruption"
53+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
5554
}
5655
},
5756
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
@@ -61,6 +60,12 @@
6160
"minLength": 1,
6261
"maxLength": 1000,
6362
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 1000 \nPattern: ^\\w+\\:\\/\\/.*$ \nUpdate requires: No interruption"
63+
},
64+
"Permissions": {
65+
"type": "string",
66+
"minLength": 1,
67+
"maxLength": 255,
68+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 255 \nPattern: ^[a-zA-Z0-9\\/\\._\\-\\*]+$ \nUpdate requires: No interruption"
6469
}
6570
},
6671
"properties": {
@@ -69,7 +74,7 @@
6974
"type": "string",
7075
"minLength": 1,
7176
"maxLength": 255,
72-
"markdownDescription": "The name of the application.\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 255 \nPattern: ^[a-zA-Z0-9/\\._\\-]+$ \nUpdate requires: No interruption"
77+
"markdownDescription": "The name of the application.\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 255 \nPattern: ^[a-zA-Z0-9\\/\\._ \\-]+$ \nUpdate requires: No interruption"
7378
},
7479
"Namespace": {
7580
"description": "The namespace of the application.",
@@ -99,6 +104,17 @@
99104
],
100105
"markdownDescription": "Application source config\n\n---\n\nRequired: Yes \nUpdate requires: No interruption"
101106
},
107+
"Permissions": {
108+
"description": "The configuration of events or requests that the application has access to.",
109+
"type": "array",
110+
"insertionOrder": false,
111+
"items": {
112+
"$ref": "#/definitions/Permissions"
113+
},
114+
"minItems": 0,
115+
"maxItems": 150,
116+
"markdownDescription": "The configuration of events or requests that the application has access to.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
117+
},
102118
"Tags": {
103119
"description": "The tags (keys and values) associated with the application.",
104120
"type": "array",
@@ -175,7 +191,7 @@
175191
"type": "string",
176192
"minLength": 1,
177193
"maxLength": 2048,
178-
"markdownDescription": "The Amazon Resource Name (ARN) of the application.\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 2048 \nUpdate requires: No interruption"
194+
"markdownDescription": "The Amazon Resource Name (ARN) of the application.\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 2048 \nPattern: ^arn:aws[-a-z0-9]*:app-integrations:[-a-z0-9]*:[0-9]{12}:application/[-a-zA-Z0-9]* \nUpdate requires: No interruption"
179195
}
180196
}
181197
}

server/schema/resources/aws-arczonalshift-zonalautoshiftconfiguration.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@
9595
},
9696
"properties": {
9797
"ZonalAutoshiftStatus": {
98-
"$ref": "#/definitions/ZonalAutoshiftStatus",
99-
"dependencies": {
100-
"ZonalAutoshiftStatus": [
101-
"PracticeRunConfiguration"
102-
]
103-
}
98+
"$ref": "#/definitions/ZonalAutoshiftStatus"
10499
},
105100
"PracticeRunConfiguration": {
106101
"$ref": "#/definitions/PracticeRunConfiguration"
@@ -109,7 +104,7 @@
109104
"type": "string",
110105
"maxLength": 1024,
111106
"minLength": 8,
112-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 8 \nMaximum Length: 1024 \nUpdate requires: Replacement"
107+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 8 \nMaximum Length: 1024 \nUpdate requires: Replacement"
113108
}
114109
},
115110
"createOnlyProperties": [
@@ -158,5 +153,28 @@
158153
"tagging": {
159154
"taggable": false
160155
},
156+
"allOf": [
157+
{
158+
"anyOf": [
159+
{
160+
"required": [
161+
"ZonalAutoshiftStatus"
162+
]
163+
},
164+
{
165+
"required": [
166+
"PracticeRunConfiguration"
167+
]
168+
}
169+
],
170+
"allOf": [
171+
{
172+
"required": [
173+
"ResourceIdentifier"
174+
]
175+
}
176+
]
177+
}
178+
],
161179
"attributes": {}
162180
}

server/schema/resources/aws-bedrock-agent.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@
415415
},
416416
"Tags": {
417417
"$ref": "#/definitions/TagsMap"
418+
},
419+
"TestAliasTags": {
420+
"$ref": "#/definitions/TagsMap"
418421
}
419422
},
420423
"required": [

0 commit comments

Comments
 (0)