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 Dec 15, 2024
1 parent 23b7b90 commit bfb535d
Show file tree
Hide file tree
Showing 432 changed files with 46,151 additions and 19,098 deletions.
18,921 changes: 10,340 additions & 8,581 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

79 changes: 68 additions & 11 deletions server/schema/resources/aws-accessanalyzer-analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,29 +93,82 @@
},
"Value": {
"type": "string",
"description": "The value for the tag. You can specify a value that is 1 to 255 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 -. ",
"minLength": 1,
"description": "The value for the tag. You can specify a value that is 0 to 255 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 -. ",
"minLength": 0,
"maxLength": 255,
"markdownDescription": "The value for the tag. You can specify a value that is 1 to 255 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: 255 \nUpdate requires: No interruption"
"markdownDescription": "The value for the tag. You can specify a value that is 0 to 255 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: No \nType: String \nMaximum Length: 255 \nUpdate requires: No interruption"
}
},
"required": [
"Key",
"Value"
"Key"
],
"additionalProperties": false,
"markdownDescription": "A key-value pair to associate with a resource.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"Tags": {
"type": "array",
"insertionOrder": false,
"uniqueItems": true,
"description": "An array of key-value pairs to apply to this resource.",
"items": {
"$ref": "#/definitions/Tag"
},
"markdownDescription": "An array of key-value pairs to apply to this resource.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"AnalysisRuleCriteria": {
"description": "The criteria for an analysis rule for an analyzer.",
"type": "object",
"properties": {
"AccountIds": {
"description": "A list of AWS account IDs to apply to the analysis rule criteria. The accounts cannot include the organization analyzer owner account. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.",
"type": "array",
"insertionOrder": false,
"items": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"markdownDescription": "A list of AWS account IDs to apply to the analysis rule criteria. The accounts cannot include the organization analyzer owner account. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"ResourceTags": {
"description": "An array of key-value pairs to match for your resources. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.\n\nFor the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.\n\nFor the tag value, you can specify a value that is 0 to 256 characters in length. If the specified tag value is 0 characters, the rule is applied to all principals with the specified tag key.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Tags"
},
"markdownDescription": "An array of key-value pairs to match for your resources. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.\n\nFor the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.\n\nFor the tag value, you can specify a value that is 0 to 256 characters in length. If the specified tag value is 0 characters, the rule is applied to all principals with the specified tag key.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
}
},
"additionalProperties": false,
"markdownDescription": "The criteria for an analysis rule for an analyzer.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
},
"UnusedAccessConfiguration": {
"description": "The Configuration for Unused Access Analyzer",
"type": "object",
"properties": {
"UnusedAccessAge": {
"description": "The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.",
"description": "The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.",
"type": "integer",
"minimum": 1,
"maximum": 180,
"markdownDescription": "The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption"
"maximum": 365,
"markdownDescription": "The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.\n\n---\n\nRequired: No \nType: Integer \nUpdate requires: No interruption"
},
"AnalysisRule": {
"description": "Contains information about rules for the analyzer.",
"type": "object",
"properties": {
"Exclusions": {
"description": "A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref": "#/definitions/AnalysisRuleCriteria"
},
"markdownDescription": "A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
}
},
"additionalProperties": false,
"markdownDescription": "Contains information about rules for the analyzer.\n\n---\n\nRequired: No \nUpdate requires: No interruption"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -165,7 +218,7 @@
}
},
"additionalProperties": false,
"markdownDescription": "The configuration for the analyzer\n\n---\n\nRequired: No \nUpdate requires: Replacement"
"markdownDescription": "The configuration for the analyzer\n\n---\n\nRequired: No \nUpdate requires: Some interruptions"
}
},
"required": [
Expand All @@ -176,7 +229,9 @@
],
"createOnlyProperties": [
"/properties/AnalyzerName",
"/properties/Type",
"/properties/Type"
],
"conditionalCreateOnlyProperties": [
"/properties/AnalyzerConfiguration"
],
"primaryIdentifier": [
Expand Down Expand Up @@ -207,6 +262,7 @@
"access-analyzer:ListAnalyzers",
"access-analyzer:TagResource",
"access-analyzer:UntagResource",
"access-analyzer:UpdateAnalyzer",
"access-analyzer:UpdateArchiveRule"
]
},
Expand All @@ -229,7 +285,8 @@
"tagProperty": "/properties/Tags",
"permissions": [
"access-analyzer:UntagResource",
"access-analyzer:TagResource"
"access-analyzer:TagResource",
"access-analyzer:ListTagsForResource"
]
},
"attributes": {
Expand Down
3 changes: 1 addition & 2 deletions server/schema/resources/aws-amazonmq-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"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"
"markdownDescription": "The base64-encoded XML configuration.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Description": {
"type": "string",
Expand Down Expand Up @@ -79,7 +79,6 @@
},
"required": [
"EngineType",
"Data",
"Name"
],
"propertyTransform": {
Expand Down
6 changes: 5 additions & 1 deletion server/schema/resources/aws-amplifyuibuilder-component.json
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"amplifyuibuilder:TagResource",
"amplifyuibuilder:UntagResource"
]
},
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
"additionalProperties": false,
Expand Down
13 changes: 7 additions & 6 deletions server/schema/resources/aws-amplifyuibuilder-form.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,15 +607,13 @@
"amplify:GetApp",
"amplifyuibuilder:CreateForm",
"amplifyuibuilder:GetForm",
"amplifyuibuilder:TagResource",
"amplifyuibuilder:UntagResource"
"amplifyuibuilder:TagResource"
]
},
"read": {
"permissions": [
"amplify:GetApp",
"amplifyuibuilder:GetForm",
"amplifyuibuilder:TagResource"
"amplifyuibuilder:GetForm"
]
},
"update": {
Expand All @@ -631,7 +629,6 @@
"permissions": [
"amplify:GetApp",
"amplifyuibuilder:DeleteForm",
"amplifyuibuilder:TagResource",
"amplifyuibuilder:UntagResource"
]
},
Expand Down Expand Up @@ -661,7 +658,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"amplifyuibuilder:TagResource",
"amplifyuibuilder:UntagResource"
]
},
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
"additionalProperties": false,
Expand Down
6 changes: 5 additions & 1 deletion server/schema/resources/aws-amplifyuibuilder-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags"
"tagProperty": "/properties/Tags",
"permissions": [
"amplifyuibuilder:TagResource",
"amplifyuibuilder:UntagResource"
]
},
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
"additionalProperties": false,
Expand Down
4 changes: 2 additions & 2 deletions server/schema/resources/aws-apigateway-account.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
],
"properties": {
"CloudWatchRoleArn": {
"description": "The ARN of an Amazon CloudWatch role for the current Account.",
"description": "",
"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"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"attributes": {
Expand Down
36 changes: 18 additions & 18 deletions server/schema/resources/aws-apigateway-apikey.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,53 @@
"additionalProperties": false,
"properties": {
"CustomerId": {
"description": "An MKT customer identifier, when integrating with the AWS SaaS Marketplace.",
"description": "",
"type": "string",
"markdownDescription": "An MKT customer identifier, when integrating with the AWS SaaS Marketplace.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Description": {
"description": "The description of the ApiKey.",
"description": "",
"type": "string",
"markdownDescription": "The description of the ApiKey.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"Enabled": {
"description": "Specifies whether the ApiKey can be used by callers.",
"description": "",
"default": false,
"type": "boolean",
"markdownDescription": "Specifies whether the ApiKey can be used by callers.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: No interruption"
},
"GenerateDistinctId": {
"description": "Specifies whether (``true``) or not (``false``) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.",
"description": "",
"type": "boolean",
"markdownDescription": "Specifies whether (``true``) or not (``false``) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: Replacement"
"markdownDescription": "\n\n---\n\nRequired: No \nType: Boolean \nUpdate requires: Replacement"
},
"Name": {
"description": "A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).\n If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
"type": "string",
"markdownDescription": "A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).\n If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
},
"StageKeys": {
"description": "DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.",
"description": "",
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/StageKey"
},
"markdownDescription": "DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"Tags": {
"description": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.",
"description": "",
"type": "array",
"uniqueItems": false,
"items": {
"$ref": "#/definitions/Tag"
},
"markdownDescription": "The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption"
},
"Value": {
"description": "Specifies a value of the API key.",
"description": "",
"type": "string",
"markdownDescription": "Specifies a value of the API key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement"
}
},
"definitions": {
Expand All @@ -60,14 +60,14 @@
"additionalProperties": false,
"properties": {
"RestApiId": {
"description": "The string identifier of the associated RestApi.",
"description": "",
"type": "string",
"markdownDescription": "The string identifier of the associated RestApi.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
},
"StageName": {
"description": "The stage name associated with the stage key.",
"description": "",
"type": "string",
"markdownDescription": "The stage name associated with the stage key.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption"
}
},
"description": "``StageKey`` is a property of the [AWS::ApiGateway::ApiKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html) resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage.",
Expand Down
Loading

0 comments on commit bfb535d

Please sign in to comment.