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 May 9, 2024
1 parent 6518289 commit b4e2c1c
Show file tree
Hide file tree
Showing 73 changed files with 8,198 additions and 3,923 deletions.
594 changes: 484 additions & 110 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion server/schema/resources/aws-acmpca-certificate.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,12 @@
}
},
"additionalProperties": false,
"tagging": {
"taggable": false,
"tagOnCreate": false,
"tagUpdatable": false,
"cloudFormationSystemTags": false
},
"required": [
"CertificateAuthorityArn",
"CertificateSigningRequest",
Expand All @@ -573,7 +579,11 @@
],
"writeOnlyProperties": [
"/properties/ApiPassthrough",
"/properties/CertificateSigningRequest"
"/properties/CertificateSigningRequest",
"/properties/SigningAlgorithm",
"/properties/TemplateArn",
"/properties/Validity",
"/properties/ValidityNotBefore"
],
"primaryIdentifier": [
"/properties/Arn",
Expand Down
20 changes: 14 additions & 6 deletions server/schema/resources/aws-acmpca-certificateauthority.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
"properties": {
"Key": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
},
"Value": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"required": [
"Key"
],
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"Subject": {
Expand Down Expand Up @@ -138,7 +141,7 @@
"properties": {
"Enabled": {
"type": "boolean",
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Boolean \nUpdate requires: No interruption"
},
"ExpirationInDays": {
"type": "integer",
Expand All @@ -160,6 +163,9 @@
"$ref": "#/definitions/CrlDistributionPointExtensionConfiguration"
}
},
"required": [
"Enabled"
],
"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"
},
"OcspConfiguration": {
Expand All @@ -169,13 +175,16 @@
"properties": {
"Enabled": {
"type": "boolean",
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: Boolean \nUpdate requires: No interruption"
},
"OcspCustomCname": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"required": [
"Enabled"
],
"markdownDescription": "Helps to configure online certificate status protocol (OCSP) responder for your certificate authority\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"RevocationConfiguration": {
Expand Down Expand Up @@ -309,12 +318,11 @@
},
"NameAssigner": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"required": [
"PartyName",
"NameAssigner"
"PartyName"
],
"markdownDescription": "Structure that contains X.509 EdiPartyName information.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"markdownDescription": "The status of the Certificate Authority.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"tagging": {
"taggable": false,
"tagOnCreate": false,
"tagUpdatable": false,
"cloudFormationSystemTags": false
},
"additionalProperties": false,
"required": [
"CertificateAuthorityArn",
Expand Down
7 changes: 6 additions & 1 deletion server/schema/resources/aws-acmpca-permission.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
}
},
"additionalProperties": false,
"taggable": false,
"tagging": {
"taggable": false,
"tagOnCreate": false,
"tagUpdatable": false,
"cloudFormationSystemTags": false
},
"required": [
"Actions",
"CertificateAuthorityArn",
Expand Down
42 changes: 21 additions & 21 deletions server/schema/resources/aws-apigateway-account.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"typeName": "AWS::ApiGateway::Account",
"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.",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
"additionalProperties": false,
"properties": {
"CloudWatchRoleArn": {
"description": "The ARN of an Amazon CloudWatch role for the current Account.",
"type": "string",
"markdownDescription": "The ARN of an Amazon CloudWatch role for the current Account.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"primaryIdentifier": [
"/properties/Id"
],
"readOnlyProperties": [
"/properties/Id"
],
"handlers": {
"read": {
"permissions": [
"apigateway:GET"
]
},
"create": {
"permissions": [
"apigateway:PATCH",
"iam:GetRole",
"iam:PassRole"
]
},
"read": {
"permissions": [
"apigateway:GET"
]
},
"update": {
"permissions": [
"apigateway:PATCH",
Expand All @@ -40,6 +24,22 @@
"permissions": []
}
},
"typeName": "AWS::ApiGateway::Account",
"readOnlyProperties": [
"/properties/Id"
],
"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.",
"additionalProperties": false,
"primaryIdentifier": [
"/properties/Id"
],
"properties": {
"CloudWatchRoleArn": {
"description": "The ARN of an Amazon CloudWatch role for the current Account.",
"type": "string",
"markdownDescription": "The ARN of an Amazon CloudWatch role for the current Account.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"attributes": {
"Id": {
"description": "",
Expand Down
Loading

0 comments on commit b4e2c1c

Please sign in to comment.