Skip to content

Commit f0e7825

Browse files
CloudFormation Template Schema upgrade (#389)
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 0110e6d commit f0e7825

File tree

253 files changed

+30675
-16547
lines changed

Some content is hidden

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

253 files changed

+30675
-16547
lines changed

server/schema/resources.schema.json

Lines changed: 9188 additions & 8036 deletions
Large diffs are not rendered by default.

server/schema/resources/aws-acmpca-certificate.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,12 @@
552552
}
553553
},
554554
"additionalProperties": false,
555+
"tagging": {
556+
"taggable": false,
557+
"tagOnCreate": false,
558+
"tagUpdatable": false,
559+
"cloudFormationSystemTags": false
560+
},
555561
"required": [
556562
"CertificateAuthorityArn",
557563
"CertificateSigningRequest",
@@ -573,7 +579,11 @@
573579
],
574580
"writeOnlyProperties": [
575581
"/properties/ApiPassthrough",
576-
"/properties/CertificateSigningRequest"
582+
"/properties/CertificateSigningRequest",
583+
"/properties/SigningAlgorithm",
584+
"/properties/TemplateArn",
585+
"/properties/Validity",
586+
"/properties/ValidityNotBefore"
577587
],
578588
"primaryIdentifier": [
579589
"/properties/Arn",
@@ -595,9 +605,6 @@
595605
"permissions": [
596606
"acm-pca:GetCertificate"
597607
]
598-
},
599-
"update": {
600-
"permissions": []
601608
}
602609
},
603610
"attributes": {

server/schema/resources/aws-acmpca-certificateauthority.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
"properties": {
1414
"Key": {
1515
"type": "string",
16-
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
16+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
1717
},
1818
"Value": {
1919
"type": "string",
2020
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
2121
}
2222
},
23+
"required": [
24+
"Key"
25+
],
2326
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
2427
},
2528
"Subject": {
@@ -138,7 +141,7 @@
138141
"properties": {
139142
"Enabled": {
140143
"type": "boolean",
141-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
144+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Boolean \nUpdate requires: No interruption"
142145
},
143146
"ExpirationInDays": {
144147
"type": "integer",
@@ -160,6 +163,9 @@
160163
"$ref": "#/definitions/CrlDistributionPointExtensionConfiguration"
161164
}
162165
},
166+
"required": [
167+
"Enabled"
168+
],
163169
"markdownDescription": "Your certificate authority can create and maintain a certificate revocation list (CRL). A CRL contains information about certificates that have been revoked.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
164170
},
165171
"OcspConfiguration": {
@@ -169,13 +175,16 @@
169175
"properties": {
170176
"Enabled": {
171177
"type": "boolean",
172-
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
178+
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Boolean \nUpdate requires: No interruption"
173179
},
174180
"OcspCustomCname": {
175181
"type": "string",
176182
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
177183
}
178184
},
185+
"required": [
186+
"Enabled"
187+
],
179188
"markdownDescription": "Helps to configure online certificate status protocol (OCSP) responder for your certificate authority\n\n---\n\nRequired: No \nUpdate requires: No interruption"
180189
},
181190
"RevocationConfiguration": {
@@ -309,12 +318,11 @@
309318
},
310319
"NameAssigner": {
311320
"type": "string",
312-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
321+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
313322
}
314323
},
315324
"required": [
316-
"PartyName",
317-
"NameAssigner"
325+
"PartyName"
318326
],
319327
"markdownDescription": "Structure that contains X.509 EdiPartyName information.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
320328
},

server/schema/resources/aws-acmpca-certificateauthorityactivation.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
"markdownDescription": "The status of the Certificate Authority.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
2525
}
2626
},
27+
"tagging": {
28+
"taggable": false,
29+
"tagOnCreate": false,
30+
"tagUpdatable": false,
31+
"cloudFormationSystemTags": false
32+
},
2733
"additionalProperties": false,
2834
"required": [
2935
"CertificateAuthorityArn",

server/schema/resources/aws-acmpca-permission.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@
3030
}
3131
},
3232
"additionalProperties": false,
33-
"taggable": false,
33+
"tagging": {
34+
"taggable": false,
35+
"tagOnCreate": false,
36+
"tagUpdatable": false,
37+
"cloudFormationSystemTags": false
38+
},
3439
"required": [
3540
"Actions",
3641
"CertificateAuthorityArn",

server/schema/resources/aws-amazonmq-broker.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"EngineVersion": {
6767
"type": "string",
68-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
68+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
6969
},
7070
"MaintenanceWindowStartTime": {
7171
"$ref": "#/definitions/MaintenanceWindow"
@@ -76,7 +76,7 @@
7676
},
7777
"AutoMinorVersionUpgrade": {
7878
"type": "boolean",
79-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Boolean \nUpdate requires: No interruption"
79+
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
8080
},
8181
"Logs": {
8282
"$ref": "#/definitions/LogList"
@@ -296,11 +296,9 @@
296296
}
297297
},
298298
"required": [
299-
"EngineVersion",
300299
"DeploymentMode",
301300
"HostInstanceType",
302301
"EngineType",
303-
"AutoMinorVersionUpgrade",
304302
"Users",
305303
"PubliclyAccessible",
306304
"BrokerName"

server/schema/resources/aws-amazonmq-configuration.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"properties": {
66
"EngineVersion": {
77
"type": "string",
8-
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
8+
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
99
},
1010
"Description": {
1111
"type": "string",
@@ -58,7 +58,6 @@
5858
}
5959
},
6060
"required": [
61-
"EngineVersion",
6261
"EngineType",
6362
"Data",
6463
"Name"

server/schema/resources/aws-apigateway-account.json

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,21 @@
11
{
2-
"typeName": "AWS::ApiGateway::Account",
3-
"description": "The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.",
42
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
5-
"additionalProperties": false,
6-
"properties": {
7-
"CloudWatchRoleArn": {
8-
"description": "The ARN of an Amazon CloudWatch role for the current Account.",
9-
"type": "string",
10-
"markdownDescription": "The ARN of an Amazon CloudWatch role for the current Account.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
11-
}
3+
"tagging": {
4+
"taggable": false
125
},
13-
"primaryIdentifier": [
14-
"/properties/Id"
15-
],
16-
"readOnlyProperties": [
17-
"/properties/Id"
18-
],
196
"handlers": {
7+
"read": {
8+
"permissions": [
9+
"apigateway:GET"
10+
]
11+
},
2012
"create": {
2113
"permissions": [
2214
"apigateway:PATCH",
2315
"iam:GetRole",
2416
"iam:PassRole"
2517
]
2618
},
27-
"read": {
28-
"permissions": [
29-
"apigateway:GET"
30-
]
31-
},
3219
"update": {
3320
"permissions": [
3421
"apigateway:PATCH",
@@ -37,7 +24,25 @@
3724
]
3825
},
3926
"delete": {
40-
"permissions": []
27+
"permissions": [
28+
"apigateway:PATCH"
29+
]
30+
}
31+
},
32+
"typeName": "AWS::ApiGateway::Account",
33+
"readOnlyProperties": [
34+
"/properties/Id"
35+
],
36+
"description": "The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.",
37+
"additionalProperties": false,
38+
"primaryIdentifier": [
39+
"/properties/Id"
40+
],
41+
"properties": {
42+
"CloudWatchRoleArn": {
43+
"description": "The ARN of an Amazon CloudWatch role for the current Account.",
44+
"type": "string",
45+
"markdownDescription": "The ARN of an Amazon CloudWatch role for the current Account.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
4146
}
4247
},
4348
"attributes": {

server/schema/resources/aws-apigateway-apikey.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@
9999
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
100100
}
101101
},
102+
"tagging": {
103+
"taggable": true,
104+
"tagOnCreate": true,
105+
"tagUpdatable": true,
106+
"cloudFormationSystemTags": true,
107+
"tagProperty": "/properties/Tags",
108+
"permissions": [
109+
"apigateway:PUT",
110+
"apigateway:DELETE",
111+
"apigateway:GET"
112+
]
113+
},
102114
"createOnlyProperties": [
103115
"/properties/GenerateDistinctId",
104116
"/properties/Name",

server/schema/resources/aws-apigateway-clientcertificate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@
4141
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
4242
}
4343
},
44+
"tagging": {
45+
"taggable": true,
46+
"tagOnCreate": true,
47+
"tagUpdatable": true,
48+
"cloudFormationSystemTags": true,
49+
"tagProperty": "/properties/Tags",
50+
"permissions": [
51+
"apigateway:PUT",
52+
"apigateway:DELETE",
53+
"apigateway:GET"
54+
]
55+
},
4456
"primaryIdentifier": [
4557
"/properties/ClientCertificateId"
4658
],

0 commit comments

Comments
 (0)