Skip to content

Commit

Permalink
CloudFormation Template Schema upgrade (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
3 people authored Oct 3, 2024
1 parent a790444 commit d607174
Show file tree
Hide file tree
Showing 355 changed files with 33,162 additions and 17,980 deletions.
17,859 changes: 9,422 additions & 8,437 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion server/schema/resources/aws-accessanalyzer-analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"access-analyzer:UntagResource",
"access-analyzer:TagResource"
]
},
"attributes": {
"Arn": {
Expand Down
160 changes: 111 additions & 49 deletions server/schema/resources/aws-amazonmq-configuration.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,7 @@
{
"typeName": "AWS::AmazonMQ::Configuration",
"description": "Resource Type definition for AWS::AmazonMQ::Configuration",
"additionalProperties": false,
"properties": {
"EngineVersion": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
},
"Description": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"AuthenticationStrategy": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
},
"EngineType": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
},
"Data": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
},
"Tags": {
"type": "array",
"uniqueItems": false,
"items": {
"$ref": "#/definitions/TagsEntry"
},
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"Name": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
}
},
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"definitions": {
"TagsEntry": {
"type": "object",
Expand All @@ -57,37 +23,133 @@
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
}
},
"properties": {
"AuthenticationStrategy": {
"type": "string",
"description": "The authentication strategy associated with the configuration. The default is SIMPLE.",
"markdownDescription": "The authentication strategy associated with the configuration. The default is SIMPLE.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
},
"EngineType": {
"type": "string",
"description": "The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.",
"markdownDescription": "The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
},
"EngineVersion": {
"type": "string",
"description": "The version of the broker engine.",
"markdownDescription": "The version of the broker engine.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
},
"Data": {
"type": "string",
"description": "The base64-encoded XML configuration.",
"markdownDescription": "The base64-encoded XML configuration.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: No interruption"
},
"Description": {
"type": "string",
"description": "The description of the configuration.",
"markdownDescription": "The description of the configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Name": {
"type": "string",
"description": "The name of the configuration.",
"markdownDescription": "The name of the configuration.\n\n---\n\nRequired: Yes \nType: String \nUpdate requires: Replacement"
},
"Tags": {
"type": "array",
"description": "Create tags when creating the configuration.",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/TagsEntry"
},
"markdownDescription": "Create tags when creating the configuration.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
}
},
"additionalProperties": false,
"tagging": {
"taggable": true,
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": false,
"tagProperty": "/properties/Tags",
"permissions": [
"mq:ListTags",
"mq:CreateTags",
"mq:DeleteTags"
]
},
"required": [
"EngineType",
"Data",
"Name"
],
"propertyTransform": {
"/properties/AuthenticationStrategy": "$uppercase(AuthenticationStrategy)",
"/properties/EngineType": "$uppercase(EngineType)"
},
"createOnlyProperties": [
"/properties/EngineType",
"/properties/Name",
"/properties/AuthenticationStrategy",
"/properties/EngineVersion"
],
"primaryIdentifier": [
"/properties/Id"
"/properties/EngineType",
"/properties/EngineVersion",
"/properties/Name"
],
"readOnlyProperties": [
"/properties/Revision",
"/properties/Arn",
"/properties/Id",
"/properties/Arn"
"/properties/Revision"
],
"writeOnlyProperties": [
"/properties/Data"
],
"primaryIdentifier": [
"/properties/Id"
],
"handlers": {
"create": {
"permissions": [
"mq:CreateConfiguration",
"mq:CreateTags",
"mq:UpdateConfiguration"
]
},
"read": {
"permissions": [
"mq:DescribeConfiguration",
"mq:ListTags"
]
},
"update": {
"permissions": [
"mq:UpdateConfiguration",
"mq:CreateTags",
"mq:DeleteTags"
]
},
"delete": {
"permissions": [
"mq:DescribeConfiguration"
]
},
"list": {
"permissions": [
"mq:ListConfigurations"
]
}
},
"attributes": {
"Revision": {
"type": "integer",
"markdownDescription": "\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption"
"Arn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the Amazon MQ configuration.",
"markdownDescription": "The Amazon Resource Name (ARN) of the Amazon MQ configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Id": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"description": "The ID of the Amazon MQ configuration.",
"markdownDescription": "The ID of the Amazon MQ configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Arn": {
"Revision": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"description": "The revision number of the configuration.",
"markdownDescription": "The revision number of the configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
}
}
19 changes: 19 additions & 0 deletions server/schema/resources/aws-amplify-app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"typeName": "AWS::Amplify::App",
"description": "The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches.",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplify",
"additionalProperties": false,
"properties": {
"AccessToken": {
Expand All @@ -21,6 +22,9 @@
"maxLength": 25000,
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nMinimum Length: 1 \nMaximum Length: 25000 \nPattern: (?s).+ \nUpdate requires: No interruption"
},
"CacheConfig": {
"$ref": "#/definitions/CacheConfig"
},
"CustomHeaders": {
"type": "string",
"minLength": 0,
Expand Down Expand Up @@ -187,6 +191,21 @@
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"CacheConfig": {
"type": "object",
"additionalProperties": false,
"properties": {
"Type": {
"type": "string",
"enum": [
"AMPLIFY_MANAGED",
"AMPLIFY_MANAGED_NO_COOKIES"
],
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nAllowed Values: AMPLIFY_MANAGED | AMPLIFY_MANAGED_NO_COOKIES \nUpdate requires: No interruption"
}
},
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"CustomRule": {
"type": "object",
"additionalProperties": false,
Expand Down
Loading

0 comments on commit d607174

Please sign in to comment.