Skip to content

Commit

Permalink
Update CloudFormation schemas to 2024-07-18
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored and github-actions[bot] committed Jul 18, 2024
1 parent d90ac93 commit f0d4f34
Show file tree
Hide file tree
Showing 43 changed files with 2,310 additions and 209 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e307e8687bfecd606f0e899afa9dc391\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"749c9068f073ba11ed92d8f4029a23c7\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4ef0c1c5720349e0aa42d8c03f2190c6\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"9286aca32f3660a46de51b0221c2bdea\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"c4159999fa081b0705a8cc19ad90fb11\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"fe9d02abb4d3590a97e31e65250a606d\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"86ec8b36787356cf267f5f432a71b88a\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"c6cd0bc987824ed3daae49c88c145aeb\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"990578a386215d4d7dd180c403b696f2\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a848e5dfb5584c375549dde4660a1f00\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"178d4817771d0ee17f6c632e6263e86d\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"254f06105f3745c6e66914ad2c7e2dbf\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7a84558ed3d76ce6d02ea6d1bf326431\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8d8ec703a4277da8ef3b6579f2fe8a9d\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"727a48603159871b28e5fb26effb6547\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"c01fe376a860da2279ea3e7260906c08\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"aecc2aa6763a28865b7f195a594bef80\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6a1e588bc97fc5223894ab0fac0e10d7\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4b19eb4dbe6984e7ed3559819f5bfb5e\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4c5915a83f6e1915551e026d4afb4e8b\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"947213c21450c8444848f8c5b4846dda\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"415ef1e547315b4a97849b48e6d84cc8\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"463e5a886dddb06914d469bac109b95d\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"85f7338926b5f7bc13697aa632342274\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b6c9ba76f037123fce8547681caf6c02\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4ec81ebe0866587079d99fb9cab7ef6f\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"9767f723613c3d641cbb8690ae37bd53\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8c18f59c79d0e5cc76ea5a475e8d162a\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1147baab40516d3a031370d4bc77285e\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"64352770431d1f880ffc7dffb1f13823\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1949bdac883ab18547ad1e2d650edd28\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5420c97e44c5a24f8202fff983927f49\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4a0b2550d58f623905a8d24bbff19624\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5d2a913e6f86f6ed9b1e4c16247cc3dd\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"b0fd8e1f3ca585fa159eadb2f2bf2853\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"daed77b24be551876f25ba793ebbf14b\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"88bea80c58b26f8df4bc055c49d9c882\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f150b65623c6498995eb06eefc5f5be6\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"6003f4951dd1c96e9665789bc27c9f3a\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"00d9a1398ad710ca4da246ae3697f73a\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1b6e43838754f853a2011f6bdbbb9d65\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5906401e5e6945842adf1f57b728cf50\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"98d51c8c91b0f43c1899379c3adf8de1\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"7f9f6b737c1268d7914af13d30788adb\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7aba9bac1f6a83caceaad3b7a055c6e7\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f40ed4e6475fbd230e93459ca145f04b\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
2 changes: 2 additions & 0 deletions src/cfnlint/data/schemas/providers/ap_south_2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@
"AWS::SSO::Instance",
"AWS::SSO::InstanceAccessControlAttributeConfiguration",
"AWS::SSO::PermissionSet",
"AWS::SageMaker::MlflowTrackingServer",
"AWS::SageMaker::ModelCard",
"AWS::Scheduler::Schedule",
"AWS::Scheduler::ScheduleGroup",
Expand Down Expand Up @@ -1073,6 +1074,7 @@
"aws-s3-bucketpolicy.json",
"aws-s3objectlambda-accesspoint.json",
"aws-s3objectlambda-accesspointpolicy.json",
"aws-sagemaker-mlflowtrackingserver.json",
"aws-sagemaker-modelcard.json",
"aws-scheduler-schedule.json",
"aws-scheduler-schedulegroup.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,7 @@
"aws-lakeformation-resource.json",
"aws-lakeformation-tag.json",
"aws-lakeformation-tagassociation.json",
"aws-lambda-alias.json",
"aws-lambda-codesigningconfig.json",
"aws-lambda-eventinvokeconfig.json",
"aws-lambda-eventsourcemapping.json",
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion src/cfnlint/data/schemas/providers/cn_north_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,6 @@
"aws-ec2-ipamresourcediscovery.json",
"aws-ec2-ipamresourcediscoveryassociation.json",
"aws-ec2-ipamscope.json",
"aws-ec2-keypair.json",
"aws-ec2-launchtemplate.json",
"aws-ec2-natgateway.json",
"aws-ec2-networkacl.json",
Expand Down
126 changes: 126 additions & 0 deletions src/cfnlint/data/schemas/providers/cn_north_1/aws-ec2-keypair.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"additionalIdentifiers": [
[
"/properties/KeyPairId"
]
],
"additionalProperties": false,
"createOnlyProperties": [
"/properties/KeyName",
"/properties/KeyType",
"/properties/KeyFormat",
"/properties/PublicKeyMaterial",
"/properties/Tags"
],
"definitions": {
"Tag": {
"additionalProperties": false,
"properties": {
"Key": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"Value": {
"maxLength": 256,
"minLength": 0,
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
}
},
"handlers": {
"create": {
"permissions": [
"ec2:CreateKeyPair",
"ec2:ImportKeyPair",
"ec2:CreateTags",
"ssm:PutParameter"
]
},
"delete": {
"permissions": [
"ec2:DeleteKeyPair",
"ssm:DeleteParameter",
"ec2:DescribeKeyPairs"
]
},
"list": {
"permissions": [
"ec2:DescribeKeyPairs"
]
},
"read": {
"permissions": [
"ec2:DescribeKeyPairs"
]
}
},
"primaryIdentifier": [
"/properties/KeyName"
],
"properties": {
"KeyFingerprint": {
"type": "string"
},
"KeyFormat": {
"default": "pem",
"enum": [
"pem",
"ppk"
],
"type": "string"
},
"KeyName": {
"type": "string"
},
"KeyPairId": {
"type": "string"
},
"KeyType": {
"default": "rsa",
"enum": [
"rsa",
"ed25519"
],
"type": "string"
},
"PublicKeyMaterial": {
"type": "string"
},
"Tags": {
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Tag"
},
"type": "array",
"uniqueItems": true
}
},
"readOnlyProperties": [
"/properties/KeyPairId",
"/properties/KeyFingerprint"
],
"required": [
"KeyName"
],
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"tagging": {
"cloudFormationSystemTags": false,
"permissions": [
"ec2:CreateTags"
],
"tagProperty": "/properties/Tags",
"tagUpdatable": false,
"taggable": true
},
"typeName": "AWS::EC2::KeyPair",
"writeOnlyProperties": [
"/properties/KeyFormat"
]
}
5 changes: 0 additions & 5 deletions src/cfnlint/data/schemas/providers/eu_central_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,6 @@
"aws-ec2-vpcpeeringconnection.json",
"aws-ec2-vpnconnectionroute.json",
"aws-ec2-vpngateway.json",
"aws-ec2-vpngatewayroutepropagation.json",
"aws-ecr-pullthroughcacherule.json",
"aws-ecr-registrypolicy.json",
"aws-ecr-replicationconfiguration.json",
Expand All @@ -1684,7 +1683,6 @@
"aws-eks-addon.json",
"aws-eks-fargateprofile.json",
"aws-eks-identityproviderconfig.json",
"aws-eks-nodegroup.json",
"aws-eks-podidentityassociation.json",
"aws-elasticache-cachecluster.json",
"aws-elasticache-globalreplicationgroup.json",
Expand Down Expand Up @@ -2020,10 +2018,8 @@
"aws-mediapackage-originendpoint.json",
"aws-mediapackage-packagingconfiguration.json",
"aws-mediapackage-packaginggroup.json",
"aws-mediapackagev2-channel.json",
"aws-mediapackagev2-channelgroup.json",
"aws-mediapackagev2-channelpolicy.json",
"aws-mediapackagev2-originendpoint.json",
"aws-mediapackagev2-originendpointpolicy.json",
"aws-mediastore-container.json",
"aws-mediatailor-channel.json",
Expand Down Expand Up @@ -2229,7 +2225,6 @@
"aws-s3objectlambda-accesspoint.json",
"aws-s3objectlambda-accesspointpolicy.json",
"aws-s3outposts-accesspoint.json",
"aws-s3outposts-bucket.json",
"aws-s3outposts-bucketpolicy.json",
"aws-s3outposts-endpoint.json",
"aws-sagemaker-app.json",
Expand Down
Loading

0 comments on commit f0d4f34

Please sign in to comment.