Skip to content

Commit

Permalink
Remove handlers and tagging/permissions from specs (#3661)
Browse files Browse the repository at this point in the history
* Update CloudFormation schemas to 2024-09-04
* Remove handlers and tagging permissions
* Fix quicksight analysis
  • Loading branch information
kddejong authored Sep 5, 2024
1 parent 469fe11 commit 00501ed
Show file tree
Hide file tree
Showing 1,703 changed files with 279,702 additions and 117,176 deletions.
2 changes: 2 additions & 0 deletions src/cfnlint/data/AdditionalSpecs/Policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -4651,6 +4651,7 @@
"GetExperiment",
"GetExperimentTargetAccountConfiguration",
"GetExperimentTemplate",
"GetSafetyLever",
"GetTargetAccountConfiguration",
"GetTargetResourceType",
"InjectApiInternalError",
Expand All @@ -4669,6 +4670,7 @@
"TagResource",
"UntagResource",
"UpdateExperimentTemplate",
"UpdateSafetyLeverState",
"UpdateTargetAccountConfiguration"
],
"HasResource": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"149d3ccf3741bcbeac7b5f6f4db029ba\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"f6edd82515a16676926f5f3a12d52efb\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ab6ecda9df4503f4bc08fa38313692d0\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"972c9c66abd3c137d444e53ebdd3f145\"", "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": "\"e1299c388df8386110a7b6ff36768f83\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"77b7d56615ac52645e5a806c8856ce9e\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ae3cfdea6b21f35aadead9d81b516e64\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"8f79f8805b7537d546dc63450fd56a1b\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"dae8a22d27f93924a6c0f1107c15c1d0\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0bcc71a73165ccfb58eb513536a7184e\"", "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": "\"34aa8f2646197181cb9a5d939e086ad8\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"2dbd8e8abff7e7518cb07bdbb155d843\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"2d233206c73a576ff185df8b6eda11f9\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3423c7fa487a9b0388b872d6f066a055\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"379f8faec922d6179523dbb35658db99\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
{"etag": "\"c07546067edbe91211f62c41893f72f1\"", "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": "\"06f7b01112a71d8a61803e9819db4c12\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"48566226bdcbff3cb167c745d575e48d\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"46abb24012deca7f7cdee909373e4247\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"92cfd52881d5c4374a41db95c11d7626\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"4231ba3180ec4cb9c5bbba05b4931c22\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3bb396a27ad97f604ecf96040fc830d4\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"f46c8a99f6924c350ac96de522d08d8f\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"6268d8d9cd7faa977e4c2f0af2566842\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"c46eeff4384ef7ad8a1ca47beb0bab54\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3e29e9eb6036e382722aa92e8580522b\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"c2044314a90a8c25db278f6dae78867d\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"2263b6d2d3f0dda9e2ad8b4c54418d9a\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"c0c2f57abe3236e7cc810087ea8be945\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"1c96f13a91d978e3048312e23d455dc1\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"342dc56ad5e833f9fb46f5d9b7532c3a\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"3afc18e8a24023c135450afd0583a3bc\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"010617485b30b705e5df3b3f74b70f77\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"744db39255294103901edbad31facc38\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"5cb20cc9753c895f35fb35242ce31fca\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5f5fe6d158de32b33d16c80ec3b72ade\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"666b6426119d343cdc2d619838351da0\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5c6f48dc3f473c2b7af7f356078f3fd2\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"038c8cfb262e2c73955d6034ade0ef42\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"89f22231bd8b106a62265463f761fcf3\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"7498a9ec294bbbf427052f8c28cd99f2\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"ec259eb7a6f7496076f46086c91acfd8\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"65b6e8a463c9be1ec20a6c602fe21e38\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"7927f7ebb5c0dfd9313f22a2d240bd74\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"e3a0980aa806433319a6a0e72f14afe5\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"5a11cb559d1827e7d8f0b6111b351e1b\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"54e849c8265eec335296026732f2e064\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"7e87a681c6240323d9f3e9a7e6ac803c\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"fbce99d2320c72760f9afd9882a91efc\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"0e31bd91f7eee4f1b06a9f9ddda1f647\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"de6b730dc197002d0194d095ace63096\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"be1cc0dbd7ce3e2bdd96ad4a734a10e9\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"8e6d442bd013f225ddf1035aff892013\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"4a35c7ef670a698a55ba78b50e906242\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"777290e6b190993453f9e1874bfa4b8c\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"47562e9ed66c66b2baf8dae4f86a7989\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"456a8d202e60cfaaa1eeede1e580d66a\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"b268207858e42d7024f936637d5ab988\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"1ff2d895b4ddc56a50c8f0040d74fc73\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"d77596d53b45228fbdaf16b1816d31c5\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"ab5ac309e70e155456fd8c136faba1d0\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"37ebcddf2652190b0ba29e20693737ba\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a0438711c8ee597ec50a4908cb9baac6\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"daee1afdf99b2fa685719c9928e313ce\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"a36dd6914c9ec1e9937dba7bf3b14c4c\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"a285a8bf2f364aa1a7b588d3a2a575c2\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"etag": "\"6d7bf81725555153eba880a79178c257\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
{"etag": "\"318bdb4d630dec177bba9ce86174bbb0\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@
"10.11.6",
"10.11.7",
"10.11.8",
"10.11.9",
"10.4.29",
"10.4.30",
"10.4.31",
Expand All @@ -377,7 +378,8 @@
"10.6.15",
"10.6.16",
"10.6.17",
"10.6.18"
"10.6.18",
"10.6.19"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"op": "test",
"path": "/definitions/SingleAxisOptions/properties/YAxisOptions",
"value": {
"$ref": "#/definitions/YAxisOptions"
}
},
{
"op": "replace",
"path": "/definitions/SingleAxisOptions/properties/YAxisOptions",
"value": {
"properties": {
"YAxis": {
"$ref": "#/definitions/SingleYAxisOption"
}
}
}
}
]
13 changes: 8 additions & 5 deletions src/cfnlint/data/schemas/providers/af_south_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,6 @@
"aws-backup-restoretestingplan.json",
"aws-backup-restoretestingselection.json",
"aws-backupgateway-hypervisor.json",
"aws-batch-computeenvironment.json",
"aws-batch-jobdefinition.json",
"aws-batch-jobqueue.json",
"aws-batch-schedulingpolicy.json",
Expand Down Expand Up @@ -965,6 +964,7 @@
"aws-cloudfront-realtimelogconfig.json",
"aws-cloudfront-responseheaderspolicy.json",
"aws-cloudtrail-channel.json",
"aws-cloudtrail-eventdatastore.json",
"aws-cloudtrail-resourcepolicy.json",
"aws-cloudtrail-trail.json",
"aws-cloudwatch-alarm.json",
Expand Down Expand Up @@ -1074,6 +1074,7 @@
"aws-ec2-clientvpnendpoint.json",
"aws-ec2-clientvpnroute.json",
"aws-ec2-clientvpntargetnetworkassociation.json",
"aws-ec2-customergateway.json",
"aws-ec2-dhcpoptions.json",
"aws-ec2-ec2fleet.json",
"aws-ec2-egressonlyinternetgateway.json",
Expand All @@ -1085,6 +1086,7 @@
"aws-ec2-host.json",
"aws-ec2-instance.json",
"aws-ec2-instanceconnectendpoint.json",
"aws-ec2-internetgateway.json",
"aws-ec2-ipam.json",
"aws-ec2-ipamallocation.json",
"aws-ec2-ipampool.json",
Expand Down Expand Up @@ -1117,6 +1119,7 @@
"aws-ec2-securitygroupingress.json",
"aws-ec2-snapshotblockpublicaccess.json",
"aws-ec2-spotfleet.json",
"aws-ec2-subnet.json",
"aws-ec2-subnetcidrblock.json",
"aws-ec2-subnetnetworkaclassociation.json",
"aws-ec2-subnetroutetableassociation.json",
Expand Down Expand Up @@ -1146,11 +1149,13 @@
"aws-ec2-vpcendpointservicepermissions.json",
"aws-ec2-vpcgatewayattachment.json",
"aws-ec2-vpcpeeringconnection.json",
"aws-ec2-vpnconnection.json",
"aws-ec2-vpnconnectionroute.json",
"aws-ec2-vpngatewayroutepropagation.json",
"aws-ec2-vpngateway.json",
"aws-ecr-pullthroughcacherule.json",
"aws-ecr-registrypolicy.json",
"aws-ecr-replicationconfiguration.json",
"aws-ecr-repository.json",
"aws-ecr-repositorycreationtemplate.json",
"aws-ecs-capacityprovider.json",
"aws-ecs-cluster.json",
Expand Down Expand Up @@ -1186,6 +1191,7 @@
"aws-elasticloadbalancingv2-listener.json",
"aws-elasticloadbalancingv2-listenercertificate.json",
"aws-elasticloadbalancingv2-listenerrule.json",
"aws-elasticloadbalancingv2-loadbalancer.json",
"aws-elasticloadbalancingv2-targetgroup.json",
"aws-elasticloadbalancingv2-truststore.json",
"aws-elasticloadbalancingv2-truststorerevocation.json",
Expand Down Expand Up @@ -1383,12 +1389,9 @@
"aws-pcaconnectorad-template.json",
"aws-pcaconnectorad-templategroupaccesscontrolentry.json",
"aws-pipes-pipe.json",
"aws-quicksight-analysis.json",
"aws-quicksight-dashboard.json",
"aws-quicksight-dataset.json",
"aws-quicksight-datasource.json",
"aws-quicksight-refreshschedule.json",
"aws-quicksight-template.json",
"aws-quicksight-theme.json",
"aws-quicksight-vpcconnection.json",
"aws-ram-permission.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,36 +61,6 @@
"type": "object"
}
},
"handlers": {
"create": {
"permissions": [
"apigateway:POST"
]
},
"delete": {
"permissions": [
"apigateway:GET",
"apigateway:DELETE"
]
},
"list": {
"permissions": [
"apigateway:GET"
]
},
"read": {
"permissions": [
"apigateway:GET"
]
},
"update": {
"permissions": [
"apigateway:PATCH",
"apigateway:GET",
"apigateway:PUT"
]
}
},
"primaryIdentifier": [
"/properties/ApiId",
"/properties/IntegrationId"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,47 +189,6 @@
"type": "object"
}
},
"handlers": {
"create": {
"permissions": [
"Batch:CreateComputeEnvironment",
"Batch:TagResource",
"Batch:DescribeComputeEnvironments",
"iam:CreateServiceLinkedRole",
"Iam:PassRole",
"Eks:DescribeCluster"
]
},
"delete": {
"permissions": [
"Batch:DeleteComputeEnvironment",
"Batch:DescribeComputeEnvironments",
"Batch:UpdateComputeEnvironment",
"Iam:PassRole",
"Eks:DescribeCluster"
]
},
"list": {
"permissions": [
"Batch:DescribeComputeEnvironments"
]
},
"read": {
"permissions": [
"Batch:DescribeComputeEnvironments"
]
},
"update": {
"permissions": [
"Batch:UpdateComputeEnvironment",
"Batch:DescribeComputeEnvironments",
"Batch:TagResource",
"Batch:UnTagResource",
"Iam:PassRole",
"Eks:DescribeCluster"
]
}
},
"primaryIdentifier": [
"/properties/ComputeEnvironmentArn"
],
Expand All @@ -243,9 +202,6 @@
"ComputeResources": {
"$ref": "#/definitions/ComputeResources"
},
"Context": {
"type": "string"
},
"EksConfiguration": {
"$ref": "#/definitions/EksConfiguration"
},
Expand Down
Loading

0 comments on commit 00501ed

Please sign in to comment.