Skip to content

CloudFormation Template Schema upgrade #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18,323 changes: 9,280 additions & 9,043 deletions server/schema/resources.schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion server/schema/resources/aws-amazonmq-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
"delete": {
"permissions": [
"mq:DescribeConfiguration"
"mq:DeleteConfiguration"
]
},
"list": {
Expand Down
168 changes: 86 additions & 82 deletions server/schema/resources/aws-apigateway-domainnamev2.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,77 @@
{
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"tagging": {
"permissions": [
"apigateway:PUT",
"apigateway:PATCH",
"apigateway:DELETE",
"apigateway:GET",
"apigateway:POST"
],
"taggable": true,
"tagOnCreate": true,
"tagUpdatable": true,
"tagProperty": "/properties/Tags",
"cloudFormationSystemTags": true
},
"handlers": {
"read": {
"permissions": [
"apigateway:GET"
]
},
"create": {
"permissions": [
"apigateway:POST",
"apigateway:GET",
"apigateway:UpdateDomainNamePolicy"
]
},
"update": {
"permissions": [
"apigateway:GET",
"apigateway:PUT",
"apigateway:PATCH",
"apigateway:UpdateDomainNamePolicy"
]
},
"list": {
"permissions": [
"apigateway:GET"
]
},
"delete": {
"permissions": [
"apigateway:DELETE",
"apigateway:GET",
"apigateway:UpdateDomainNamePolicy"
]
}
},
"typeName": "AWS::ApiGateway::DomainNameV2",
"readOnlyProperties": [
"/properties/DomainNameId",
"/properties/DomainNameArn"
],
"description": "Resource Type definition for AWS::ApiGateway::DomainNameV2.",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"createOnlyProperties": [
"/properties/DomainName",
"/properties/SecurityPolicy",
"/properties/EndpointConfiguration"
],
"additionalProperties": false,
"primaryIdentifier": [
"/properties/DomainNameArn"
],
"definitions": {
"EndpointConfiguration": {
"additionalProperties": false,
"type": "object",
"properties": {
"IpAddressType": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"Types": {
"type": "array",
"items": {
Expand All @@ -15,41 +81,25 @@
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
}
},
"additionalProperties": false,
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
},
"Tag": {
"additionalProperties": false,
"type": "object",
"properties": {
"Key": {
"Value": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"Value": {
"Key": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
}
},
"additionalProperties": false,
"markdownDescription": "\n\n---\n\nRequired: No \nUpdate requires: No interruption\n"
}
},
"properties": {
"CertificateArn": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
},
"DomainName": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
},
"EndpointConfiguration": {
"$ref": "#/definitions/EndpointConfiguration"
},
"SecurityPolicy": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
},
"Policy": {
"type": [
"object",
Expand All @@ -61,78 +111,32 @@
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
},
"DomainNameArn": {
"DomainName": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
},
"SecurityPolicy": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: Replacement\n"
},
"DomainNameArn": {
"description": "The amazon resource name (ARN) of the domain name resource.",
"type": "string",
"markdownDescription": "The amazon resource name (ARN) of the domain name resource.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
},
"EndpointConfiguration": {
"$ref": "#/definitions/EndpointConfiguration"
},
"Tags": {
"type": "array",
"items": {
"$ref": "#/definitions/Tag"
},
"markdownDescription": "\n\n---\n\nRequired: No \nType: Array \nUpdate requires: No interruption\n"
}
},
"tagging": {
"taggable": true,
"tagOnCreate": true,
"tagUpdatable": true,
"cloudFormationSystemTags": true,
"tagProperty": "/properties/Tags",
"permissions": [
"apigateway:PUT",
"apigateway:PATCH",
"apigateway:DELETE",
"apigateway:GET",
"apigateway:POST"
]
},
"additionalProperties": false,
"primaryIdentifier": [
"/properties/DomainNameArn"
],
"createOnlyProperties": [
"/properties/DomainName",
"/properties/SecurityPolicy",
"/properties/EndpointConfiguration"
],
"readOnlyProperties": [
"/properties/DomainNameId",
"/properties/DomainNameArn"
],
"handlers": {
"create": {
"permissions": [
"apigateway:POST",
"apigateway:GET",
"apigateway:UpdateDomainNamePolicy"
]
},
"read": {
"permissions": [
"apigateway:GET"
]
},
"update": {
"permissions": [
"apigateway:GET",
"apigateway:PUT",
"apigateway:PATCH",
"apigateway:UpdateDomainNamePolicy"
]
},
"delete": {
"permissions": [
"apigateway:DELETE",
"apigateway:GET",
"apigateway:UpdateDomainNamePolicy"
]
},
"list": {
"permissions": [
"apigateway:GET"
]
"CertificateArn": {
"type": "string",
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\n"
}
},
"attributes": {
Expand All @@ -141,8 +145,8 @@
"markdownDescription": "\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
},
"DomainNameArn": {
"type": "string",
"description": "The amazon resource name (ARN) of the domain name resource.",
"type": "string",
"markdownDescription": "The amazon resource name (ARN) of the domain name resource.\n\n---\n\nRequired: No \nType: String \nUpdate requires: No interruption\nRead only property: Yes"
}
}
Expand Down
Loading