Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFormation Template Schema upgrade #386

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16,269 changes: 8,270 additions & 7,999 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

26 changes: 21 additions & 5 deletions server/schema/resources/aws-appintegrations-application.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"type": "object",
"additionalProperties": false,
"required": [
"AccessUrl",
"ApprovedOrigins"
"AccessUrl"
],
"properties": {
"AccessUrl": {
Expand All @@ -51,7 +50,7 @@
},
"minItems": 0,
"maxItems": 50,
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Array \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
}
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
Expand All @@ -61,6 +60,12 @@
"minLength": 1,
"maxLength": 1000,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 1000 \nPattern: ^\\w+\\:\\/\\/.*$ \nUpdate requires: No interruption"
},
"Permissions": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 255 \nPattern: ^[a-zA-Z0-9\\/\\._\\-\\*]+$ \nUpdate requires: No interruption"
}
},
"properties": {
Expand All @@ -69,7 +74,7 @@
"type": "string",
"minLength": 1,
"maxLength": 255,
"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"
"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"
},
"Namespace": {
"description": "The namespace of the application.",
Expand Down Expand Up @@ -99,6 +104,17 @@
],
"markdownDescription": "Application source config\n\n---\n\nRequired: Yes \nUpdate requires: No interruption"
},
"Permissions": {
"description": "The configuration of events or requests that the application has access to.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Permissions"
},
"minItems": 0,
"maxItems": 150,
"markdownDescription": "The configuration of events or requests that the application has access to.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"Tags": {
"description": "The tags (keys and values) associated with the application.",
"type": "array",
Expand Down Expand Up @@ -175,7 +191,7 @@
"type": "string",
"minLength": 1,
"maxLength": 2048,
"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"
"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"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@
},
"properties": {
"ZonalAutoshiftStatus": {
"$ref": "#/definitions/ZonalAutoshiftStatus",
"dependencies": {
"ZonalAutoshiftStatus": [
"PracticeRunConfiguration"
]
}
"$ref": "#/definitions/ZonalAutoshiftStatus"
},
"PracticeRunConfiguration": {
"$ref": "#/definitions/PracticeRunConfiguration"
Expand All @@ -109,7 +104,7 @@
"type": "string",
"maxLength": 1024,
"minLength": 8,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 8 \nMaximum Length: 1024 \nUpdate requires: Replacement"
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 8 \nMaximum Length: 1024 \nUpdate requires: Replacement"
}
},
"createOnlyProperties": [
Expand Down Expand Up @@ -158,5 +153,28 @@
"tagging": {
"taggable": false
},
"allOf": [
{
"anyOf": [
{
"required": [
"ZonalAutoshiftStatus"
]
},
{
"required": [
"PracticeRunConfiguration"
]
}
],
"allOf": [
{
"required": [
"ResourceIdentifier"
]
}
]
}
],
"attributes": {}
}
3 changes: 3 additions & 0 deletions server/schema/resources/aws-bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@
},
"Tags": {
"$ref": "#/definitions/TagsMap"
},
"TestAliasTags": {
"$ref": "#/definitions/TagsMap"
}
},
"required": [
Expand Down