Skip to content

Commit

Permalink
CloudFormation Template Schema upgrade (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
3 people authored Feb 12, 2025
1 parent 48314fb commit b4fc268
Show file tree
Hide file tree
Showing 169 changed files with 14,689 additions and 10,240 deletions.
17,900 changes: 9,137 additions & 8,763 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions server/schema/resources/aws-acmpca-certificateauthority.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": false,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"acm-pca:TagCertificateAuthority",
"acm-pca:UntagCertificateAuthority"
]
},
"additionalProperties": false,
"required": [
Expand All @@ -490,7 +494,6 @@
"/properties/Subject",
"/properties/Subject",
"/properties/CsrExtensions",
"/properties/Tags",
"/properties/RevocationConfiguration",
"/properties/KeyStorageSecurityStandard"
],
Expand Down Expand Up @@ -523,7 +526,6 @@
},
"update": {
"permissions": [
"acm-pca:ListTags",
"acm-pca:TagCertificateAuthority",
"acm-pca:UntagCertificateAuthority",
"acm-pca:UpdateCertificateAuthority"
Expand Down
9 changes: 8 additions & 1 deletion server/schema/resources/aws-appflow-flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -1873,6 +1873,7 @@
},
"update": {
"permissions": [
"appflow:DescribeFlow",
"appflow:UpdateFlow",
"appflow:StartFlow",
"appflow:StopFlow",
Expand Down Expand Up @@ -1904,7 +1905,13 @@
"taggable": true,
"tagOnCreate": true,
"tagUpdatable": false,
"cloudFormationSystemTags": false
"cloudFormationSystemTags": false,
"tagProperty": "/properties/Tags",
"permissions": [
"appflow:TagResource",
"appflow:UntagResource",
"appflow:ListTagsForResource"
]
},
"attributes": {
"FlowArn": {
Expand Down
6 changes: 5 additions & 1 deletion server/schema/resources/aws-aps-rulegroupsnamespace.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"aps:TagResource",
"aps:UntagResource"
]
},
"primaryIdentifier": [
"/properties/Arn"
Expand Down
33 changes: 30 additions & 3 deletions server/schema/resources/aws-aps-scraper.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,24 @@
"additionalProperties": false,
"markdownDescription": "Scraper configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"RoleConfiguration": {
"description": "Role configuration",
"type": "object",
"properties": {
"SourceRoleArn": {
"description": "IAM Role in source account",
"type": "string",
"markdownDescription": "IAM Role in source account\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"TargetRoleArn": {
"description": "IAM Role in the target account",
"type": "string",
"markdownDescription": "IAM Role in the target account\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
}
},
"additionalProperties": false,
"markdownDescription": "Role configuration\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"Source": {
"description": "Scraper metrics source",
"type": "object",
Expand Down Expand Up @@ -171,6 +189,9 @@
"ScrapeConfiguration": {
"$ref": "#/definitions/ScrapeConfiguration"
},
"RoleConfiguration": {
"$ref": "#/definitions/RoleConfiguration"
},
"Source": {
"$ref": "#/definitions/Source"
},
Expand Down Expand Up @@ -207,7 +228,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"aps:TagResource",
"aps:UntagResource"
]
},
"primaryIdentifier": [
"/properties/Arn"
Expand All @@ -224,7 +249,8 @@
"eks:DescribeCluster",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
"iam:CreateServiceLinkedRole"
"iam:CreateServiceLinkedRole",
"iam:PassRole"
]
},
"read": {
Expand All @@ -241,7 +267,8 @@
"aps:DescribeWorkspace",
"aps:TagResource",
"aps:UntagResource",
"aps:ListTagsForResource"
"aps:ListTagsForResource",
"iam:PassRole"
]
},
"delete": {
Expand Down
6 changes: 5 additions & 1 deletion server/schema/resources/aws-aps-workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"aps:TagResource",
"aps:UntagResource"
]
},
"primaryIdentifier": [
"/properties/Arn"
Expand Down
2 changes: 1 addition & 1 deletion server/schema/resources/aws-athena-datacatalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
},
"list": {
"permissions": [
"athena:ListDataCatalog"
"athena:ListDataCatalogs"
]
}
},
Expand Down
8 changes: 4 additions & 4 deletions server/schema/resources/aws-b2bi-partnership.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@
"type": "string",
"maxLength": 15,
"minLength": 2,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
},
"ApplicationReceiverCode": {
"type": "string",
"maxLength": 15,
"minLength": 2,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 2 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
},
"ResponsibleAgencyCode": {
"type": "string",
Expand All @@ -125,7 +125,7 @@
"type": "string",
"maxLength": 15,
"minLength": 15,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
},
"ReceiverIdQualifier": {
"type": "string",
Expand All @@ -137,7 +137,7 @@
"type": "string",
"maxLength": 15,
"minLength": 15,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9]*$ \nUpdate requires: No interruption\n"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 15 \nMaximum Length: 15 \nPattern: ^[a-zA-Z0-9 ]*$ \nUpdate requires: No interruption\n"
},
"RepetitionSeparator": {
"type": "string",
Expand Down
32 changes: 32 additions & 0 deletions server/schema/resources/aws-backup-backupplan.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"IndexActions": {
"type": "array",
"insertionOrder": true,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/IndexActionsResourceType"
},
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
},
"RecoveryPointTags": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -186,6 +195,29 @@
],
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"IndexActionsResourceType": {
"type": "object",
"additionalProperties": false,
"properties": {
"ResourceTypes": {
"$ref": "#/definitions/ResourceTypes"
}
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"ResourceTypes": {
"type": "array",
"insertionOrder": true,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/ResourceType"
},
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
},
"ResourceType": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"LifecycleResourceType": {
"type": "object",
"additionalProperties": false,
Expand Down
15 changes: 11 additions & 4 deletions server/schema/resources/aws-backupgateway-hypervisor.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
"/properties/LogGroupArn",
"/properties/Name",
"/properties/Password",
"/properties/Tags",
"/properties/Username"
],
"createOnlyProperties": [
Expand All @@ -120,11 +119,17 @@
"tagOnCreate": true,
"tagUpdatable": false,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"backup-gateway:UntagResource",
"backup-gateway:TagResource",
"backup-gateway:ListTagsForResource"
]
},
"handlers": {
"create": {
"permissions": [
"backup-gateway:ListTagsForResource",
"backup-gateway:ImportHypervisorConfiguration",
"backup-gateway:GetHypervisor",
"backup-gateway:ListHypervisors",
Expand All @@ -137,7 +142,8 @@
"read": {
"permissions": [
"backup-gateway:GetHypervisor",
"backup-gateway:ListHypervisors"
"backup-gateway:ListHypervisors",
"backup-gateway:ListTagsForResource"
]
},
"update": {
Expand All @@ -146,7 +152,8 @@
"backup-gateway:GetHypervisor",
"backup-gateway:ListHypervisors",
"backup-gateway:ImportHypervisorConfiguration",
"backup-gateway:DeleteHypervisor"
"backup-gateway:DeleteHypervisor",
"backup-gateway:ListTagsForResource"
]
},
"delete": {
Expand Down
40 changes: 40 additions & 0 deletions server/schema/resources/aws-batch-jobdefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,24 @@
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"EksPersistentVolumeClaim": {
"additionalProperties": false,
"type": "object",
"properties": {
"ReadOnly": {
"type": "boolean",
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
},
"ClaimName": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption\n"
}
},
"required": [
"ClaimName"
],
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"NodeProperties": {
"additionalProperties": false,
"type": "object",
Expand Down Expand Up @@ -692,6 +710,17 @@
"additionalProperties": false,
"type": "object",
"properties": {
"Annotations": {
"patternProperties": {
".*": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
}
},
"additionalProperties": false,
"type": "object",
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"Labels": {
"patternProperties": {
".*": {
Expand All @@ -702,6 +731,10 @@
"additionalProperties": false,
"type": "object",
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"Namespace": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
}
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
Expand Down Expand Up @@ -952,6 +985,9 @@
"HostPath": {
"$ref": "#/definitions/EksHostPath"
},
"PersistentVolumeClaim": {
"$ref": "#/definitions/EksPersistentVolumeClaim"
},
"Name": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption\n"
Expand All @@ -974,6 +1010,10 @@
"type": "boolean",
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption\n"
},
"SubPath": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"Name": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
Expand Down
7 changes: 6 additions & 1 deletion server/schema/resources/aws-bcmdataexports-export.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,12 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": false,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"bcm-data-exports:ListTagsForResource",
"bcm-data-exports:TagResource",
"bcm-data-exports:UntagResource"
]
},
"additionalProperties": false,
"attributes": {
Expand Down
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
Loading

0 comments on commit b4fc268

Please sign in to comment.