Skip to content

Commit

Permalink
CloudFormation Template Schema upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored and github-actions[bot] committed Jan 17, 2025
1 parent caf037b commit 4f5e330
Show file tree
Hide file tree
Showing 20 changed files with 9,937 additions and 8,770 deletions.
17,636 changes: 8,886 additions & 8,750 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions server/schema/resources/aws-bedrock-datasource.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@
"SALESFORCE",
"SHAREPOINT",
"WEB",
"CUSTOM"
"CUSTOM",
"REDSHIFT_METADATA"
],
"markdownDescription": "The type of the data source location.\n\n---\n\nRequired: No \nType: String \nAllowed Values: S3 | CONFLUENCE | SALESFORCE | SHAREPOINT | WEB | CUSTOM \nUpdate requires: No interruption\n"
"markdownDescription": "The type of the data source location.\n\n---\n\nRequired: No \nType: String \nAllowed Values: S3 | CONFLUENCE | SALESFORCE | SHAREPOINT | WEB | CUSTOM | REDSHIFT_METADATA \nUpdate requires: No interruption\n"
},
"DataDeletionPolicy": {
"type": "string",
Expand Down
460 changes: 456 additions & 4 deletions server/schema/resources/aws-bedrock-knowledgebase.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions server/schema/resources/aws-connect-routingprofile.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"enum": [
"VOICE",
"CHAT",
"TASK"
"TASK",
"EMAIL"
],
"markdownDescription": "The channels that agents can handle in the Contact Control Panel (CCP).\n\n---\n\nRequired: No \nType: String \nAllowed Values: VOICE | CHAT | TASK \nUpdate requires: No interruption\n"
"markdownDescription": "The channels that agents can handle in the Contact Control Panel (CCP).\n\n---\n\nRequired: No \nType: String \nAllowed Values: VOICE | CHAT | TASK | EMAIL \nUpdate requires: No interruption\n"
},
"Concurrency": {
"description": "The number of contacts an agent can have on a channel simultaneously.",
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@
"create": {
"permissions": [
"databrew:CreateDataset",
"databrew:DescribeDataset",
"databrew:TagResource",
"databrew:UntagResource",
"glue:GetConnection",
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-job.json
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@
"permissions": [
"databrew:CreateProfileJob",
"databrew:CreateRecipeJob",
"databrew:DescribeJob",
"databrew:TagResource",
"databrew:UntagResource",
"iam:PassRole"
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"create": {
"permissions": [
"databrew:CreateProject",
"databrew:DescribeProject",
"databrew:TagResource",
"databrew:UntagResource",
"iam:PassRole"
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@
"create": {
"permissions": [
"databrew:CreateRecipe",
"databrew:DescribeRecipe",
"databrew:TagResource",
"databrew:UntagResource",
"iam:PassRole"
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-ruleset.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
"create": {
"permissions": [
"databrew:CreateRuleset",
"databrew:DescribeRuleset",
"databrew:TagResource",
"databrew:UntagResource",
"iam:PassRole"
Expand Down
1 change: 1 addition & 0 deletions server/schema/resources/aws-databrew-schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"create": {
"permissions": [
"databrew:CreateSchedule",
"databrew:DescribeSchedule",
"databrew:TagResource",
"databrew:UntagResource",
"iam:PassRole"
Expand Down
12 changes: 12 additions & 0 deletions server/schema/resources/aws-detective-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@
"primaryIdentifier": [
"/properties/Arn"
],
"tagging": {
"taggable": true,
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags",
"permissions": [
"detective:UntagResource",
"detective:TagResource",
"detective:ListTagsForResource"
]
},
"handlers": {
"create": {
"permissions": [
Expand Down
3 changes: 3 additions & 0 deletions server/schema/resources/aws-detective-memberinvitation.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"/properties/Message",
"/properties/DisableEmailNotification"
],
"tagging": {
"taggable": false
},
"handlers": {
"create": {
"permissions": [
Expand Down
10 changes: 5 additions & 5 deletions server/schema/resources/aws-elasticache-usergroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@
"markdownDescription": "The ID of the user group.\n\n---\n\nRequired: Yes \nType: String \nPattern: [a-z][a-z0-9\\\\-]* \nUpdate requires: Replacement\n"
},
"Engine": {
"description": "Must be redis.",
"description": "The target cache engine for the user group.",
"type": "string",
"enum": [
"redis"
"redis",
"valkey"
],
"markdownDescription": "Must be redis.\n\n---\n\nRequired: Yes \nType: String \nAllowed Values: redis \nUpdate requires: Replacement\n"
"markdownDescription": "The target cache engine for the user group.\n\n---\n\nRequired: Yes \nType: String \nAllowed Values: redis | valkey \nUpdate requires: No interruption\n"
},
"UserIds": {
"type": "array",
Expand Down Expand Up @@ -88,8 +89,7 @@
"/properties/Arn"
],
"createOnlyProperties": [
"/properties/UserGroupId",
"/properties/Engine"
"/properties/UserGroupId"
],
"primaryIdentifier": [
"/properties/UserGroupId"
Expand Down
8 changes: 4 additions & 4 deletions server/schema/resources/aws-iot-thingtype.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@
"properties": {
"Key": {
"type": "string",
"description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"description": "Tag key (1-128 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]",
"minLength": 1,
"maxLength": 128,
"markdownDescription": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. \n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 128 \nPattern: ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$ \nUpdate requires: No interruption\n"
"markdownDescription": "Tag key (1-128 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 128 \nPattern: ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$ \nUpdate requires: No interruption\n"
},
"Value": {
"type": "string",
"description": "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"description": "Tag value (1-256 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]",
"minLength": 1,
"maxLength": 256,
"markdownDescription": "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. \n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 256 \nUpdate requires: No interruption\n"
"markdownDescription": "Tag value (1-256 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]\n\n---\n\nRequired: Yes \nType: String \nMinimum Length: 1 \nMaximum Length: 256 \nUpdate requires: No interruption\n"
}
},
"required": [
Expand Down
67 changes: 67 additions & 0 deletions server/schema/resources/aws-notifications-channelassociation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"typeName": "AWS::Notifications::ChannelAssociation",
"description": "Definition of AWS::Notifications::ChannelAssociation Resource Type",
"properties": {
"Arn": {
"type": "string",
"description": "ARN identifier of the channel.\nExample: arn:aws:chatbot::123456789012:chat-configuration/slack-channel/security-ops",
"markdownDescription": "ARN identifier of the channel.\nExample: arn:aws:chatbot::123456789012:chat-configuration/slack-channel/security-ops\n\n---\n\nRequired: Yes \nType: String \nPattern: ^arn:aws:(chatbot|consoleapp|notifications-contacts):[a-zA-Z0-9-]*:[0-9]{12}:[a-zA-Z0-9-_.@]+/[a-zA-Z0-9/_.@:-]+$ \nUpdate requires: Replacement\n"
},
"NotificationConfigurationArn": {
"type": "string",
"description": "ARN identifier of the NotificationConfiguration.\nExample: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1",
"markdownDescription": "ARN identifier of the NotificationConfiguration.\nExample: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1\n\n---\n\nRequired: Yes \nType: String \nPattern: ^arn:aws:notifications::[0-9]{12}:configuration\\/[a-z0-9]{27}$ \nUpdate requires: Replacement\n"
}
},
"required": [
"Arn",
"NotificationConfigurationArn"
],
"createOnlyProperties": [
"/properties/Arn",
"/properties/NotificationConfigurationArn"
],
"primaryIdentifier": [
"/properties/Arn",
"/properties/NotificationConfigurationArn"
],
"handlers": {
"create": {
"permissions": [
"notifications:AssociateChannel",
"notifications:ListChannels"
]
},
"delete": {
"permissions": [
"notifications:DisassociateChannel"
]
},
"list": {
"handlerSchema": {
"properties": {
"NotificationConfigurationArn": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nPattern: ^arn:aws:notifications::[0-9]{12}:configuration\\/[a-z0-9]{27}$ \nUpdate requires: No interruption\n"
}
},
"required": [
"NotificationConfigurationArn"
]
},
"permissions": [
"notifications:ListChannels"
]
},
"read": {
"permissions": [
"notifications:ListChannels"
]
}
},
"tagging": {
"taggable": false
},
"additionalProperties": false,
"attributes": {}
}
Loading

0 comments on commit 4f5e330

Please sign in to comment.