From 04e15da91bfdced43dc88cfa8524180d8731d3b3 Mon Sep 17 00:00:00 2001 From: kddejong <36457093+kddejong@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:40:35 +0000 Subject: [PATCH] Update CloudFormation schemas to 2024-11-04 --- .../data/AdditionalSpecs/Policies.json | 6 + ...5a0d14c62111ff864923fc7b7960dda6.meta.json | 2 +- ...2b6653d7edfe98a64577daae0b481c38.meta.json | 1 - ...5e4752bbc10d9552de8df8f81348c42b.meta.json | 2 +- ...63a1bf4413531ad420ff60a5a0d7965d.meta.json | 2 +- ...4cfc32461d10e077e7e5de1fc25d8b8f.meta.json | 2 +- ...d3fe2e7838c23f6acd054944cb2b1618.meta.json | 2 +- ...7e9907e4a512c10ddae70b98b4dada43.meta.json | 2 +- ...3fbf0a0fb76625ba46dbe42abd34333c.meta.json | 2 +- ...376aa3fe15197e3bb0e9290ff8719b4e.meta.json | 2 +- ...f60a7b5acfc406ebb10d5748cbb8ed41.meta.json | 2 +- ...aa3b299156f53fa9d1fd8eeabec5a268.meta.json | 2 +- ...f35136af536e92a84ccbaf062c315066.meta.json | 2 +- ...04470222e5e4c690bacef5312891581d.meta.json | 2 +- ...646b563d773e34b020d0ddeab2fe195b.meta.json | 2 +- ...548d44cc32e246ec9d7742088a2c17f8.meta.json | 2 +- ...98ac34d4109512e0e0947ef752dcb9c9.meta.json | 2 +- ...7e4a4542365d35fd75466abcf306eeca.meta.json | 2 +- ...69b7533eabab32ecfc0a00cb19e55a5f.meta.json | 2 +- ...e783fe32b6bb6b13774c32fcca1d303a.meta.json | 2 +- ...05f2567698dfdfa979bf0ccdb68cb856.meta.json | 2 +- ...92030ae5c03d7451980a15735e557edb.meta.json | 2 +- ...6bb7f975b606f8db57532faddfcdd8c8.meta.json | 2 +- ...73ff097c685cda0a63c08a6416dc58ed.meta.json | 2 +- ...25c8d66a1f84939600616bab42579541.meta.json | 2 +- ...972142778e1ff452383ede2ad4bac3d7.meta.json | 2 +- ...26b315ef6f38515840537c02de23abe2.meta.json | 2 +- ...cf908a34e6b4c3fb3e97e2b584f651ca.meta.json | 2 +- ...318c41c71c21b0a17d4f68d82c5aee21.meta.json | 2 +- ...6cd7e4ced378cacdb93f76ed227b5c5d.meta.json | 2 +- ...b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json | 2 +- ...41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json | 2 +- ...b2d398fe33547eed780b9b70f10eb4a2.meta.json | 2 +- ...e50a1638ffe0a5dba0d8805c190a05f8.meta.json | 2 +- ...3b69878d351cffd417dc9a457df808af.meta.json | 2 +- .../data/Serverless/ManagedPolicies.json | 1 + .../schemas/providers/af_south_1/__init__.py | 2 + .../aws-appconfig-deploymentstrategy.json | 67 - .../providers/ap_northeast_2/__init__.py | 3 + .../aws-appconfig-deploymentstrategy.json | 67 - .../providers/ap_northeast_3/__init__.py | 3 + .../aws-ec2-networkinsightsaccessscope.json | 201 -- .../aws-ec2-networkinsightspath.json | 150 -- .../aws-secretsmanager-rotationschedule.json | 95 - .../schemas/providers/ap_south_1/__init__.py | 10 + .../ap_south_1/aws-bedrock-datasource.json | 826 ------- .../ap_south_1/aws-ec2-vpnconnection.json | 383 ---- .../ap_south_1/aws-rds-dbcluster.json | 397 ---- .../ap_south_1/aws-rds-globalcluster.json | 98 - .../aws-secretsmanager-rotationschedule.json | 95 - .../ap_south_1/aws-ses-configurationset.json | 133 -- .../schemas/providers/ap_south_2/__init__.py | 9 +- .../aws-datasync-task.json | 10 +- .../ap_south_2/aws-events-connection.json | 217 -- .../ap_south_2/aws-rds-globalcluster.json | 98 - .../providers/ap_south_2/aws-wafv2-ipset.json | 114 - .../ap_south_2/aws-wafv2-regexpatternset.json | 85 - .../ap_south_2/aws-wafv2-rulegroup.json | 1379 ------------ .../ap_south_2/aws-wafv2-webacl.json | 1911 ----------------- .../providers/ap_southeast_1/__init__.py | 6 + .../ap_southeast_1/aws-rds-dbcluster.json | 397 ---- .../ap_southeast_1/aws-wisdom-aiagent.json | 332 +++ .../providers/ap_southeast_2/__init__.py | 1 + .../ap_southeast_2/aws-wisdom-aiagent.json | 332 +++ .../providers/ap_southeast_3/__init__.py | 1 + .../aws-appconfig-deploymentstrategy.json | 67 - .../providers/ap_southeast_4/__init__.py | 8 +- .../aws-appconfig-deploymentstrategy.json | 67 - .../aws-datasync-task.json | 10 +- .../ap_southeast_4/aws-rds-dbcluster.json | 397 ---- .../ap_southeast_4/aws-rds-globalcluster.json | 98 - .../providers/ap_southeast_5/__init__.py | 2 +- .../ap_southeast_5/aws-datasync-task.json | 482 +++++ .../aws-elasticache-serverlesscache.json | 205 ++ .../providers/ca_central_1/__init__.py | 2 + .../aws-secretsmanager-rotationschedule.json | 95 - .../schemas/providers/ca_west_1/__init__.py | 1 - .../ca_west_1/aws-datasync-task.json | 482 +++++ .../providers/cn_northwest_1/__init__.py | 5 +- .../aws-autoscaling-autoscalinggroup.json | 677 ++++++ .../cn_northwest_1/aws-rds-dbcluster.json | 397 ---- .../providers/eu_central_1/__init__.py | 1 + .../aws-wisdom-aiagentversion.json | 66 + .../schemas/providers/eu_south_2/__init__.py | 1 - .../eu_south_2/aws-datasync-task.json | 482 +++++ .../schemas/providers/eu_west_1/__init__.py | 11 + .../eu_west_1/aws-bedrock-datasource.json | 826 ------- .../eu_west_1/aws-ec2-vpnconnection.json | 383 ---- .../eu_west_1/aws-events-apidestination.json | 57 - .../eu_west_1/aws-events-archive.json | 44 - .../eu_west_1/aws-events-connection.json | 218 -- .../eu_west_1/aws-rds-globalcluster.json | 98 - .../aws-secretsmanager-rotationschedule.json | 95 - .../schemas/providers/eu_west_2/__init__.py | 1 + .../aws-secretsmanager-rotationschedule.json | 95 - .../schemas/providers/eu_west_3/__init__.py | 13 +- .../eu_west_3/aws-bedrock-datasource.json | 826 ------- .../eu_west_3/aws-logs-delivery.json | 114 + .../aws-logs-deliverydestination.json | 115 + .../eu_west_3/aws-rds-dbcluster.json | 397 ---- .../eu_west_3/aws-rds-globalcluster.json | 98 - .../providers/eu_west_3/aws-wafv2-ipset.json | 114 - .../eu_west_3/aws-wafv2-regexpatternset.json | 85 - .../eu_west_3/aws-wafv2-rulegroup.json | 1379 ------------ .../providers/eu_west_3/aws-wafv2-webacl.json | 1911 ----------------- .../providers/il_central_1/__init__.py | 9 +- .../il_central_1/aws-datasync-task.json | 482 +++++ .../il_central_1/aws-mwaa-environment.json | 451 ---- .../il_central_1/aws-rds-dbcluster.json | 397 ---- .../aws-secretsmanager-secret.json | 131 -- ...secretsmanager-secrettargetattachment.json | 33 - .../providers/me_central_1/__init__.py | 8 + .../aws-appconfig-deploymentstrategy.json | 67 - .../me_central_1/aws-rds-globalcluster.json | 98 - .../me_central_1/aws-wafv2-ipset.json | 114 - .../aws-wafv2-regexpatternset.json | 85 - .../me_central_1/aws-wafv2-rulegroup.json | 1379 ------------ .../me_central_1/aws-wafv2-webacl.json | 1911 ----------------- .../schemas/providers/me_south_1/__init__.py | 9 + .../aws-appconfig-deploymentstrategy.json | 67 - .../me_south_1/aws-rds-globalcluster.json | 98 - .../me_south_1/aws-s3-accessgrant.json | 140 -- .../aws-s3-accessgrantsinstance.json | 74 - .../aws-s3-accessgrantslocation.json | 74 - .../schemas/providers/sa_east_1/__init__.py | 10 + .../sa_east_1/aws-bedrock-datasource.json | 826 ------- .../sa_east_1/aws-ec2-vpnconnection.json | 383 ---- .../sa_east_1/aws-memorydb-cluster.json | 180 -- .../sa_east_1/aws-rds-dbcluster.json | 397 ---- .../sa_east_1/aws-rds-globalcluster.json | 98 - .../sa_east_1/aws-s3-accessgrant.json | 140 -- .../aws-s3-accessgrantsinstance.json | 74 - .../aws-s3-accessgrantslocation.json | 74 - .../providers/us_east_1/aws-appsync-api.json | 9 +- .../us_east_1/aws-datasync-task.json | 10 +- .../schemas/providers/us_east_2/__init__.py | 4 + .../us_east_2/aws-rds-dbcluster.json | 397 ---- .../aws-secretsmanager-rotationschedule.json | 95 - .../providers/us_gov_east_1/__init__.py | 1 - .../aws-cassandra-keyspace.json | 10 + .../providers/us_gov_west_1/__init__.py | 1 - .../us_gov_west_1/aws-cassandra-keyspace.json | 119 + .../schemas/providers/us_west_1/__init__.py | 11 + .../us_west_1/aws-rds-dbcluster.json | 397 ---- .../us_west_1/aws-rds-globalcluster.json | 98 - .../us_west_1/aws-sagemaker-space.json | 456 ---- .../aws-secretsmanager-rotationschedule.json | 95 - .../us_west_1/aws-ses-configurationset.json | 133 -- .../providers/us_west_1/aws-wafv2-ipset.json | 114 - .../us_west_1/aws-wafv2-regexpatternset.json | 85 - .../us_west_1/aws-wafv2-rulegroup.json | 1379 ------------ .../providers/us_west_1/aws-wafv2-webacl.json | 1911 ----------------- .../schemas/providers/us_west_2/__init__.py | 2 +- .../us_west_2/aws-datasync-task.json | 482 +++++ .../aws-ec2-securitygroupvpcassociation.json | 55 + 155 files changed, 4616 insertions(+), 26978 deletions(-) delete mode 100644 src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json delete mode 100644 src/cfnlint/data/schemas/providers/af_south_1/aws-appconfig-deploymentstrategy.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-appconfig-deploymentstrategy.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightsaccessscope.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightspath.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-secretsmanager-rotationschedule.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-bedrock-datasource.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-vpnconnection.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-secretsmanager-rotationschedule.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-ses-configurationset.json rename src/cfnlint/data/schemas/providers/{ca_central_1 => ap_south_2}/aws-datasync-task.json (98%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-events-connection.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-ipset.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-regexpatternset.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-webacl.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_1/aws-rds-dbcluster.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_1/aws-wisdom-aiagent.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_2/aws-wisdom-aiagent.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-appconfig-deploymentstrategy.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-appconfig-deploymentstrategy.json rename src/cfnlint/data/schemas/providers/{af_south_1 => ap_southeast_4}/aws-datasync-task.json (98%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-globalcluster.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-task.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-elasticache-serverlesscache.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-secretsmanager-rotationschedule.json create mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-datasync-task.json create mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-autoscaling-autoscalinggroup.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbcluster.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-wisdom-aiagentversion.json create mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-datasync-task.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-bedrock-datasource.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-ec2-vpnconnection.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-events-apidestination.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-events-archive.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-events-connection.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-secretsmanager-rotationschedule.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-secretsmanager-rotationschedule.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-datasource.json create mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json create mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-ipset.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-regexpatternset.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-webacl.json create mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-datasync-task.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-mwaa-environment.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secret.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secrettargetattachment.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-appconfig-deploymentstrategy.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-ipset.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-regexpatternset.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-webacl.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-appconfig-deploymentstrategy.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrant.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantsinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantslocation.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-bedrock-datasource.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-ec2-vpnconnection.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-memorydb-cluster.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrant.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantslocation.json delete mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-secretsmanager-rotationschedule.json rename src/cfnlint/data/schemas/providers/{cn_northwest_1 => us_gov_east_1}/aws-cassandra-keyspace.json (90%) create mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-cassandra-keyspace.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-rds-globalcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-sagemaker-space.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-secretsmanager-rotationschedule.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-ses-configurationset.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-ipset.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-regexpatternset.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-webacl.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-datasync-task.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-ec2-securitygroupvpcassociation.json diff --git a/src/cfnlint/data/AdditionalSpecs/Policies.json b/src/cfnlint/data/AdditionalSpecs/Policies.json index de7fdd5999..d71de88297 100644 --- a/src/cfnlint/data/AdditionalSpecs/Policies.json +++ b/src/cfnlint/data/AdditionalSpecs/Policies.json @@ -12723,6 +12723,7 @@ "DeleteServiceLevelObjective", "GetService", "GetServiceLevelObjective", + "ListObservedEntities", "ListServiceDependencies", "ListServiceDependents", "ListServiceLevelObjectives", @@ -19575,6 +19576,9 @@ "Actions": [ "AssociateLibraryItemReview", "AssociateQAppWithUser", + "BatchCreateCategory", + "BatchDeleteCategory", + "BatchUpdateCategory", "CopyQApp", "CreateLibraryItem", "CreateLibraryItemReview", @@ -19592,6 +19596,7 @@ "ImportDocument", "ImportDocumentToQApp", "ImportDocumentToQAppSession", + "ListCategories", "ListLibraryItems", "ListQAppSessionData", "ListQApps", @@ -21570,6 +21575,7 @@ "AddAssociation", "AddTags", "AssociateTrialComponent", + "BatchDeleteClusterNodes", "BatchDescribeModelPackage", "BatchGetMetrics", "BatchGetRecord", diff --git a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json index a87b0e5d73..288bf1926e 100644 --- a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json @@ -1 +1 @@ -{"etag": "\"06ab7e899535e2ff391120e40895865c\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"140b6010748283e74917a0e4c066d867\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json b/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json deleted file mode 100644 index 982f4ef507..0000000000 --- a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json +++ /dev/null @@ -1 +0,0 @@ -{"etag": "\"2e23f45e46414ed6a362f279a7056e87\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json index 328f7091b8..c62aca29f6 100644 --- a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json @@ -1 +1 @@ -{"etag": "\"fa7883a99c20f4e6b0d17415048f4d15\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"f88897b749c932c6c6b6983022505bb3\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json index 07ef6c46f9..c4cefeeb8e 100644 --- a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json @@ -1 +1 @@ -{"etag": "\"ace323f95f28965f033a8b6bdb7a34ea\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2bd7184ed2b52d8791cd16d7b33591c9\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json index 86fa5551ad..e80794a1aa 100644 --- a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json @@ -1 +1 @@ -{"etag": "\"749da4b71daa3f0c95ac1ff101894f23\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d8e3f36dbd902bf48c6b308fca3e4105\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json index 37507e353e..a8162b9ee2 100644 --- a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json @@ -1 +1 @@ -{"etag": "\"f31761f654fc6a33d881f3f5ac5f5d0e\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"144126c4427078feca5ef83ded64e48b\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json index 4cf9e350f5..365f14de58 100644 --- a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json @@ -1 +1 @@ -{"etag": "\"405c4d4830b9e904b53f7e7f95e2b3c6\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"8e7b3f3301e50fdba296cd2ce5d2853e\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json index b9379ac6d5..28f8450a27 100644 --- a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json @@ -1 +1 @@ -{"etag": "\"fb0592b9c89abb5281894c1ddd633ac8\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"18909b3a12c27ac81d110c95b8c6d07e\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json index 3569b17483..cf5338fae8 100644 --- a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json @@ -1 +1 @@ -{"etag": "\"127fa6604156c0524d2803429397bb68\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"f228dca24042b4bf4423e91caa58a648\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json index f7b0d07200..6da4ad0c32 100644 --- a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json @@ -1 +1 @@ -{"etag": "\"33a9827641ab989904ff0a06dd2ba374\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cd15458f5c290a953645de4ef2329a43\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json b/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json index c1257cdf36..0e8f40f4f6 100644 --- a/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json @@ -1 +1 @@ -{"etag": "\"48a9dbbfb3341f70895344a889c122ee\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"e8b0e1f1434e17e42f6b7ae73eb60f41\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json index 12893d5f4d..38ebd7e115 100644 --- a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json @@ -1 +1 @@ -{"etag": "\"8ee785b3006438f39a029d48bf88ea1a\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2a518b994acae465a78eecda32f5a7b2\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json index 0a16501e88..4e5686c7cd 100644 --- a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json @@ -1 +1 @@ -{"etag": "\"f40178f074f4cd4392a238dcdc4bf100\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"72ce524d436e9f446f88b26066d9912d\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json index 001653fb3a..b119e08fa9 100644 --- a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json @@ -1 +1 @@ -{"etag": "\"5a7d00f4b3a72b530dd72252c506a502\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"41fdcc7535121b6be41e343de75969ff\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json b/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json index 795960797d..1d041ec858 100644 --- a/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json @@ -1 +1 @@ -{"etag": "\"b628bf9e2dc73eab6753c1c2a93a4af6\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"ca5451e56b3bc8a37c67b5853ec9f891\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json index c31491be80..39fbdd7572 100644 --- a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json @@ -1 +1 @@ -{"etag": "\"bd2bb430ae58a250ce0a07de901f09ac\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"c696d21cd3eadaf8fb3c2b8b7435c628\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json index f778aea216..7672a1249c 100644 --- a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json @@ -1 +1 @@ -{"etag": "\"fb52db2459db1877e2c7c4aa893001a8\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"357687f87e7ada7089988e30c7cf1e42\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json index 1b035322aa..c2f761691c 100644 --- a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json @@ -1 +1 @@ -{"etag": "\"efd5734fec5ebc0e5aee46b75d3fe042\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d94362de24bfe0f4771cbf03b90e96d8\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json index 0ab193bd78..83c0a74cbc 100644 --- a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json @@ -1 +1 @@ -{"etag": "\"ca2b03c6d6ce8303dc46b51c22719ece\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"64ca294854d2e2a595032aa33f23d26f\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json index f3f0dd7979..e6dc61d690 100644 --- a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json @@ -1 +1 @@ -{"etag": "\"876a24f0d1527294068b2d52951128b9\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"7e77564f3abeffc2448be4ba3c108fba\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json index 683c79916d..4919b2317a 100644 --- a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json @@ -1 +1 @@ -{"etag": "\"e99ec285a633d27dca64902913b629a3\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"917baa686e58a11e2a5a32640a88cd3f\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json index 81094ab434..1efa3b69cc 100644 --- a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json @@ -1 +1 @@ -{"etag": "\"d0cf440814d070a0d4a1209475bf3afa\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cac704c599d1f15fb85fbd3c139bf15a\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json index 42d032ff13..278564f3b1 100644 --- a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json @@ -1 +1 @@ -{"etag": "\"e327bd1b3bce4ff4dd1cd05c1b9c9b05\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"545b348634401ed6f494edd91acccb2e\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json index 3b5fd3a402..e2f29d3bde 100644 --- a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json @@ -1 +1 @@ -{"etag": "\"334ef39ed4568ccce446b06d2d64a818\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"57a0207ad76a44e98c6c27026204fa04\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json index ac6b3374a8..ecb595e389 100644 --- a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json @@ -1 +1 @@ -{"etag": "\"be64bae5975d7ce0c8f6165a9333503a\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"7d93294226e06db96e89f9a0c907d970\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json index a0150b29c7..4da5d5847d 100644 --- a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json @@ -1 +1 @@ -{"etag": "\"11e0cf736db4db8d00ef831c037b1704\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cf842eb009849c22b0c2298df346e5bc\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json index 186a4138a1..b9d8ba11f9 100644 --- a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json @@ -1 +1 @@ -{"etag": "\"bd5c42afe3550c9547fd647bb1b905ab\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"53180d118d6e66e02038b8976163604f\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json index 558b552c5b..64d1c9dc5a 100644 --- a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json @@ -1 +1 @@ -{"etag": "\"f35d87368cbaef4ca1e44d7f658db8c4\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a80ac99a404321329516c671a299742c\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json index 2117b5650e..189444e5e4 100644 --- a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json @@ -1 +1 @@ -{"etag": "\"09b2c550b184caa8f2bc5f7eaa211e53\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"1d4137bba8c0b02a20c18f3b5cea18c4\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json index b016f16e13..98b9a72632 100644 --- a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json @@ -1 +1 @@ -{"etag": "\"02384e481966379375a5dcdd4befc7b4\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"dfed8922b0e77091ca90e2fa67a37be7\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json index d8c0d9e1e8..fe8dce7026 100644 --- a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json @@ -1 +1 @@ -{"etag": "\"d7a1c833f6f35eadb0661f0a1592a646\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d6fe905a5133f9a73d7f77d7242c7841\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json index c018a64f67..9dc840069b 100644 --- a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json @@ -1 +1 @@ -{"etag": "\"3fdb6d49bed710bcdbd34976eda27037\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"da5f2a8a910f841f403085725a3161e4\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json index bca1d4be7c..2e754b22c5 100644 --- a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json @@ -1 +1 @@ -{"etag": "\"7b6e2cbc5503f91a2e81148679aef44b\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"e8746f49c9418430ff61fe82b70567a8\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json index a00c491ba0..13a83f141f 100644 --- a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json @@ -1 +1 @@ -{"etag": "\"a5231b1c5411dc9a08e21e298c352063\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d3f31bb469488688bc7f5d9da1cceab4\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/Serverless/ManagedPolicies.json b/src/cfnlint/data/Serverless/ManagedPolicies.json index 9a181d0916..2e7cd96383 100644 --- a/src/cfnlint/data/Serverless/ManagedPolicies.json +++ b/src/cfnlint/data/Serverless/ManagedPolicies.json @@ -721,6 +721,7 @@ "AmazonEFSCSIDriverPolicy": "arn:aws:iam::aws:policy/service-role/AmazonEFSCSIDriverPolicy", "AmazonEKSBlockStoragePolicy": "arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy", "AmazonEKSClusterPolicy": "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", + "AmazonEKSComputePolicy": "arn:aws:iam::aws:policy/AmazonEKSComputePolicy", "AmazonEKSConnectorServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AmazonEKSConnectorServiceRolePolicy", "AmazonEKSFargatePodExecutionRolePolicy": "arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy", "AmazonEKSForFargateServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AmazonEKSForFargateServiceRolePolicy", diff --git a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py index ef8c666439..c2e8b7945c 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py @@ -891,6 +891,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", @@ -1073,6 +1074,7 @@ "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", "aws-datasync-storagesystem.json", + "aws-datasync-task.json", "aws-detective-graph.json", "aws-detective-memberinvitation.json", "aws-detective-organizationadmin.json", diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py index 59132653b7..140b6289f2 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py @@ -128,6 +128,7 @@ "AWS::Batch::JobDefinition", "AWS::Batch::JobQueue", "AWS::Batch::SchedulingPolicy", + "AWS::Bedrock::ApplicationInferenceProfile", "AWS::Bedrock::Guardrail", "AWS::Bedrock::GuardrailVersion", "AWS::Budgets::Budget", @@ -1205,6 +1206,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", @@ -1278,6 +1280,7 @@ "aws-batch-jobdefinition.json", "aws-batch-jobqueue.json", "aws-batch-schedulingpolicy.json", + "aws-bedrock-applicationinferenceprofile.json", "aws-bedrock-guardrail.json", "aws-bedrock-guardrailversion.json", "aws-budgets-budget.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py index 6394fd2a6f..95fd4d4e8e 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py @@ -1054,7 +1054,9 @@ "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkaclentry.json", + "aws-ec2-networkinsightsaccessscope.json", "aws-ec2-networkinsightsaccessscopeanalysis.json", + "aws-ec2-networkinsightspath.json", "aws-ec2-networkinterface.json", "aws-ec2-networkinterfaceattachment.json", "aws-ec2-networkinterfacepermission.json", @@ -1456,6 +1458,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightsaccessscope.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightsaccessscope.json deleted file mode 100644 index 7bc6329c15..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightsaccessscope.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/NetworkInsightsAccessScopeArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/MatchPaths", - "/properties/ExcludePaths" - ], - "definitions": { - "AccessScopePathRequest": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/PathStatementRequest" - }, - "Source": { - "$ref": "#/definitions/PathStatementRequest" - }, - "ThroughResources": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ThroughResourcesStatementRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "PacketHeaderStatementRequest": { - "additionalProperties": false, - "properties": { - "DestinationAddresses": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPorts": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPrefixLists": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocols": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Protocol" - }, - "type": "array" - }, - "SourceAddresses": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePorts": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePrefixLists": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "PathStatementRequest": { - "additionalProperties": false, - "properties": { - "PacketHeaderStatement": { - "$ref": "#/definitions/PacketHeaderStatementRequest" - }, - "ResourceStatement": { - "$ref": "#/definitions/ResourceStatementRequest" - } - }, - "type": "object" - }, - "Protocol": { - "enum": [ - "tcp", - "udp" - ], - "type": "string" - }, - "ResourceStatementRequest": { - "additionalProperties": false, - "properties": { - "ResourceTypes": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - }, - "Resources": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "ThroughResourcesStatementRequest": { - "additionalProperties": false, - "properties": { - "ResourceStatement": { - "$ref": "#/definitions/ResourceStatementRequest" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/NetworkInsightsAccessScopeId" - ], - "properties": { - "CreatedDate": { - "type": "string" - }, - "ExcludePaths": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AccessScopePathRequest" - }, - "type": "array" - }, - "MatchPaths": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AccessScopePathRequest" - }, - "type": "array" - }, - "NetworkInsightsAccessScopeArn": { - "type": "string" - }, - "NetworkInsightsAccessScopeId": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UpdatedDate": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/NetworkInsightsAccessScopeId", - "/properties/NetworkInsightsAccessScopeArn", - "/properties/CreatedDate", - "/properties/UpdatedDate" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-ni.git", - "typeName": "AWS::EC2::NetworkInsightsAccessScope", - "writeOnlyProperties": [ - "/properties/MatchPaths", - "/properties/ExcludePaths" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightspath.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightspath.json deleted file mode 100644 index 69b03acae4..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-networkinsightspath.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/NetworkInsightsPathArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SourceIp", - "/properties/DestinationIp", - "/properties/Source", - "/properties/Destination", - "/properties/Protocol", - "/properties/DestinationPort", - "/properties/FilterAtSource", - "/properties/FilterAtDestination" - ], - "definitions": { - "FilterPortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "integer" - }, - "ToPort": { - "type": "integer" - } - }, - "type": "object" - }, - "IpAddress": { - "pattern": "^([0-9]{1,3}.){3}[0-9]{1,3}$", - "type": "string" - }, - "PathFilter": { - "additionalProperties": false, - "properties": { - "DestinationAddress": { - "$ref": "#/definitions/IpAddress" - }, - "DestinationPortRange": { - "$ref": "#/definitions/FilterPortRange" - }, - "SourceAddress": { - "$ref": "#/definitions/IpAddress" - }, - "SourcePortRange": { - "$ref": "#/definitions/FilterPortRange" - } - }, - "type": "object" - }, - "Port": { - "type": "integer" - }, - "Protocol": { - "enum": [ - "tcp", - "udp" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "primaryIdentifier": [ - "/properties/NetworkInsightsPathId" - ], - "properties": { - "CreatedDate": { - "type": "string" - }, - "Destination": { - "type": "string" - }, - "DestinationArn": { - "type": "string" - }, - "DestinationIp": { - "$ref": "#/definitions/IpAddress" - }, - "DestinationPort": { - "$ref": "#/definitions/Port" - }, - "FilterAtDestination": { - "$ref": "#/definitions/PathFilter" - }, - "FilterAtSource": { - "$ref": "#/definitions/PathFilter" - }, - "NetworkInsightsPathArn": { - "type": "string" - }, - "NetworkInsightsPathId": { - "type": "string" - }, - "Protocol": { - "$ref": "#/definitions/Protocol" - }, - "Source": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceIp": { - "$ref": "#/definitions/IpAddress" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/NetworkInsightsPathId", - "/properties/NetworkInsightsPathArn", - "/properties/CreatedDate", - "/properties/SourceArn", - "/properties/DestinationArn" - ], - "required": [ - "Protocol", - "Source" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-ni.git", - "typeName": "AWS::EC2::NetworkInsightsPath" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py index 0768abc7a2..d980ebcd2e 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py @@ -94,6 +94,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -133,6 +134,7 @@ "AWS::Batch::SchedulingPolicy", "AWS::Bedrock::Agent", "AWS::Bedrock::AgentAlias", + "AWS::Bedrock::ApplicationInferenceProfile", "AWS::Bedrock::DataSource", "AWS::Bedrock::Flow", "AWS::Bedrock::FlowAlias", @@ -1249,6 +1251,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -1287,6 +1290,8 @@ "aws-batch-schedulingpolicy.json", "aws-bedrock-agent.json", "aws-bedrock-agentalias.json", + "aws-bedrock-applicationinferenceprofile.json", + "aws-bedrock-datasource.json", "aws-bedrock-flow.json", "aws-bedrock-flowalias.json", "aws-bedrock-flowversion.json", @@ -1557,6 +1562,7 @@ "aws-ec2-vpcendpointservicepermissions.json", "aws-ec2-vpcgatewayattachment.json", "aws-ec2-vpcpeeringconnection.json", + "aws-ec2-vpnconnection.json", "aws-ec2-vpnconnectionroute.json", "aws-ec2-vpngateway.json", "aws-ec2-vpngatewayroutepropagation.json", @@ -2015,6 +2021,7 @@ "aws-ram-permission.json", "aws-ram-resourceshare.json", "aws-rds-customdbengineversion.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -2025,6 +2032,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -2125,6 +2133,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", @@ -2167,6 +2176,7 @@ "aws-servicediscovery-privatednsnamespace.json", "aws-servicediscovery-publicdnsnamespace.json", "aws-servicediscovery-service.json", + "aws-ses-configurationset.json", "aws-ses-configurationseteventdestination.json", "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-bedrock-datasource.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-bedrock-datasource.json deleted file mode 100644 index f99327b428..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-bedrock-datasource.json +++ /dev/null @@ -1,826 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KnowledgeBaseId", - "/properties/VectorIngestionConfiguration/ChunkingConfiguration", - "/properties/VectorIngestionConfiguration/ParsingConfiguration", - "/properties/DataSourceConfiguration/Type" - ], - "definitions": { - "BedrockFoundationModelConfiguration": { - "additionalProperties": false, - "properties": { - "ModelArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$", - "type": "string" - }, - "ParsingPrompt": { - "$ref": "#/definitions/ParsingPrompt" - } - }, - "required": [ - "ModelArn" - ], - "type": "object" - }, - "ChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingStrategy": { - "$ref": "#/definitions/ChunkingStrategy" - }, - "FixedSizeChunkingConfiguration": { - "$ref": "#/definitions/FixedSizeChunkingConfiguration" - }, - "HierarchicalChunkingConfiguration": { - "$ref": "#/definitions/HierarchicalChunkingConfiguration" - }, - "SemanticChunkingConfiguration": { - "$ref": "#/definitions/SemanticChunkingConfiguration" - } - }, - "required": [ - "ChunkingStrategy" - ], - "type": "object" - }, - "ChunkingStrategy": { - "enum": [ - "FIXED_SIZE", - "NONE", - "HIERARCHICAL", - "SEMANTIC" - ], - "type": "string" - }, - "ConfluenceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "ConfluenceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/ConfluenceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/ConfluenceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "ConfluenceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "BASIC", - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostType": { - "enum": [ - "SAAS" - ], - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "CrawlFilterConfiguration": { - "additionalProperties": false, - "properties": { - "PatternObjectFilter": { - "$ref": "#/definitions/PatternObjectFilterConfiguration" - }, - "Type": { - "enum": [ - "PATTERN" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "CustomTransformationConfiguration": { - "additionalProperties": false, - "properties": { - "IntermediateStorage": { - "$ref": "#/definitions/IntermediateStorage" - }, - "Transformations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Transformation" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "IntermediateStorage", - "Transformations" - ], - "type": "object" - }, - "DataDeletionPolicy": { - "enum": [ - "RETAIN", - "DELETE" - ], - "type": "string" - }, - "DataSourceConfiguration": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "S3Configuration" - ] - }, - { - "required": [ - "ConfluenceConfiguration" - ] - }, - { - "required": [ - "SalesforceConfiguration" - ] - }, - { - "required": [ - "SharePointConfiguration" - ] - }, - { - "required": [ - "WebConfiguration" - ] - } - ], - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/ConfluenceDataSourceConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/SalesforceDataSourceConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/SharePointDataSourceConfiguration" - }, - "Type": { - "$ref": "#/definitions/DataSourceType" - }, - "WebConfiguration": { - "$ref": "#/definitions/WebDataSourceConfiguration" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "DataSourceStatus": { - "enum": [ - "AVAILABLE", - "DELETING", - "DELETE_UNSUCCESSFUL" - ], - "type": "string" - }, - "DataSourceType": { - "enum": [ - "S3", - "CONFLUENCE", - "SALESFORCE", - "SHAREPOINT", - "WEB" - ], - "type": "string" - }, - "FilterList": { - "insertionOrder": false, - "items": { - "maxLength": 1000, - "type": "string" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "FixedSizeChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "minimum": 1, - "type": "integer" - }, - "OverlapPercentage": { - "maximum": 99, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens", - "OverlapPercentage" - ], - "type": "object" - }, - "HierarchicalChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "LevelConfigurations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/HierarchicalChunkingLevelConfiguration" - }, - "maxItems": 2, - "minItems": 2, - "type": "array" - }, - "OverlapTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "LevelConfigurations", - "OverlapTokens" - ], - "type": "object" - }, - "HierarchicalChunkingLevelConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 8192, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens" - ], - "type": "object" - }, - "IntermediateStorage": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/S3Location" - } - }, - "required": [ - "S3Location" - ], - "type": "object" - }, - "ParsingConfiguration": { - "additionalProperties": false, - "properties": { - "BedrockFoundationModelConfiguration": { - "$ref": "#/definitions/BedrockFoundationModelConfiguration" - }, - "ParsingStrategy": { - "$ref": "#/definitions/ParsingStrategy" - } - }, - "required": [ - "ParsingStrategy" - ], - "type": "object" - }, - "ParsingPrompt": { - "additionalProperties": false, - "properties": { - "ParsingPromptText": { - "maxLength": 10000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ParsingPromptText" - ], - "type": "object" - }, - "ParsingStrategy": { - "enum": [ - "BEDROCK_FOUNDATION_MODEL" - ], - "type": "string" - }, - "PatternObjectFilter": { - "additionalProperties": false, - "properties": { - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "ObjectType": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ObjectType" - ], - "type": "object" - }, - "PatternObjectFilterConfiguration": { - "additionalProperties": false, - "properties": { - "Filters": { - "$ref": "#/definitions/PatternObjectFilterList" - } - }, - "required": [ - "Filters" - ], - "type": "object" - }, - "PatternObjectFilterList": { - "items": { - "$ref": "#/definitions/PatternObjectFilter" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$", - "type": "string" - }, - "BucketOwnerAccountId": { - "maxLength": 12, - "minLength": 12, - "pattern": "^[0-9]{12}$", - "type": "string" - }, - "InclusionPrefixes": { - "insertionOrder": false, - "items": { - "maxLength": 300, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "BucketArn" - ], - "type": "object" - }, - "S3Location": { - "additionalProperties": false, - "properties": { - "URI": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^s3://.{1,128}$", - "type": "string" - } - }, - "required": [ - "URI" - ], - "type": "object" - }, - "SalesforceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SalesforceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SalesforceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SalesforceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SalesforceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "SeedUrl": { - "additionalProperties": false, - "properties": { - "Url": { - "pattern": "^https?://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "SeedUrls": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SeedUrl" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "SemanticChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "BreakpointPercentileThreshold": { - "maximum": 99, - "minimum": 50, - "type": "integer" - }, - "BufferSize": { - "maximum": 1, - "minimum": 0, - "type": "integer" - }, - "MaxTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "BreakpointPercentileThreshold", - "BufferSize", - "MaxTokens" - ], - "type": "object" - }, - "ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$", - "type": "string" - } - }, - "type": "object" - }, - "SharePointCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SharePointDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SharePointCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SharePointSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SharePointSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "Domain": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "HostType": { - "enum": [ - "ONLINE" - ], - "type": "string" - }, - "SiteUrls": { - "insertionOrder": false, - "items": { - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "TenantId": { - "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", - "type": "string" - } - }, - "required": [ - "Domain", - "SiteUrls", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "Transformation": { - "additionalProperties": false, - "properties": { - "StepToApply": { - "enum": [ - "POST_CHUNKING" - ], - "type": "string" - }, - "TransformationFunction": { - "$ref": "#/definitions/TransformationFunction" - } - }, - "required": [ - "StepToApply", - "TransformationFunction" - ], - "type": "object" - }, - "TransformationFunction": { - "additionalProperties": false, - "properties": { - "TransformationLambdaConfiguration": { - "$ref": "#/definitions/TransformationLambdaConfiguration" - } - }, - "required": [ - "TransformationLambdaConfiguration" - ], - "type": "object" - }, - "TransformationLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "maxLength": 2048, - "minLength": 0, - "pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$", - "type": "string" - } - }, - "required": [ - "LambdaArn" - ], - "type": "object" - }, - "UrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "$ref": "#/definitions/SeedUrls" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "VectorIngestionConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingConfiguration": { - "$ref": "#/definitions/ChunkingConfiguration" - }, - "CustomTransformationConfiguration": { - "$ref": "#/definitions/CustomTransformationConfiguration" - }, - "ParsingConfiguration": { - "$ref": "#/definitions/ParsingConfiguration" - } - }, - "type": "object" - }, - "WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerLimits": { - "$ref": "#/definitions/WebCrawlerLimits" - }, - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "Scope": { - "$ref": "#/definitions/WebScopeType" - } - }, - "type": "object" - }, - "WebCrawlerLimits": { - "additionalProperties": false, - "properties": { - "RateLimit": { - "maximum": 300, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WebDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/WebCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/WebSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "WebScopeType": { - "enum": [ - "HOST_ONLY", - "SUBDOMAINS" - ], - "type": "string" - }, - "WebSourceConfiguration": { - "additionalProperties": false, - "properties": { - "UrlConfiguration": { - "$ref": "#/definitions/UrlConfiguration" - } - }, - "required": [ - "UrlConfiguration" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/KnowledgeBaseId", - "/properties/DataSourceId" - ], - "properties": { - "CreatedAt": { - "type": "string" - }, - "DataDeletionPolicy": { - "$ref": "#/definitions/DataDeletionPolicy" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/DataSourceConfiguration" - }, - "DataSourceId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "DataSourceStatus": { - "$ref": "#/definitions/DataSourceStatus" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "FailureReasons": { - "insertionOrder": false, - "items": { - "maxLength": 2048, - "type": "string" - }, - "maxItems": 2048, - "type": "array" - }, - "KnowledgeBaseId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/ServerSideEncryptionConfiguration" - }, - "UpdatedAt": { - "type": "string" - }, - "VectorIngestionConfiguration": { - "$ref": "#/definitions/VectorIngestionConfiguration" - } - }, - "readOnlyProperties": [ - "/properties/DataSourceId", - "/properties/DataSourceStatus", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/FailureReasons" - ], - "required": [ - "DataSourceConfiguration", - "Name", - "KnowledgeBaseId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-aps", - "tagging": { - "cloudFormationSystemTags": false, - "taggable": false - }, - "typeName": "AWS::Bedrock::DataSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-vpnconnection.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-vpnconnection.json deleted file mode 100644 index a9d5be394d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-vpnconnection.json +++ /dev/null @@ -1,383 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/provider.definition.schema.v1.json", - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/CustomerGatewayId", - "/properties/VpnGatewayId", - "/properties/TransitGatewayId", - "/properties/EnableAcceleration", - "/properties/LocalIpv4NetworkCidr", - "/properties/LocalIpv6NetworkCidr", - "/properties/OutsideIpAddressType", - "/properties/RemoteIpv4NetworkCidr", - "/properties/RemoteIpv6NetworkCidr", - "/properties/StaticRoutesOnly", - "/properties/TransportTransitGatewayAttachmentId", - "/properties/TunnelInsideIpVersion", - "/properties/VpnTunnelOptionsSpecifications" - ], - "definitions": { - "CloudwatchLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "LogEnabled": { - "type": "boolean" - }, - "LogGroupArn": { - "type": "string" - }, - "LogOutputFormat": { - "enum": [ - "json", - "text" - ], - "type": "string" - } - }, - "type": "object" - }, - "IKEVersionsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "ikev1", - "ikev2" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase1EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase2EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "VpnTunnelLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "CloudwatchLogOptions": { - "$ref": "#/definitions/CloudwatchLogOptionsSpecification" - } - }, - "type": "object" - }, - "VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "DPDTimeoutAction": { - "enum": [ - "clear", - "none", - "restart" - ], - "type": "string" - }, - "DPDTimeoutSeconds": { - "minimum": 30, - "type": "integer" - }, - "EnableTunnelLifecycleControl": { - "type": "boolean" - }, - "IKEVersions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/IKEVersionsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "LogOptions": { - "$ref": "#/definitions/VpnTunnelLogOptionsSpecification" - }, - "Phase1DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1LifetimeSeconds": { - "maximum": 28800, - "minimum": 900, - "type": "integer" - }, - "Phase2DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2LifetimeSeconds": { - "maximum": 3600, - "minimum": 900, - "type": "integer" - }, - "PreSharedKey": { - "type": "string" - }, - "RekeyFuzzPercentage": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "RekeyMarginTimeSeconds": { - "minimum": 60, - "type": "integer" - }, - "ReplayWindowSize": { - "maximum": 2048, - "minimum": 64, - "type": "integer" - }, - "StartupAction": { - "enum": [ - "add", - "start" - ], - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - }, - "TunnelInsideIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/VpnConnectionId" - ], - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "EnableAcceleration": { - "type": "boolean" - }, - "LocalIpv4NetworkCidr": { - "type": "string" - }, - "LocalIpv6NetworkCidr": { - "type": "string" - }, - "OutsideIpAddressType": { - "type": "string" - }, - "RemoteIpv4NetworkCidr": { - "type": "string" - }, - "RemoteIpv6NetworkCidr": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - }, - "TunnelInsideIpVersion": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/VpnTunnelOptionsSpecification" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/VpnConnectionId" - ], - "required": [ - "Type", - "CustomerGatewayId" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::VPNConnection" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ses-configurationset.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-ses-configurationset.json deleted file mode 100644 index 94e600b9cd..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ses-configurationset.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "DashboardOptions": { - "additionalProperties": false, - "properties": { - "EngagementMetrics": { - "pattern": "ENABLED|DISABLED", - "type": "string" - } - }, - "required": [ - "EngagementMetrics" - ], - "type": "object" - }, - "DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - }, - "TlsPolicy": { - "pattern": "REQUIRE|OPTIONAL", - "type": "string" - } - }, - "type": "object" - }, - "GuardianOptions": { - "additionalProperties": false, - "properties": { - "OptimizedSharedDelivery": { - "pattern": "ENABLED|DISABLED", - "type": "string" - } - }, - "required": [ - "OptimizedSharedDelivery" - ], - "type": "object" - }, - "ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "pattern": "true|false", - "type": "boolean" - } - }, - "type": "object" - }, - "SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "pattern": "true|false", - "type": "boolean" - } - }, - "type": "object" - }, - "SuppressionOptions": { - "additionalProperties": false, - "properties": { - "SuppressedReasons": { - "insertionOrder": false, - "items": { - "pattern": "BOUNCE|COMPLAINT", - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "VdmOptions": { - "additionalProperties": false, - "properties": { - "DashboardOptions": { - "$ref": "#/definitions/DashboardOptions" - }, - "GuardianOptions": { - "$ref": "#/definitions/GuardianOptions" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/DeliveryOptions" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_-]{1,64}$", - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/SendingOptions" - }, - "SuppressionOptions": { - "$ref": "#/definitions/SuppressionOptions" - }, - "TrackingOptions": { - "$ref": "#/definitions/TrackingOptions" - }, - "VdmOptions": { - "$ref": "#/definitions/VdmOptions" - } - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ses.git", - "taggable": false, - "typeName": "AWS::SES::ConfigurationSet" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py index 682d73c295..ef6cfd55e3 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py @@ -53,6 +53,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -713,6 +714,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -821,7 +823,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-datamigration.json", "aws-dms-dataprovider.json", @@ -949,6 +950,7 @@ "aws-emr-step.json", "aws-events-apidestination.json", "aws-events-archive.json", + "aws-events-connection.json", "aws-events-eventbus.json", "aws-events-eventbuspolicy.json", "aws-events-rule.json", @@ -1112,6 +1114,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1246,7 +1249,11 @@ "aws-vpclattice-targetgroup.json", "aws-waf-bytematchset.json", "aws-waf-sqlinjectionmatchset.json", + "aws-wafv2-ipset.json", "aws-wafv2-loggingconfiguration.json", + "aws-wafv2-regexpatternset.json", + "aws-wafv2-rulegroup.json", + "aws-wafv2-webacl.json", "aws-wafv2-webaclassociation.json", "aws-workspaces-workspace.json", "aws-xray-group.json", diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-datasync-task.json similarity index 98% rename from src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-task.json rename to src/cfnlint/data/schemas/providers/ap_south_2/aws-datasync-task.json index ff0f0c237e..1f164cf132 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-task.json +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-datasync-task.json @@ -2,8 +2,7 @@ "additionalProperties": false, "createOnlyProperties": [ "/properties/DestinationLocationArn", - "/properties/SourceLocationArn", - "/properties/TaskMode" + "/properties/SourceLocationArn" ], "definitions": { "DestinationNetworkInterfaceArns": { @@ -457,13 +456,6 @@ "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", "type": "string" }, - "TaskMode": { - "enum": [ - "BASIC", - "ENHANCED" - ], - "type": "string" - }, "TaskReportConfig": { "$ref": "#/definitions/TaskReportConfig" } diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-events-connection.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-events-connection.json deleted file mode 100644 index a801515fe3..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-events-connection.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ApiKeyAuthParameters": { - "additionalProperties": false, - "properties": { - "ApiKeyName": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "ApiKeyValue": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "ApiKeyName", - "ApiKeyValue" - ], - "type": "object" - }, - "AuthParameters": { - "additionalProperties": false, - "maxProperties": 2, - "minProperties": 1, - "oneOf": [ - { - "required": [ - "BasicAuthParameters" - ] - }, - { - "required": [ - "OAuthParameters" - ] - }, - { - "required": [ - "ApiKeyAuthParameters" - ] - } - ], - "properties": { - "ApiKeyAuthParameters": { - "$ref": "#/definitions/ApiKeyAuthParameters" - }, - "BasicAuthParameters": { - "$ref": "#/definitions/BasicAuthParameters" - }, - "InvocationHttpParameters": { - "$ref": "#/definitions/ConnectionHttpParameters" - }, - "OAuthParameters": { - "$ref": "#/definitions/OAuthParameters" - } - }, - "type": "object" - }, - "BasicAuthParameters": { - "additionalProperties": false, - "properties": { - "Password": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "Username": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "Username", - "Password" - ], - "type": "object" - }, - "ClientParameters": { - "additionalProperties": false, - "properties": { - "ClientID": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "ClientSecret": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "ClientID", - "ClientSecret" - ], - "type": "object" - }, - "ConnectionHttpParameters": { - "additionalProperties": false, - "properties": { - "BodyParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - }, - "HeaderParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - }, - "QueryStringParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "OAuthParameters": { - "additionalProperties": false, - "properties": { - "AuthorizationEndpoint": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$", - "type": "string" - }, - "ClientParameters": { - "$ref": "#/definitions/ClientParameters" - }, - "HttpMethod": { - "enum": [ - "GET", - "POST", - "PUT" - ], - "type": "string" - }, - "OAuthHttpParameters": { - "$ref": "#/definitions/ConnectionHttpParameters" - } - }, - "required": [ - "ClientParameters", - "AuthorizationEndpoint", - "HttpMethod" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "IsValueSecret": { - "default": true, - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AuthParameters": { - "$ref": "#/definitions/AuthParameters" - }, - "AuthorizationType": { - "enum": [ - "API_KEY", - "BASIC", - "OAUTH_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "Description": { - "maxLength": 512, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_A-Za-z0-9]+", - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/SecretArn" - ], - "tagging": { - "taggable": false - }, - "typeName": "AWS::Events::Connection", - "writeOnlyProperties": [ - "/properties/AuthParameters" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-ipset.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-ipset.json deleted file mode 100644 index 65b6b7ad16..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-ipset.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "IPAddress": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "IPAddressVersion": { - "enum": [ - "IPV4", - "IPV6" - ], - "type": "string" - }, - "ResourceArn": { - "type": "string" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Addresses": { - "items": { - "$ref": "#/definitions/IPAddress" - }, - "type": "array" - }, - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "IPAddressVersion": { - "$ref": "#/definitions/IPAddressVersion" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::IPSet" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-regexpatternset.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-regexpatternset.json deleted file mode 100644 index 246565624d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-regexpatternset.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "type": "string" - }, - "Description": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "Name": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "RegularExpressionList": { - "items": { - "maxLength": 200, - "minLength": 0, - "type": "string" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Scope", - "RegularExpressionList" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RegexPatternSet" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-rulegroup.json deleted file mode 100644 index 57513d62ae..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-rulegroup.json +++ /dev/null @@ -1,1379 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "IP", - "FORWARDED_IP", - "CONSTANT", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AvailableLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "ConsumedLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id", - "/properties/LabelNamespace", - "/properties/AvailableLabels/*/Name", - "/properties/ConsumedLabels/*/Name" - ], - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-webacl.json deleted file mode 100644 index 3ddc78b0aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-wafv2-webacl.json +++ /dev/null @@ -1,1911 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AWSManagedRulesACFPRuleSet": { - "additionalProperties": false, - "properties": { - "CreationPath": { - "type": "string" - }, - "EnableRegexInPath": { - "type": "boolean" - }, - "RegistrationPagePath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspectionACFP" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "CreationPath", - "RegistrationPagePath", - "RequestInspection" - ], - "type": "object" - }, - "AWSManagedRulesATPRuleSet": { - "additionalProperties": false, - "properties": { - "EnableRegexInPath": { - "type": "boolean" - }, - "LoginPath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspection" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "LoginPath" - ], - "type": "object" - }, - "AWSManagedRulesBotControlRuleSet": { - "additionalProperties": false, - "properties": { - "EnableMachineLearning": { - "type": "boolean" - }, - "InspectionLevel": { - "enum": [ - "COMMON", - "TARGETED" - ], - "type": "string" - } - }, - "required": [ - "InspectionLevel" - ], - "type": "object" - }, - "AddressField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AssociationConfig": { - "additionalProperties": false, - "properties": { - "RequestBody": { - "$ref": "#/definitions/RequestBody" - } - }, - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - } - }, - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "FieldIdentifier": { - "additionalProperties": false, - "properties": { - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - } - }, - "required": [ - "Identifier" - ], - "type": "object" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "ManagedRuleGroupConfig": { - "additionalProperties": false, - "properties": { - "AWSManagedRulesACFPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesACFPRuleSet" - }, - "AWSManagedRulesATPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesATPRuleSet" - }, - "AWSManagedRulesBotControlRuleSet": { - "$ref": "#/definitions/AWSManagedRulesBotControlRuleSet" - }, - "LoginPath": { - "maxLength": 256, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "type": "object" - }, - "ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "ManagedRuleGroupConfigs": { - "items": { - "$ref": "#/definitions/ManagedRuleGroupConfig" - }, - "type": "array" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - } - }, - "required": [ - "VendorName", - "Name" - ], - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "None": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PhoneNumberField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "CONSTANT", - "IP", - "FORWARDED_IP", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RequestBody": { - "additionalProperties": false, - "patternProperties": { - "^(CLOUDFRONT|API_GATEWAY|COGNITO_USER_POOL|APP_RUNNER_SERVICE|VERIFIED_ACCESS_INSTANCE)$": { - "$ref": "#/definitions/RequestBodyAssociatedResourceTypeConfig" - } - }, - "type": "object" - }, - "RequestBodyAssociatedResourceTypeConfig": { - "additionalProperties": false, - "properties": { - "DefaultSizeInspectionLimit": { - "$ref": "#/definitions/SizeInspectionLimit" - } - }, - "required": [ - "DefaultSizeInspectionLimit" - ], - "type": "object" - }, - "RequestInspection": { - "additionalProperties": false, - "properties": { - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType", - "UsernameField", - "PasswordField" - ], - "type": "object" - }, - "RequestInspectionACFP": { - "additionalProperties": false, - "properties": { - "AddressFields": { - "items": { - "$ref": "#/definitions/AddressField" - }, - "type": "array" - }, - "EmailField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "PhoneNumberFields": { - "items": { - "$ref": "#/definitions/PhoneNumberField" - }, - "type": "array" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseInspection": { - "additionalProperties": false, - "properties": { - "BodyContains": { - "$ref": "#/definitions/ResponseInspectionBodyContains" - }, - "Header": { - "$ref": "#/definitions/ResponseInspectionHeader" - }, - "Json": { - "$ref": "#/definitions/ResponseInspectionJson" - }, - "StatusCode": { - "$ref": "#/definitions/ResponseInspectionStatusCode" - } - }, - "type": "object" - }, - "ResponseInspectionBodyContains": { - "additionalProperties": false, - "properties": { - "FailureStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SuccessStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessStrings", - "FailureStrings" - ], - "type": "object" - }, - "ResponseInspectionHeader": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - }, - "Name": { - "maxLength": 200, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Name", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionJson": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Identifier", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionStatusCode": { - "additionalProperties": false, - "properties": { - "FailureCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - }, - "SuccessCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessCodes", - "FailureCodes" - ], - "type": "object" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "OverrideAction": { - "$ref": "#/definitions/OverrideAction" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleActionOverride": { - "additionalProperties": false, - "properties": { - "ActionToUse": { - "$ref": "#/definitions/RuleAction" - }, - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name", - "ActionToUse" - ], - "type": "object" - }, - "RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SizeInspectionLimit": { - "enum": [ - "KB_16", - "KB_32", - "KB_48", - "KB_64" - ], - "type": "string" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "TokenDomains": { - "items": { - "maxLength": 253, - "minLength": 1, - "pattern": "^[\\w\\.\\-/]+$", - "type": "string" - }, - "type": "array" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AssociationConfig": { - "$ref": "#/definitions/AssociationConfig" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "DefaultAction": { - "$ref": "#/definitions/DefaultAction" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "TokenDomains": { - "$ref": "#/definitions/TokenDomains" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Capacity", - "/properties/Id", - "/properties/LabelNamespace" - ], - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::WebACL" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py index dce81f10ff..e3d7e33146 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py @@ -136,6 +136,7 @@ "AWS::Batch::SchedulingPolicy", "AWS::Bedrock::Agent", "AWS::Bedrock::AgentAlias", + "AWS::Bedrock::ApplicationInferenceProfile", "AWS::Bedrock::DataSource", "AWS::Bedrock::Flow", "AWS::Bedrock::FlowAlias", @@ -947,6 +948,7 @@ "AWS::RDS::DBProxyTargetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSecurityGroupIngress", + "AWS::RDS::DBShardGroup", "AWS::RDS::DBSubnetGroup", "AWS::RDS::EventSubscription", "AWS::RDS::GlobalCluster", @@ -1203,6 +1205,7 @@ "AWS::WAFv2::RuleGroup", "AWS::WAFv2::WebACL", "AWS::WAFv2::WebACLAssociation", + "AWS::Wisdom::AIAgent", "AWS::Wisdom::AIPrompt", "AWS::Wisdom::AIPromptVersion", "AWS::Wisdom::Assistant", @@ -1362,6 +1365,7 @@ "aws-batch-schedulingpolicy.json", "aws-bedrock-agent.json", "aws-bedrock-agentalias.json", + "aws-bedrock-applicationinferenceprofile.json", "aws-bedrock-datasource.json", "aws-bedrock-flow.json", "aws-bedrock-flowalias.json", @@ -2142,6 +2146,7 @@ "aws-ram-permission.json", "aws-ram-resourceshare.json", "aws-rds-customdbengineversion.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -2150,6 +2155,7 @@ "aws-rds-dbproxytargetgroup.json", "aws-rds-dbsecuritygroup.json", "aws-rds-dbsecuritygroupingress.json", + "aws-rds-dbshardgroup.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", "aws-rds-globalcluster.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-wisdom-aiagent.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-wisdom-aiagent.json new file mode 100644 index 0000000000..adb9ecc931 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-wisdom-aiagent.json @@ -0,0 +1,332 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/AIAgentArn", + "/properties/AssistantArn" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/AssistantId", + "/properties/Name", + "/properties/Tags", + "/properties/Type" + ], + "definitions": { + "AIAgentAssociationConfigurationType": { + "enum": [ + "KNOWLEDGE_BASE" + ], + "type": "string" + }, + "AIAgentConfiguration": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "ManualSearchAIAgentConfiguration": { + "$ref": "#/definitions/ManualSearchAIAgentConfiguration" + } + }, + "required": [ + "ManualSearchAIAgentConfiguration" + ], + "title": "ManualSearchAIAgentConfiguration", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "AnswerRecommendationAIAgentConfiguration": { + "$ref": "#/definitions/AnswerRecommendationAIAgentConfiguration" + } + }, + "required": [ + "AnswerRecommendationAIAgentConfiguration" + ], + "title": "AnswerRecommendationAIAgentConfiguration", + "type": "object" + } + ] + }, + "AIAgentType": { + "enum": [ + "MANUAL_SEARCH", + "ANSWER_RECOMMENDATION" + ], + "type": "string" + }, + "AnswerRecommendationAIAgentConfiguration": { + "additionalProperties": false, + "properties": { + "AnswerGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssociationConfigurations": { + "items": { + "$ref": "#/definitions/AssociationConfiguration" + }, + "type": "array" + }, + "IntentLabelingGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "QueryReformulationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + } + }, + "type": "object" + }, + "AssociationConfiguration": { + "additionalProperties": false, + "properties": { + "AssociationConfigurationData": { + "$ref": "#/definitions/AssociationConfigurationData" + }, + "AssociationId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "type": "string" + }, + "AssociationType": { + "$ref": "#/definitions/AIAgentAssociationConfigurationType" + } + }, + "type": "object" + }, + "AssociationConfigurationData": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "KnowledgeBaseAssociationConfigurationData": { + "$ref": "#/definitions/KnowledgeBaseAssociationConfigurationData" + } + }, + "required": [ + "KnowledgeBaseAssociationConfigurationData" + ], + "title": "KnowledgeBaseAssociationConfigurationData", + "type": "object" + } + ] + }, + "KnowledgeBaseAssociationConfigurationData": { + "additionalProperties": false, + "properties": { + "ContentTagFilter": { + "$ref": "#/definitions/TagFilter" + }, + "MaxResults": { + "maximum": 100, + "minimum": 1, + "type": "number" + }, + "OverrideKnowledgeBaseSearchType": { + "$ref": "#/definitions/KnowledgeBaseSearchType" + } + }, + "type": "object" + }, + "KnowledgeBaseSearchType": { + "enum": [ + "HYBRID", + "SEMANTIC" + ], + "type": "string" + }, + "ManualSearchAIAgentConfiguration": { + "additionalProperties": false, + "properties": { + "AnswerGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssociationConfigurations": { + "items": { + "$ref": "#/definitions/AssociationConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, + "OrCondition": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "AndConditions": { + "items": { + "$ref": "#/definitions/TagCondition" + }, + "type": "array" + } + }, + "required": [ + "AndConditions" + ], + "title": "AndConditions", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "TagCondition": { + "$ref": "#/definitions/TagCondition" + } + }, + "required": [ + "TagCondition" + ], + "title": "TagCondition", + "type": "object" + } + ] + }, + "TagCondition": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + }, + "TagFilter": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "TagCondition": { + "$ref": "#/definitions/TagCondition" + } + }, + "required": [ + "TagCondition" + ], + "title": "TagCondition", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "AndConditions": { + "items": { + "$ref": "#/definitions/TagCondition" + }, + "type": "array" + } + }, + "required": [ + "AndConditions" + ], + "title": "AndConditions", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "OrConditions": { + "items": { + "$ref": "#/definitions/OrCondition" + }, + "type": "array" + } + }, + "required": [ + "OrConditions" + ], + "title": "OrConditions", + "type": "object" + } + ] + }, + "Tags": { + "additionalProperties": false, + "patternProperties": { + "^(?!aws:)[a-zA-Z+-=._:/]+$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/AIAgentId", + "/properties/AssistantId" + ], + "properties": { + "AIAgentArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "AIAgentId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssistantArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "AssistantId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "Configuration": { + "$ref": "#/definitions/AIAgentConfiguration" + }, + "Description": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s_.,-]+", + "type": "string" + }, + "Name": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s_.,-]+", + "type": "string" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "$ref": "#/definitions/AIAgentType" + } + }, + "readOnlyProperties": [ + "/properties/AIAgentArn", + "/properties/AIAgentId", + "/properties/AssistantArn" + ], + "required": [ + "AssistantId", + "Configuration", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": false, + "taggable": true + }, + "typeName": "AWS::Wisdom::AIAgent" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py index b0e80a312e..362bdcf610 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py @@ -1227,6 +1227,7 @@ "AWS::WAFv2::RuleGroup", "AWS::WAFv2::WebACL", "AWS::WAFv2::WebACLAssociation", + "AWS::Wisdom::AIAgent", "AWS::Wisdom::AIPrompt", "AWS::Wisdom::AIPromptVersion", "AWS::Wisdom::Assistant", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-wisdom-aiagent.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-wisdom-aiagent.json new file mode 100644 index 0000000000..adb9ecc931 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-wisdom-aiagent.json @@ -0,0 +1,332 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/AIAgentArn", + "/properties/AssistantArn" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/AssistantId", + "/properties/Name", + "/properties/Tags", + "/properties/Type" + ], + "definitions": { + "AIAgentAssociationConfigurationType": { + "enum": [ + "KNOWLEDGE_BASE" + ], + "type": "string" + }, + "AIAgentConfiguration": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "ManualSearchAIAgentConfiguration": { + "$ref": "#/definitions/ManualSearchAIAgentConfiguration" + } + }, + "required": [ + "ManualSearchAIAgentConfiguration" + ], + "title": "ManualSearchAIAgentConfiguration", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "AnswerRecommendationAIAgentConfiguration": { + "$ref": "#/definitions/AnswerRecommendationAIAgentConfiguration" + } + }, + "required": [ + "AnswerRecommendationAIAgentConfiguration" + ], + "title": "AnswerRecommendationAIAgentConfiguration", + "type": "object" + } + ] + }, + "AIAgentType": { + "enum": [ + "MANUAL_SEARCH", + "ANSWER_RECOMMENDATION" + ], + "type": "string" + }, + "AnswerRecommendationAIAgentConfiguration": { + "additionalProperties": false, + "properties": { + "AnswerGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssociationConfigurations": { + "items": { + "$ref": "#/definitions/AssociationConfiguration" + }, + "type": "array" + }, + "IntentLabelingGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "QueryReformulationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + } + }, + "type": "object" + }, + "AssociationConfiguration": { + "additionalProperties": false, + "properties": { + "AssociationConfigurationData": { + "$ref": "#/definitions/AssociationConfigurationData" + }, + "AssociationId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "type": "string" + }, + "AssociationType": { + "$ref": "#/definitions/AIAgentAssociationConfigurationType" + } + }, + "type": "object" + }, + "AssociationConfigurationData": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "KnowledgeBaseAssociationConfigurationData": { + "$ref": "#/definitions/KnowledgeBaseAssociationConfigurationData" + } + }, + "required": [ + "KnowledgeBaseAssociationConfigurationData" + ], + "title": "KnowledgeBaseAssociationConfigurationData", + "type": "object" + } + ] + }, + "KnowledgeBaseAssociationConfigurationData": { + "additionalProperties": false, + "properties": { + "ContentTagFilter": { + "$ref": "#/definitions/TagFilter" + }, + "MaxResults": { + "maximum": 100, + "minimum": 1, + "type": "number" + }, + "OverrideKnowledgeBaseSearchType": { + "$ref": "#/definitions/KnowledgeBaseSearchType" + } + }, + "type": "object" + }, + "KnowledgeBaseSearchType": { + "enum": [ + "HYBRID", + "SEMANTIC" + ], + "type": "string" + }, + "ManualSearchAIAgentConfiguration": { + "additionalProperties": false, + "properties": { + "AnswerGenerationAIPromptId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssociationConfigurations": { + "items": { + "$ref": "#/definitions/AssociationConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, + "OrCondition": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "AndConditions": { + "items": { + "$ref": "#/definitions/TagCondition" + }, + "type": "array" + } + }, + "required": [ + "AndConditions" + ], + "title": "AndConditions", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "TagCondition": { + "$ref": "#/definitions/TagCondition" + } + }, + "required": [ + "TagCondition" + ], + "title": "TagCondition", + "type": "object" + } + ] + }, + "TagCondition": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + }, + "TagFilter": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "TagCondition": { + "$ref": "#/definitions/TagCondition" + } + }, + "required": [ + "TagCondition" + ], + "title": "TagCondition", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "AndConditions": { + "items": { + "$ref": "#/definitions/TagCondition" + }, + "type": "array" + } + }, + "required": [ + "AndConditions" + ], + "title": "AndConditions", + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "OrConditions": { + "items": { + "$ref": "#/definitions/OrCondition" + }, + "type": "array" + } + }, + "required": [ + "OrConditions" + ], + "title": "OrConditions", + "type": "object" + } + ] + }, + "Tags": { + "additionalProperties": false, + "patternProperties": { + "^(?!aws:)[a-zA-Z+-=._:/]+$": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/AIAgentId", + "/properties/AssistantId" + ], + "properties": { + "AIAgentArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "AIAgentId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssistantArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "AssistantId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$", + "type": "string" + }, + "Configuration": { + "$ref": "#/definitions/AIAgentConfiguration" + }, + "Description": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s_.,-]+", + "type": "string" + }, + "Name": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s_.,-]+", + "type": "string" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "$ref": "#/definitions/AIAgentType" + } + }, + "readOnlyProperties": [ + "/properties/AIAgentArn", + "/properties/AIAgentId", + "/properties/AssistantArn" + ], + "required": [ + "AssistantId", + "Configuration", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": false, + "taggable": true + }, + "typeName": "AWS::Wisdom::AIAgent" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py index d2a89711b5..7413435cfd 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py @@ -773,6 +773,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py index 80c833beb5..121d9421e7 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py @@ -50,8 +50,10 @@ "AWS::AppConfig::Extension", "AWS::AppConfig::ExtensionAssociation", "AWS::AppConfig::HostedConfigurationVersion", + "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -702,6 +704,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", @@ -710,8 +713,10 @@ "aws-applicationautoscaling-scalingpolicy.json", "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", + "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", "aws-appsync-functionconfiguration.json", @@ -815,7 +820,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-datamigration.json", "aws-dms-dataprovider.json", @@ -1095,6 +1099,7 @@ "aws-pcaconnectorscep-connector.json", "aws-ram-permission.json", "aws-ram-resourceshare.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -1105,6 +1110,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-datasync-task.json similarity index 98% rename from src/cfnlint/data/schemas/providers/af_south_1/aws-datasync-task.json rename to src/cfnlint/data/schemas/providers/ap_southeast_4/aws-datasync-task.json index ff0f0c237e..1f164cf132 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-datasync-task.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-datasync-task.json @@ -2,8 +2,7 @@ "additionalProperties": false, "createOnlyProperties": [ "/properties/DestinationLocationArn", - "/properties/SourceLocationArn", - "/properties/TaskMode" + "/properties/SourceLocationArn" ], "definitions": { "DestinationNetworkInterfaceArns": { @@ -457,13 +456,6 @@ "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", "type": "string" }, - "TaskMode": { - "enum": [ - "BASIC", - "ENHANCED" - ], - "type": "string" - }, "TaskReportConfig": { "$ref": "#/definitions/TaskReportConfig" } diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py index 2a1e8c562a..19d31b2288 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py @@ -201,6 +201,7 @@ "AWS::ElastiCache::ReplicationGroup", "AWS::ElastiCache::SecurityGroup", "AWS::ElastiCache::SecurityGroupIngress", + "AWS::ElastiCache::ServerlessCache", "AWS::ElastiCache::SubnetGroup", "AWS::ElastiCache::User", "AWS::ElastiCache::UserGroup", @@ -455,7 +456,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-task.json new file mode 100644 index 0000000000..1f164cf132 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-task.json @@ -0,0 +1,482 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DestinationLocationArn", + "/properties/SourceLocationArn" + ], + "definitions": { + "DestinationNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "FilterRule": { + "additionalProperties": false, + "properties": { + "FilterType": { + "enum": [ + "SIMPLE_PATTERN" + ], + "maxLength": 128, + "pattern": "^[A-Z0-9_]+$", + "type": "string" + }, + "Value": { + "maxLength": 409600, + "pattern": "^[^\\x00]+$", + "type": "string" + } + }, + "type": "object" + }, + "ManifestConfig": { + "additionalProperties": false, + "properties": { + "Action": { + "enum": [ + "TRANSFER" + ], + "type": "string" + }, + "Format": { + "enum": [ + "CSV" + ], + "type": "string" + }, + "Source": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/ManifestConfigSourceS3" + } + }, + "type": "object" + } + }, + "required": [ + "Source" + ], + "type": "object" + }, + "ManifestConfigSourceS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "ManifestObjectPath": { + "maxLength": 1024, + "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$", + "type": "string" + }, + "ManifestObjectVersionId": { + "maxLength": 100, + "pattern": "^.+$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + } + }, + "type": "object" + }, + "Options": { + "additionalProperties": false, + "properties": { + "Atime": { + "enum": [ + "NONE", + "BEST_EFFORT" + ], + "type": "string" + }, + "BytesPerSecond": { + "format": "int64", + "minimum": -1, + "type": "integer" + }, + "Gid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "LogLevel": { + "enum": [ + "OFF", + "BASIC", + "TRANSFER" + ], + "type": "string" + }, + "Mtime": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "ObjectTags": { + "enum": [ + "PRESERVE", + "NONE" + ], + "type": "string" + }, + "OverwriteMode": { + "enum": [ + "ALWAYS", + "NEVER" + ], + "type": "string" + }, + "PosixPermissions": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "PreserveDeletedFiles": { + "enum": [ + "PRESERVE", + "REMOVE" + ], + "type": "string" + }, + "PreserveDevices": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "SecurityDescriptorCopyFlags": { + "enum": [ + "NONE", + "OWNER_DACL", + "OWNER_DACL_SACL" + ], + "type": "string" + }, + "TaskQueueing": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "TransferMode": { + "enum": [ + "CHANGED", + "ALL" + ], + "type": "string" + }, + "Uid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "VerifyMode": { + "enum": [ + "POINT_IN_TIME_CONSISTENT", + "ONLY_FILES_TRANSFERRED", + "NONE" + ], + "type": "string" + } + }, + "type": "object" + }, + "SourceNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TaskReportConfig": { + "additionalProperties": false, + "properties": { + "Destination": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/TaskReportConfigDestinationS3" + } + }, + "type": "object" + }, + "ObjectVersionIds": { + "enum": [ + "INCLUDE", + "NONE" + ], + "type": "string" + }, + "OutputType": { + "enum": [ + "SUMMARY_ONLY", + "STANDARD" + ], + "type": "string" + }, + "Overrides": { + "additionalProperties": false, + "properties": { + "Deleted": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Skipped": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Transferred": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Verified": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "required": [ + "Destination", + "OutputType" + ], + "type": "object" + }, + "TaskReportConfigDestinationS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + }, + "Subdirectory": { + "maxLength": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$", + "type": "string" + } + }, + "type": "object" + }, + "TaskSchedule": { + "additionalProperties": false, + "properties": { + "ScheduleExpression": { + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\ \\_\\*\\?\\,\\|\\^\\-\\/\\#\\s\\(\\)\\+]*$", + "type": "string" + }, + "Status": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/TaskArn" + ], + "properties": { + "CloudWatchLogGroupArn": { + "maxLength": 562, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([^:\\*]*)(:\\*)?$", + "type": "string" + }, + "DestinationLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "DestinationNetworkInterfaceArns": { + "$ref": "#/definitions/DestinationNetworkInterfaceArns" + }, + "Excludes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Includes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "ManifestConfig": { + "$ref": "#/definitions/ManifestConfig" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + }, + "Options": { + "$ref": "#/definitions/Options" + }, + "Schedule": { + "$ref": "#/definitions/TaskSchedule" + }, + "SourceLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "SourceNetworkInterfaceArns": { + "$ref": "#/definitions/SourceNetworkInterfaceArns" + }, + "Status": { + "enum": [ + "AVAILABLE", + "CREATING", + "QUEUED", + "RUNNING", + "UNAVAILABLE" + ], + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "TaskArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", + "type": "string" + }, + "TaskReportConfig": { + "$ref": "#/definitions/TaskReportConfig" + } + }, + "readOnlyProperties": [ + "/properties/TaskArn", + "/properties/Status", + "/properties/SourceNetworkInterfaceArns", + "/properties/DestinationNetworkInterfaceArns" + ], + "required": [ + "DestinationLocationArn", + "SourceLocationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::DataSync::Task" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-elasticache-serverlesscache.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-elasticache-serverlesscache.json new file mode 100644 index 0000000000..3b7cde6c66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-elasticache-serverlesscache.json @@ -0,0 +1,205 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/ServerlessCacheName", + "/properties/Engine", + "/properties/MajorEngineVersion", + "/properties/KmsKeyId", + "/properties/SnapshotArnsToRestore", + "/properties/SubnetIds" + ], + "definitions": { + "CacheUsageLimits": { + "additionalProperties": false, + "properties": { + "DataStorage": { + "$ref": "#/definitions/DataStorage" + }, + "ECPUPerSecond": { + "$ref": "#/definitions/ECPUPerSecond" + } + }, + "type": "object" + }, + "DataStorage": { + "additionalProperties": false, + "properties": { + "Maximum": { + "type": "integer" + }, + "Minimum": { + "type": "integer" + }, + "Unit": { + "enum": [ + "GB" + ], + "type": "string" + } + }, + "required": [ + "Unit" + ], + "type": "object" + }, + "ECPUPerSecond": { + "additionalProperties": false, + "properties": { + "Maximum": { + "type": "integer" + }, + "Minimum": { + "type": "integer" + } + }, + "type": "object" + }, + "Endpoint": { + "additionalProperties": false, + "properties": { + "Address": { + "type": "string" + }, + "Port": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z0-9 _\\.\\/=+:\\-@]*$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "pattern": "^[a-zA-Z0-9 _\\.\\/=+:\\-@]*$", + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/ServerlessCacheName" + ], + "properties": { + "ARN": { + "type": "string" + }, + "CacheUsageLimits": { + "$ref": "#/definitions/CacheUsageLimits" + }, + "CreateTime": { + "type": "string" + }, + "DailySnapshotTime": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "Endpoint": { + "$ref": "#/definitions/Endpoint" + }, + "Engine": { + "type": "string" + }, + "FinalSnapshotName": { + "type": "string" + }, + "FullEngineVersion": { + "type": "string" + }, + "KmsKeyId": { + "type": "string" + }, + "MajorEngineVersion": { + "type": "string" + }, + "ReaderEndpoint": { + "$ref": "#/definitions/Endpoint" + }, + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "insertionOrder": false, + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "ServerlessCacheName": { + "type": "string" + }, + "SnapshotArnsToRestore": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "SnapshotRetentionLimit": { + "type": "integer" + }, + "Status": { + "type": "string" + }, + "SubnetIds": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "UserGroupId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/FullEngineVersion", + "/properties/CreateTime", + "/properties/Status", + "/properties/Endpoint/Address", + "/properties/Endpoint/Port", + "/properties/ReaderEndpoint/Address", + "/properties/ReaderEndpoint/Port", + "/properties/ARN" + ], + "required": [ + "ServerlessCacheName", + "Engine" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-elasticache", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::ElastiCache::ServerlessCache", + "writeOnlyProperties": [ + "/properties/SnapshotArnsToRestore", + "/properties/FinalSnapshotName" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py index f9f5dde2da..3cc641c2ef 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py @@ -1391,6 +1391,7 @@ "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", "aws-datasync-storagesystem.json", + "aws-datasync-task.json", "aws-datazone-datasource.json", "aws-datazone-domain.json", "aws-datazone-environment.json", @@ -2030,6 +2031,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py index 1a195c0131..256038499f 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py @@ -715,7 +715,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-datamigration.json", "aws-dms-dataprovider.json", diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-datasync-task.json new file mode 100644 index 0000000000..1f164cf132 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-datasync-task.json @@ -0,0 +1,482 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DestinationLocationArn", + "/properties/SourceLocationArn" + ], + "definitions": { + "DestinationNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "FilterRule": { + "additionalProperties": false, + "properties": { + "FilterType": { + "enum": [ + "SIMPLE_PATTERN" + ], + "maxLength": 128, + "pattern": "^[A-Z0-9_]+$", + "type": "string" + }, + "Value": { + "maxLength": 409600, + "pattern": "^[^\\x00]+$", + "type": "string" + } + }, + "type": "object" + }, + "ManifestConfig": { + "additionalProperties": false, + "properties": { + "Action": { + "enum": [ + "TRANSFER" + ], + "type": "string" + }, + "Format": { + "enum": [ + "CSV" + ], + "type": "string" + }, + "Source": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/ManifestConfigSourceS3" + } + }, + "type": "object" + } + }, + "required": [ + "Source" + ], + "type": "object" + }, + "ManifestConfigSourceS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "ManifestObjectPath": { + "maxLength": 1024, + "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$", + "type": "string" + }, + "ManifestObjectVersionId": { + "maxLength": 100, + "pattern": "^.+$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + } + }, + "type": "object" + }, + "Options": { + "additionalProperties": false, + "properties": { + "Atime": { + "enum": [ + "NONE", + "BEST_EFFORT" + ], + "type": "string" + }, + "BytesPerSecond": { + "format": "int64", + "minimum": -1, + "type": "integer" + }, + "Gid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "LogLevel": { + "enum": [ + "OFF", + "BASIC", + "TRANSFER" + ], + "type": "string" + }, + "Mtime": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "ObjectTags": { + "enum": [ + "PRESERVE", + "NONE" + ], + "type": "string" + }, + "OverwriteMode": { + "enum": [ + "ALWAYS", + "NEVER" + ], + "type": "string" + }, + "PosixPermissions": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "PreserveDeletedFiles": { + "enum": [ + "PRESERVE", + "REMOVE" + ], + "type": "string" + }, + "PreserveDevices": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "SecurityDescriptorCopyFlags": { + "enum": [ + "NONE", + "OWNER_DACL", + "OWNER_DACL_SACL" + ], + "type": "string" + }, + "TaskQueueing": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "TransferMode": { + "enum": [ + "CHANGED", + "ALL" + ], + "type": "string" + }, + "Uid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "VerifyMode": { + "enum": [ + "POINT_IN_TIME_CONSISTENT", + "ONLY_FILES_TRANSFERRED", + "NONE" + ], + "type": "string" + } + }, + "type": "object" + }, + "SourceNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TaskReportConfig": { + "additionalProperties": false, + "properties": { + "Destination": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/TaskReportConfigDestinationS3" + } + }, + "type": "object" + }, + "ObjectVersionIds": { + "enum": [ + "INCLUDE", + "NONE" + ], + "type": "string" + }, + "OutputType": { + "enum": [ + "SUMMARY_ONLY", + "STANDARD" + ], + "type": "string" + }, + "Overrides": { + "additionalProperties": false, + "properties": { + "Deleted": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Skipped": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Transferred": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Verified": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "required": [ + "Destination", + "OutputType" + ], + "type": "object" + }, + "TaskReportConfigDestinationS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + }, + "Subdirectory": { + "maxLength": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$", + "type": "string" + } + }, + "type": "object" + }, + "TaskSchedule": { + "additionalProperties": false, + "properties": { + "ScheduleExpression": { + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\ \\_\\*\\?\\,\\|\\^\\-\\/\\#\\s\\(\\)\\+]*$", + "type": "string" + }, + "Status": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/TaskArn" + ], + "properties": { + "CloudWatchLogGroupArn": { + "maxLength": 562, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([^:\\*]*)(:\\*)?$", + "type": "string" + }, + "DestinationLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "DestinationNetworkInterfaceArns": { + "$ref": "#/definitions/DestinationNetworkInterfaceArns" + }, + "Excludes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Includes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "ManifestConfig": { + "$ref": "#/definitions/ManifestConfig" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + }, + "Options": { + "$ref": "#/definitions/Options" + }, + "Schedule": { + "$ref": "#/definitions/TaskSchedule" + }, + "SourceLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "SourceNetworkInterfaceArns": { + "$ref": "#/definitions/SourceNetworkInterfaceArns" + }, + "Status": { + "enum": [ + "AVAILABLE", + "CREATING", + "QUEUED", + "RUNNING", + "UNAVAILABLE" + ], + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "TaskArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", + "type": "string" + }, + "TaskReportConfig": { + "$ref": "#/definitions/TaskReportConfig" + } + }, + "readOnlyProperties": [ + "/properties/TaskArn", + "/properties/Status", + "/properties/SourceNetworkInterfaceArns", + "/properties/DestinationNetworkInterfaceArns" + ], + "required": [ + "DestinationLocationArn", + "SourceLocationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::DataSync::Task" +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py index 5a64d8f352..82ec44a8da 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py @@ -69,6 +69,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::FunctionConfiguration", "AWS::AppSync::GraphQLApi", @@ -731,6 +732,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-functionconfiguration.json", "aws-appsync-graphqlschema.json", @@ -742,7 +744,6 @@ "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", - "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-launchconfiguration.json", "aws-autoscaling-lifecyclehook.json", "aws-autoscaling-scalingpolicy.json", @@ -757,6 +758,7 @@ "aws-batch-schedulingpolicy.json", "aws-budgets-budget.json", "aws-budgets-budgetsaction.json", + "aws-cassandra-keyspace.json", "aws-cassandra-table.json", "aws-ce-anomalymonitor.json", "aws-ce-anomalysubscription.json", @@ -1112,6 +1114,7 @@ "aws-pipes-pipe.json", "aws-ram-permission.json", "aws-ram-resourceshare.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-autoscaling-autoscalinggroup.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-autoscaling-autoscalinggroup.json new file mode 100644 index 0000000000..3b1a162dd9 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-autoscaling-autoscalinggroup.json @@ -0,0 +1,677 @@ +{ + "additionalProperties": false, + "conditionalCreateOnlyProperties": [ + "/properties/LaunchConfigurationName", + "/properties/VPCZoneIdentifier", + "/properties/LaunchTemplate", + "/properties/MixedInstancesPolicy" + ], + "createOnlyProperties": [ + "/properties/InstanceId", + "/properties/AutoScalingGroupName" + ], + "definitions": { + "AcceleratorCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "AcceleratorTotalMemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "AvailabilityZoneDistribution": { + "additionalProperties": false, + "properties": { + "CapacityDistributionStrategy": { + "enum": [ + "balanced-best-effort", + "balanced-only" + ], + "type": "string" + } + }, + "type": "object" + }, + "BaselineEbsBandwidthMbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "InstanceMaintenancePolicy": { + "additionalProperties": false, + "dependencies": { + "MaxHealthyPercentage": [ + "MinHealthyPercentage" + ], + "MinHealthyPercentage": [ + "MaxHealthyPercentage" + ] + }, + "properties": { + "MaxHealthyPercentage": { + "type": "integer" + }, + "MinHealthyPercentage": { + "type": "integer" + } + }, + "type": "object" + }, + "InstanceRequirements": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "AcceleratorNames": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "AllowedInstanceTypes": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/BaselineEbsBandwidthMbpsRequest" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "ExcludedInstanceTypes": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "InstanceGenerations": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "integer" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "integer" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "integer" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/VCpuCountRequest" + } + }, + "required": [ + "MemoryMiB", + "VCpuCount" + ], + "type": "object" + }, + "InstancesDistribution": { + "additionalProperties": false, + "properties": { + "OnDemandAllocationStrategy": { + "type": "string" + }, + "OnDemandBaseCapacity": { + "type": "integer" + }, + "OnDemandPercentageAboveBaseCapacity": { + "type": "integer" + }, + "SpotAllocationStrategy": { + "type": "string" + }, + "SpotInstancePools": { + "type": "integer" + }, + "SpotMaxPrice": { + "type": "string" + } + }, + "type": "object" + }, + "LaunchTemplate": { + "additionalProperties": false, + "properties": { + "LaunchTemplateSpecification": { + "$ref": "#/definitions/LaunchTemplateSpecification" + }, + "Overrides": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/LaunchTemplateOverrides" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "LaunchTemplateSpecification" + ], + "type": "object" + }, + "LaunchTemplateOverrides": { + "additionalProperties": false, + "properties": { + "InstanceRequirements": { + "$ref": "#/definitions/InstanceRequirements" + }, + "InstanceType": { + "type": "string" + }, + "LaunchTemplateSpecification": { + "$ref": "#/definitions/LaunchTemplateSpecification" + }, + "WeightedCapacity": { + "type": "string" + } + }, + "type": "object" + }, + "LaunchTemplateSpecification": { + "additionalProperties": false, + "properties": { + "LaunchTemplateId": { + "type": "string" + }, + "LaunchTemplateName": { + "pattern": "[a-zA-Z0-9\\(\\)\\.\\-/_]+", + "type": "string" + }, + "Version": { + "type": "string" + } + }, + "required": [ + "Version" + ], + "requiredXor": [ + "LaunchTemplateId", + "LaunchTemplateName" + ], + "type": "object" + }, + "LifecycleHookSpecification": { + "additionalProperties": false, + "properties": { + "DefaultResult": { + "type": "string" + }, + "HeartbeatTimeout": { + "type": "integer" + }, + "LifecycleHookName": { + "type": "string" + }, + "LifecycleTransition": { + "type": "string" + }, + "NotificationMetadata": { + "type": "string" + }, + "NotificationTargetARN": { + "type": "string" + }, + "RoleARN": { + "type": "string" + } + }, + "required": [ + "LifecycleHookName", + "LifecycleTransition" + ], + "type": "object" + }, + "MemoryGiBPerVCpuRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "MemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "MetricsCollection": { + "additionalProperties": false, + "properties": { + "Granularity": { + "type": "string" + }, + "Metrics": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "Granularity" + ], + "type": "object" + }, + "MixedInstancesPolicy": { + "additionalProperties": false, + "properties": { + "InstancesDistribution": { + "$ref": "#/definitions/InstancesDistribution" + }, + "LaunchTemplate": { + "$ref": "#/definitions/LaunchTemplate" + } + }, + "required": [ + "LaunchTemplate" + ], + "type": "object" + }, + "NetworkBandwidthGbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "NotificationConfiguration": { + "additionalProperties": false, + "properties": { + "NotificationTypes": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "TopicARN": { + "items": { + "type": "string" + }, + "type": [ + "string", + "array" + ] + } + }, + "required": [ + "TopicARN" + ], + "type": "object" + }, + "TagProperty": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "PropagateAtLaunch": { + "type": "boolean" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key", + "PropagateAtLaunch" + ], + "type": "object" + }, + "TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "TrafficSourceIdentifier": { + "additionalProperties": false, + "properties": { + "Identifier": { + "type": "string" + }, + "Type": { + "type": "string" + } + }, + "required": [ + "Identifier", + "Type" + ], + "type": "object" + }, + "VCpuCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/NotificationConfiguration" + ], + "primaryIdentifier": [ + "/properties/AutoScalingGroupName" + ], + "properties": { + "AutoScalingGroupName": { + "type": "string" + }, + "AvailabilityZoneDistribution": { + "$ref": "#/definitions/AvailabilityZoneDistribution" + }, + "AvailabilityZones": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "CapacityRebalance": { + "type": "boolean" + }, + "Context": { + "type": "string" + }, + "Cooldown": { + "type": "string" + }, + "DefaultInstanceWarmup": { + "type": "integer" + }, + "DesiredCapacity": { + "pattern": "^[0-9]+$", + "type": "string" + }, + "DesiredCapacityType": { + "type": "string" + }, + "HealthCheckGracePeriod": { + "type": "integer" + }, + "HealthCheckType": { + "enum": [ + "EBS", + "EC2", + "ELB", + "VPC_LATTICE" + ], + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "InstanceMaintenancePolicy": { + "$ref": "#/definitions/InstanceMaintenancePolicy" + }, + "LaunchConfigurationName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/LaunchTemplateSpecification" + }, + "LifecycleHookSpecificationList": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/LifecycleHookSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "LoadBalancerNames": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "MaxInstanceLifetime": { + "type": "integer" + }, + "MaxSize": { + "pattern": "^[0-9]+$", + "type": "string" + }, + "MetricsCollection": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/MetricsCollection" + }, + "type": "array", + "uniqueItems": false + }, + "MinSize": { + "pattern": "^[0-9]+$", + "type": "string" + }, + "MixedInstancesPolicy": { + "$ref": "#/definitions/MixedInstancesPolicy" + }, + "NewInstancesProtectedFromScaleIn": { + "type": "boolean" + }, + "NotificationConfiguration": { + "$ref": "#/definitions/NotificationConfiguration" + }, + "NotificationConfigurations": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/NotificationConfiguration" + }, + "type": "array", + "uniqueItems": false + }, + "PlacementGroup": { + "type": "string" + }, + "ServiceLinkedRoleARN": { + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/TagProperty" + }, + "type": "array" + }, + "TargetGroupARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "TerminationPolicies": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "TrafficSources": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/TrafficSourceIdentifier" + }, + "type": "array", + "uniqueItems": true + }, + "VPCZoneIdentifier": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + } + }, + "propertyTransform": { + "/properties/LaunchConfigurationName": "InstanceId? AutoScalingGroupName : LaunchConfigurationName" + }, + "required": [ + "MinSize", + "MaxSize" + ], + "requiredXor": [ + "InstanceId", + "LaunchConfigurationName", + "LaunchTemplate", + "MixedInstancesPolicy" + ], + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::AutoScaling::AutoScalingGroup", + "writeOnlyProperties": [ + "/properties/InstanceId" + ] +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py b/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py index 4a3239fa8a..c44e7ef80c 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py @@ -1250,6 +1250,7 @@ "AWS::WAFv2::WebACL", "AWS::WAFv2::WebACLAssociation", "AWS::Wisdom::AIAgent", + "AWS::Wisdom::AIAgentVersion", "AWS::Wisdom::AIPrompt", "AWS::Wisdom::AIPromptVersion", "AWS::Wisdom::Assistant", diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-wisdom-aiagentversion.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-wisdom-aiagentversion.json new file mode 100644 index 0000000000..3bd54b165f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-wisdom-aiagentversion.json @@ -0,0 +1,66 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/AIAgentArn", + "/properties/AssistantArn" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/AssistantId", + "/properties/AIAgentId", + "/properties/ModifiedTimeSeconds" + ], + "definitions": {}, + "primaryIdentifier": [ + "/properties/AssistantId", + "/properties/AIAgentId", + "/properties/VersionNumber" + ], + "properties": { + "AIAgentArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$", + "type": "string" + }, + "AIAgentId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "type": "string" + }, + "AIAgentVersionId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$", + "type": "string" + }, + "AssistantArn": { + "pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$", + "type": "string" + }, + "AssistantId": { + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "type": "string" + }, + "ModifiedTimeSeconds": { + "type": "number" + }, + "VersionNumber": { + "type": "number" + } + }, + "readOnlyProperties": [ + "/properties/AIAgentVersionId", + "/properties/AIAgentArn", + "/properties/AssistantArn", + "/properties/VersionNumber" + ], + "required": [ + "AssistantId", + "AIAgentId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Wisdom::AIAgentVersion" +} diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py b/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py index 30f5d19066..d663fc38f8 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py @@ -867,7 +867,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-datamigration.json", "aws-dms-dataprovider.json", diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-datasync-task.json new file mode 100644 index 0000000000..1f164cf132 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-datasync-task.json @@ -0,0 +1,482 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DestinationLocationArn", + "/properties/SourceLocationArn" + ], + "definitions": { + "DestinationNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "FilterRule": { + "additionalProperties": false, + "properties": { + "FilterType": { + "enum": [ + "SIMPLE_PATTERN" + ], + "maxLength": 128, + "pattern": "^[A-Z0-9_]+$", + "type": "string" + }, + "Value": { + "maxLength": 409600, + "pattern": "^[^\\x00]+$", + "type": "string" + } + }, + "type": "object" + }, + "ManifestConfig": { + "additionalProperties": false, + "properties": { + "Action": { + "enum": [ + "TRANSFER" + ], + "type": "string" + }, + "Format": { + "enum": [ + "CSV" + ], + "type": "string" + }, + "Source": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/ManifestConfigSourceS3" + } + }, + "type": "object" + } + }, + "required": [ + "Source" + ], + "type": "object" + }, + "ManifestConfigSourceS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "ManifestObjectPath": { + "maxLength": 1024, + "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$", + "type": "string" + }, + "ManifestObjectVersionId": { + "maxLength": 100, + "pattern": "^.+$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + } + }, + "type": "object" + }, + "Options": { + "additionalProperties": false, + "properties": { + "Atime": { + "enum": [ + "NONE", + "BEST_EFFORT" + ], + "type": "string" + }, + "BytesPerSecond": { + "format": "int64", + "minimum": -1, + "type": "integer" + }, + "Gid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "LogLevel": { + "enum": [ + "OFF", + "BASIC", + "TRANSFER" + ], + "type": "string" + }, + "Mtime": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "ObjectTags": { + "enum": [ + "PRESERVE", + "NONE" + ], + "type": "string" + }, + "OverwriteMode": { + "enum": [ + "ALWAYS", + "NEVER" + ], + "type": "string" + }, + "PosixPermissions": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "PreserveDeletedFiles": { + "enum": [ + "PRESERVE", + "REMOVE" + ], + "type": "string" + }, + "PreserveDevices": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "SecurityDescriptorCopyFlags": { + "enum": [ + "NONE", + "OWNER_DACL", + "OWNER_DACL_SACL" + ], + "type": "string" + }, + "TaskQueueing": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "TransferMode": { + "enum": [ + "CHANGED", + "ALL" + ], + "type": "string" + }, + "Uid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "VerifyMode": { + "enum": [ + "POINT_IN_TIME_CONSISTENT", + "ONLY_FILES_TRANSFERRED", + "NONE" + ], + "type": "string" + } + }, + "type": "object" + }, + "SourceNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TaskReportConfig": { + "additionalProperties": false, + "properties": { + "Destination": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/TaskReportConfigDestinationS3" + } + }, + "type": "object" + }, + "ObjectVersionIds": { + "enum": [ + "INCLUDE", + "NONE" + ], + "type": "string" + }, + "OutputType": { + "enum": [ + "SUMMARY_ONLY", + "STANDARD" + ], + "type": "string" + }, + "Overrides": { + "additionalProperties": false, + "properties": { + "Deleted": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Skipped": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Transferred": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Verified": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "required": [ + "Destination", + "OutputType" + ], + "type": "object" + }, + "TaskReportConfigDestinationS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + }, + "Subdirectory": { + "maxLength": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$", + "type": "string" + } + }, + "type": "object" + }, + "TaskSchedule": { + "additionalProperties": false, + "properties": { + "ScheduleExpression": { + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\ \\_\\*\\?\\,\\|\\^\\-\\/\\#\\s\\(\\)\\+]*$", + "type": "string" + }, + "Status": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/TaskArn" + ], + "properties": { + "CloudWatchLogGroupArn": { + "maxLength": 562, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([^:\\*]*)(:\\*)?$", + "type": "string" + }, + "DestinationLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "DestinationNetworkInterfaceArns": { + "$ref": "#/definitions/DestinationNetworkInterfaceArns" + }, + "Excludes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Includes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "ManifestConfig": { + "$ref": "#/definitions/ManifestConfig" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + }, + "Options": { + "$ref": "#/definitions/Options" + }, + "Schedule": { + "$ref": "#/definitions/TaskSchedule" + }, + "SourceLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "SourceNetworkInterfaceArns": { + "$ref": "#/definitions/SourceNetworkInterfaceArns" + }, + "Status": { + "enum": [ + "AVAILABLE", + "CREATING", + "QUEUED", + "RUNNING", + "UNAVAILABLE" + ], + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "TaskArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", + "type": "string" + }, + "TaskReportConfig": { + "$ref": "#/definitions/TaskReportConfig" + } + }, + "readOnlyProperties": [ + "/properties/TaskArn", + "/properties/Status", + "/properties/SourceNetworkInterfaceArns", + "/properties/DestinationNetworkInterfaceArns" + ], + "required": [ + "DestinationLocationArn", + "SourceLocationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::DataSync::Task" +} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py b/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py index 28d3f35198..6b12c841f0 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py @@ -92,6 +92,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -132,6 +133,7 @@ "AWS::Batch::SchedulingPolicy", "AWS::Bedrock::Agent", "AWS::Bedrock::AgentAlias", + "AWS::Bedrock::ApplicationInferenceProfile", "AWS::Bedrock::DataSource", "AWS::Bedrock::Flow", "AWS::Bedrock::FlowAlias", @@ -1337,6 +1339,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -1376,6 +1379,8 @@ "aws-batch-schedulingpolicy.json", "aws-bedrock-agent.json", "aws-bedrock-agentalias.json", + "aws-bedrock-applicationinferenceprofile.json", + "aws-bedrock-datasource.json", "aws-bedrock-flow.json", "aws-bedrock-flowalias.json", "aws-bedrock-flowversion.json", @@ -1657,6 +1662,7 @@ "aws-ec2-vpcendpointservicepermissions.json", "aws-ec2-vpcgatewayattachment.json", "aws-ec2-vpcpeeringconnection.json", + "aws-ec2-vpnconnection.json", "aws-ec2-vpnconnectionroute.json", "aws-ec2-vpngateway.json", "aws-ec2-vpngatewayroutepropagation.json", @@ -1719,6 +1725,9 @@ "aws-entityresolution-matchingworkflow.json", "aws-entityresolution-policystatement.json", "aws-entityresolution-schemamapping.json", + "aws-events-apidestination.json", + "aws-events-archive.json", + "aws-events-connection.json", "aws-events-endpoint.json", "aws-events-eventbus.json", "aws-events-eventbuspolicy.json", @@ -2184,6 +2193,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -2293,6 +2303,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-bedrock-datasource.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-bedrock-datasource.json deleted file mode 100644 index f99327b428..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-bedrock-datasource.json +++ /dev/null @@ -1,826 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KnowledgeBaseId", - "/properties/VectorIngestionConfiguration/ChunkingConfiguration", - "/properties/VectorIngestionConfiguration/ParsingConfiguration", - "/properties/DataSourceConfiguration/Type" - ], - "definitions": { - "BedrockFoundationModelConfiguration": { - "additionalProperties": false, - "properties": { - "ModelArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$", - "type": "string" - }, - "ParsingPrompt": { - "$ref": "#/definitions/ParsingPrompt" - } - }, - "required": [ - "ModelArn" - ], - "type": "object" - }, - "ChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingStrategy": { - "$ref": "#/definitions/ChunkingStrategy" - }, - "FixedSizeChunkingConfiguration": { - "$ref": "#/definitions/FixedSizeChunkingConfiguration" - }, - "HierarchicalChunkingConfiguration": { - "$ref": "#/definitions/HierarchicalChunkingConfiguration" - }, - "SemanticChunkingConfiguration": { - "$ref": "#/definitions/SemanticChunkingConfiguration" - } - }, - "required": [ - "ChunkingStrategy" - ], - "type": "object" - }, - "ChunkingStrategy": { - "enum": [ - "FIXED_SIZE", - "NONE", - "HIERARCHICAL", - "SEMANTIC" - ], - "type": "string" - }, - "ConfluenceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "ConfluenceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/ConfluenceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/ConfluenceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "ConfluenceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "BASIC", - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostType": { - "enum": [ - "SAAS" - ], - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "CrawlFilterConfiguration": { - "additionalProperties": false, - "properties": { - "PatternObjectFilter": { - "$ref": "#/definitions/PatternObjectFilterConfiguration" - }, - "Type": { - "enum": [ - "PATTERN" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "CustomTransformationConfiguration": { - "additionalProperties": false, - "properties": { - "IntermediateStorage": { - "$ref": "#/definitions/IntermediateStorage" - }, - "Transformations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Transformation" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "IntermediateStorage", - "Transformations" - ], - "type": "object" - }, - "DataDeletionPolicy": { - "enum": [ - "RETAIN", - "DELETE" - ], - "type": "string" - }, - "DataSourceConfiguration": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "S3Configuration" - ] - }, - { - "required": [ - "ConfluenceConfiguration" - ] - }, - { - "required": [ - "SalesforceConfiguration" - ] - }, - { - "required": [ - "SharePointConfiguration" - ] - }, - { - "required": [ - "WebConfiguration" - ] - } - ], - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/ConfluenceDataSourceConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/SalesforceDataSourceConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/SharePointDataSourceConfiguration" - }, - "Type": { - "$ref": "#/definitions/DataSourceType" - }, - "WebConfiguration": { - "$ref": "#/definitions/WebDataSourceConfiguration" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "DataSourceStatus": { - "enum": [ - "AVAILABLE", - "DELETING", - "DELETE_UNSUCCESSFUL" - ], - "type": "string" - }, - "DataSourceType": { - "enum": [ - "S3", - "CONFLUENCE", - "SALESFORCE", - "SHAREPOINT", - "WEB" - ], - "type": "string" - }, - "FilterList": { - "insertionOrder": false, - "items": { - "maxLength": 1000, - "type": "string" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "FixedSizeChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "minimum": 1, - "type": "integer" - }, - "OverlapPercentage": { - "maximum": 99, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens", - "OverlapPercentage" - ], - "type": "object" - }, - "HierarchicalChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "LevelConfigurations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/HierarchicalChunkingLevelConfiguration" - }, - "maxItems": 2, - "minItems": 2, - "type": "array" - }, - "OverlapTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "LevelConfigurations", - "OverlapTokens" - ], - "type": "object" - }, - "HierarchicalChunkingLevelConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 8192, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens" - ], - "type": "object" - }, - "IntermediateStorage": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/S3Location" - } - }, - "required": [ - "S3Location" - ], - "type": "object" - }, - "ParsingConfiguration": { - "additionalProperties": false, - "properties": { - "BedrockFoundationModelConfiguration": { - "$ref": "#/definitions/BedrockFoundationModelConfiguration" - }, - "ParsingStrategy": { - "$ref": "#/definitions/ParsingStrategy" - } - }, - "required": [ - "ParsingStrategy" - ], - "type": "object" - }, - "ParsingPrompt": { - "additionalProperties": false, - "properties": { - "ParsingPromptText": { - "maxLength": 10000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ParsingPromptText" - ], - "type": "object" - }, - "ParsingStrategy": { - "enum": [ - "BEDROCK_FOUNDATION_MODEL" - ], - "type": "string" - }, - "PatternObjectFilter": { - "additionalProperties": false, - "properties": { - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "ObjectType": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ObjectType" - ], - "type": "object" - }, - "PatternObjectFilterConfiguration": { - "additionalProperties": false, - "properties": { - "Filters": { - "$ref": "#/definitions/PatternObjectFilterList" - } - }, - "required": [ - "Filters" - ], - "type": "object" - }, - "PatternObjectFilterList": { - "items": { - "$ref": "#/definitions/PatternObjectFilter" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$", - "type": "string" - }, - "BucketOwnerAccountId": { - "maxLength": 12, - "minLength": 12, - "pattern": "^[0-9]{12}$", - "type": "string" - }, - "InclusionPrefixes": { - "insertionOrder": false, - "items": { - "maxLength": 300, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "BucketArn" - ], - "type": "object" - }, - "S3Location": { - "additionalProperties": false, - "properties": { - "URI": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^s3://.{1,128}$", - "type": "string" - } - }, - "required": [ - "URI" - ], - "type": "object" - }, - "SalesforceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SalesforceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SalesforceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SalesforceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SalesforceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "SeedUrl": { - "additionalProperties": false, - "properties": { - "Url": { - "pattern": "^https?://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "SeedUrls": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SeedUrl" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "SemanticChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "BreakpointPercentileThreshold": { - "maximum": 99, - "minimum": 50, - "type": "integer" - }, - "BufferSize": { - "maximum": 1, - "minimum": 0, - "type": "integer" - }, - "MaxTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "BreakpointPercentileThreshold", - "BufferSize", - "MaxTokens" - ], - "type": "object" - }, - "ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$", - "type": "string" - } - }, - "type": "object" - }, - "SharePointCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SharePointDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SharePointCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SharePointSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SharePointSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "Domain": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "HostType": { - "enum": [ - "ONLINE" - ], - "type": "string" - }, - "SiteUrls": { - "insertionOrder": false, - "items": { - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "TenantId": { - "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", - "type": "string" - } - }, - "required": [ - "Domain", - "SiteUrls", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "Transformation": { - "additionalProperties": false, - "properties": { - "StepToApply": { - "enum": [ - "POST_CHUNKING" - ], - "type": "string" - }, - "TransformationFunction": { - "$ref": "#/definitions/TransformationFunction" - } - }, - "required": [ - "StepToApply", - "TransformationFunction" - ], - "type": "object" - }, - "TransformationFunction": { - "additionalProperties": false, - "properties": { - "TransformationLambdaConfiguration": { - "$ref": "#/definitions/TransformationLambdaConfiguration" - } - }, - "required": [ - "TransformationLambdaConfiguration" - ], - "type": "object" - }, - "TransformationLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "maxLength": 2048, - "minLength": 0, - "pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$", - "type": "string" - } - }, - "required": [ - "LambdaArn" - ], - "type": "object" - }, - "UrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "$ref": "#/definitions/SeedUrls" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "VectorIngestionConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingConfiguration": { - "$ref": "#/definitions/ChunkingConfiguration" - }, - "CustomTransformationConfiguration": { - "$ref": "#/definitions/CustomTransformationConfiguration" - }, - "ParsingConfiguration": { - "$ref": "#/definitions/ParsingConfiguration" - } - }, - "type": "object" - }, - "WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerLimits": { - "$ref": "#/definitions/WebCrawlerLimits" - }, - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "Scope": { - "$ref": "#/definitions/WebScopeType" - } - }, - "type": "object" - }, - "WebCrawlerLimits": { - "additionalProperties": false, - "properties": { - "RateLimit": { - "maximum": 300, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WebDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/WebCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/WebSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "WebScopeType": { - "enum": [ - "HOST_ONLY", - "SUBDOMAINS" - ], - "type": "string" - }, - "WebSourceConfiguration": { - "additionalProperties": false, - "properties": { - "UrlConfiguration": { - "$ref": "#/definitions/UrlConfiguration" - } - }, - "required": [ - "UrlConfiguration" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/KnowledgeBaseId", - "/properties/DataSourceId" - ], - "properties": { - "CreatedAt": { - "type": "string" - }, - "DataDeletionPolicy": { - "$ref": "#/definitions/DataDeletionPolicy" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/DataSourceConfiguration" - }, - "DataSourceId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "DataSourceStatus": { - "$ref": "#/definitions/DataSourceStatus" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "FailureReasons": { - "insertionOrder": false, - "items": { - "maxLength": 2048, - "type": "string" - }, - "maxItems": 2048, - "type": "array" - }, - "KnowledgeBaseId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/ServerSideEncryptionConfiguration" - }, - "UpdatedAt": { - "type": "string" - }, - "VectorIngestionConfiguration": { - "$ref": "#/definitions/VectorIngestionConfiguration" - } - }, - "readOnlyProperties": [ - "/properties/DataSourceId", - "/properties/DataSourceStatus", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/FailureReasons" - ], - "required": [ - "DataSourceConfiguration", - "Name", - "KnowledgeBaseId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-aps", - "tagging": { - "cloudFormationSystemTags": false, - "taggable": false - }, - "typeName": "AWS::Bedrock::DataSource" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-ec2-vpnconnection.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-ec2-vpnconnection.json deleted file mode 100644 index a9d5be394d..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-ec2-vpnconnection.json +++ /dev/null @@ -1,383 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/provider.definition.schema.v1.json", - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/CustomerGatewayId", - "/properties/VpnGatewayId", - "/properties/TransitGatewayId", - "/properties/EnableAcceleration", - "/properties/LocalIpv4NetworkCidr", - "/properties/LocalIpv6NetworkCidr", - "/properties/OutsideIpAddressType", - "/properties/RemoteIpv4NetworkCidr", - "/properties/RemoteIpv6NetworkCidr", - "/properties/StaticRoutesOnly", - "/properties/TransportTransitGatewayAttachmentId", - "/properties/TunnelInsideIpVersion", - "/properties/VpnTunnelOptionsSpecifications" - ], - "definitions": { - "CloudwatchLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "LogEnabled": { - "type": "boolean" - }, - "LogGroupArn": { - "type": "string" - }, - "LogOutputFormat": { - "enum": [ - "json", - "text" - ], - "type": "string" - } - }, - "type": "object" - }, - "IKEVersionsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "ikev1", - "ikev2" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase1EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase2EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "VpnTunnelLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "CloudwatchLogOptions": { - "$ref": "#/definitions/CloudwatchLogOptionsSpecification" - } - }, - "type": "object" - }, - "VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "DPDTimeoutAction": { - "enum": [ - "clear", - "none", - "restart" - ], - "type": "string" - }, - "DPDTimeoutSeconds": { - "minimum": 30, - "type": "integer" - }, - "EnableTunnelLifecycleControl": { - "type": "boolean" - }, - "IKEVersions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/IKEVersionsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "LogOptions": { - "$ref": "#/definitions/VpnTunnelLogOptionsSpecification" - }, - "Phase1DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1LifetimeSeconds": { - "maximum": 28800, - "minimum": 900, - "type": "integer" - }, - "Phase2DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2LifetimeSeconds": { - "maximum": 3600, - "minimum": 900, - "type": "integer" - }, - "PreSharedKey": { - "type": "string" - }, - "RekeyFuzzPercentage": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "RekeyMarginTimeSeconds": { - "minimum": 60, - "type": "integer" - }, - "ReplayWindowSize": { - "maximum": 2048, - "minimum": 64, - "type": "integer" - }, - "StartupAction": { - "enum": [ - "add", - "start" - ], - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - }, - "TunnelInsideIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/VpnConnectionId" - ], - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "EnableAcceleration": { - "type": "boolean" - }, - "LocalIpv4NetworkCidr": { - "type": "string" - }, - "LocalIpv6NetworkCidr": { - "type": "string" - }, - "OutsideIpAddressType": { - "type": "string" - }, - "RemoteIpv4NetworkCidr": { - "type": "string" - }, - "RemoteIpv6NetworkCidr": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - }, - "TunnelInsideIpVersion": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/VpnTunnelOptionsSpecification" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/VpnConnectionId" - ], - "required": [ - "Type", - "CustomerGatewayId" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::VPNConnection" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-apidestination.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-apidestination.json deleted file mode 100644 index 84f7d5fd6e..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-apidestination.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ConnectionArn": { - "pattern": "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:connection\\/[\\.\\-_A-Za-z0-9]+\\/[\\-A-Za-z0-9]+$", - "type": "string" - }, - "Description": { - "maxLength": 512, - "type": "string" - }, - "HttpMethod": { - "enum": [ - "GET", - "HEAD", - "POST", - "OPTIONS", - "PUT", - "DELETE", - "PATCH" - ], - "type": "string" - }, - "InvocationEndpoint": { - "pattern": "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$", - "type": "string" - }, - "InvocationRateLimitPerSecond": { - "minimum": 1, - "type": "integer" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_A-Za-z0-9]+", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "ConnectionArn", - "InvocationEndpoint", - "HttpMethod" - ], - "typeName": "AWS::Events::ApiDestination" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-archive.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-archive.json deleted file mode 100644 index c1d778374c..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-archive.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ArchiveName", - "/properties/SourceArn" - ], - "primaryIdentifier": [ - "/properties/ArchiveName" - ], - "properties": { - "ArchiveName": { - "maxLength": 48, - "minLength": 1, - "pattern": "[\\.\\-_A-Za-z0-9]+", - "type": "string" - }, - "Arn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EventPattern": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RetentionDays": { - "type": "integer" - }, - "SourceArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "SourceArn" - ], - "typeName": "AWS::Events::Archive" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-connection.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-connection.json deleted file mode 100644 index 2e965c720c..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-events-connection.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ApiKeyAuthParameters": { - "additionalProperties": false, - "properties": { - "ApiKeyName": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "ApiKeyValue": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "ApiKeyName", - "ApiKeyValue" - ], - "type": "object" - }, - "AuthParameters": { - "additionalProperties": false, - "maxProperties": 2, - "minProperties": 1, - "oneOf": [ - { - "required": [ - "BasicAuthParameters" - ] - }, - { - "required": [ - "OAuthParameters" - ] - }, - { - "required": [ - "ApiKeyAuthParameters" - ] - } - ], - "properties": { - "ApiKeyAuthParameters": { - "$ref": "#/definitions/ApiKeyAuthParameters" - }, - "BasicAuthParameters": { - "$ref": "#/definitions/BasicAuthParameters" - }, - "InvocationHttpParameters": { - "$ref": "#/definitions/ConnectionHttpParameters" - }, - "OAuthParameters": { - "$ref": "#/definitions/OAuthParameters" - } - }, - "type": "object" - }, - "BasicAuthParameters": { - "additionalProperties": false, - "properties": { - "Password": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "Username": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "Username", - "Password" - ], - "type": "object" - }, - "ClientParameters": { - "additionalProperties": false, - "properties": { - "ClientID": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - }, - "ClientSecret": { - "pattern": "^[ \\t]*[^\\x00-\\x1F:\\x7F]+([ \\t]+[^\\x00-\\x1F:\\x7F]+)*[ \\t]*$", - "type": "string" - } - }, - "required": [ - "ClientID", - "ClientSecret" - ], - "type": "object" - }, - "ConnectionHttpParameters": { - "additionalProperties": false, - "properties": { - "BodyParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - }, - "HeaderParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - }, - "QueryStringParameters": { - "items": { - "$ref": "#/definitions/Parameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "OAuthParameters": { - "additionalProperties": false, - "properties": { - "AuthorizationEndpoint": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$", - "type": "string" - }, - "ClientParameters": { - "$ref": "#/definitions/ClientParameters" - }, - "HttpMethod": { - "enum": [ - "GET", - "POST", - "PUT" - ], - "type": "string" - }, - "OAuthHttpParameters": { - "$ref": "#/definitions/ConnectionHttpParameters" - } - }, - "required": [ - "ClientParameters", - "AuthorizationEndpoint", - "HttpMethod" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "IsValueSecret": { - "default": true, - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AuthParameters": { - "$ref": "#/definitions/AuthParameters" - }, - "AuthorizationType": { - "enum": [ - "API_KEY", - "BASIC", - "OAUTH_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "Description": { - "maxLength": 512, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_A-Za-z0-9]+", - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/SecretArn" - ], - "required": [ - "AuthorizationType", - "AuthParameters" - ], - "typeName": "AWS::Events::Connection", - "writeOnlyProperties": [ - "/properties/AuthParameters" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py b/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py index 791d61c211..4d69ceeedf 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py @@ -2151,6 +2151,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py b/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py index b9fc0ebd2b..e385ba767f 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py @@ -79,6 +79,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -117,6 +118,7 @@ "AWS::Batch::SchedulingPolicy", "AWS::Bedrock::Agent", "AWS::Bedrock::AgentAlias", + "AWS::Bedrock::ApplicationInferenceProfile", "AWS::Bedrock::DataSource", "AWS::Bedrock::Flow", "AWS::Bedrock::FlowAlias", @@ -1050,6 +1052,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -1085,6 +1088,8 @@ "aws-batch-jobqueue.json", "aws-batch-schedulingpolicy.json", "aws-bedrock-agentalias.json", + "aws-bedrock-applicationinferenceprofile.json", + "aws-bedrock-datasource.json", "aws-bedrock-flow.json", "aws-bedrock-flowalias.json", "aws-bedrock-flowversion.json", @@ -1528,8 +1533,6 @@ "aws-lightsail-loadbalancertlscertificate.json", "aws-lightsail-staticip.json", "aws-logs-accountpolicy.json", - "aws-logs-delivery.json", - "aws-logs-deliverydestination.json", "aws-logs-deliverysource.json", "aws-logs-destination.json", "aws-logs-loganomalydetector.json", @@ -1653,6 +1656,7 @@ "aws-quicksight-vpcconnection.json", "aws-ram-permission.json", "aws-ram-resourceshare.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -1663,6 +1667,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1885,7 +1890,11 @@ "aws-wafregional-sqlinjectionmatchset.json", "aws-wafregional-webaclassociation.json", "aws-wafregional-xssmatchset.json", + "aws-wafv2-ipset.json", "aws-wafv2-loggingconfiguration.json", + "aws-wafv2-regexpatternset.json", + "aws-wafv2-rulegroup.json", + "aws-wafv2-webacl.json", "aws-wafv2-webaclassociation.json", "aws-workspaces-workspace.json", "aws-xray-group.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-datasource.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-datasource.json deleted file mode 100644 index f99327b428..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-datasource.json +++ /dev/null @@ -1,826 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KnowledgeBaseId", - "/properties/VectorIngestionConfiguration/ChunkingConfiguration", - "/properties/VectorIngestionConfiguration/ParsingConfiguration", - "/properties/DataSourceConfiguration/Type" - ], - "definitions": { - "BedrockFoundationModelConfiguration": { - "additionalProperties": false, - "properties": { - "ModelArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$", - "type": "string" - }, - "ParsingPrompt": { - "$ref": "#/definitions/ParsingPrompt" - } - }, - "required": [ - "ModelArn" - ], - "type": "object" - }, - "ChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingStrategy": { - "$ref": "#/definitions/ChunkingStrategy" - }, - "FixedSizeChunkingConfiguration": { - "$ref": "#/definitions/FixedSizeChunkingConfiguration" - }, - "HierarchicalChunkingConfiguration": { - "$ref": "#/definitions/HierarchicalChunkingConfiguration" - }, - "SemanticChunkingConfiguration": { - "$ref": "#/definitions/SemanticChunkingConfiguration" - } - }, - "required": [ - "ChunkingStrategy" - ], - "type": "object" - }, - "ChunkingStrategy": { - "enum": [ - "FIXED_SIZE", - "NONE", - "HIERARCHICAL", - "SEMANTIC" - ], - "type": "string" - }, - "ConfluenceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "ConfluenceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/ConfluenceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/ConfluenceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "ConfluenceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "BASIC", - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostType": { - "enum": [ - "SAAS" - ], - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "CrawlFilterConfiguration": { - "additionalProperties": false, - "properties": { - "PatternObjectFilter": { - "$ref": "#/definitions/PatternObjectFilterConfiguration" - }, - "Type": { - "enum": [ - "PATTERN" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "CustomTransformationConfiguration": { - "additionalProperties": false, - "properties": { - "IntermediateStorage": { - "$ref": "#/definitions/IntermediateStorage" - }, - "Transformations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Transformation" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "IntermediateStorage", - "Transformations" - ], - "type": "object" - }, - "DataDeletionPolicy": { - "enum": [ - "RETAIN", - "DELETE" - ], - "type": "string" - }, - "DataSourceConfiguration": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "S3Configuration" - ] - }, - { - "required": [ - "ConfluenceConfiguration" - ] - }, - { - "required": [ - "SalesforceConfiguration" - ] - }, - { - "required": [ - "SharePointConfiguration" - ] - }, - { - "required": [ - "WebConfiguration" - ] - } - ], - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/ConfluenceDataSourceConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/SalesforceDataSourceConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/SharePointDataSourceConfiguration" - }, - "Type": { - "$ref": "#/definitions/DataSourceType" - }, - "WebConfiguration": { - "$ref": "#/definitions/WebDataSourceConfiguration" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "DataSourceStatus": { - "enum": [ - "AVAILABLE", - "DELETING", - "DELETE_UNSUCCESSFUL" - ], - "type": "string" - }, - "DataSourceType": { - "enum": [ - "S3", - "CONFLUENCE", - "SALESFORCE", - "SHAREPOINT", - "WEB" - ], - "type": "string" - }, - "FilterList": { - "insertionOrder": false, - "items": { - "maxLength": 1000, - "type": "string" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "FixedSizeChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "minimum": 1, - "type": "integer" - }, - "OverlapPercentage": { - "maximum": 99, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens", - "OverlapPercentage" - ], - "type": "object" - }, - "HierarchicalChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "LevelConfigurations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/HierarchicalChunkingLevelConfiguration" - }, - "maxItems": 2, - "minItems": 2, - "type": "array" - }, - "OverlapTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "LevelConfigurations", - "OverlapTokens" - ], - "type": "object" - }, - "HierarchicalChunkingLevelConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 8192, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens" - ], - "type": "object" - }, - "IntermediateStorage": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/S3Location" - } - }, - "required": [ - "S3Location" - ], - "type": "object" - }, - "ParsingConfiguration": { - "additionalProperties": false, - "properties": { - "BedrockFoundationModelConfiguration": { - "$ref": "#/definitions/BedrockFoundationModelConfiguration" - }, - "ParsingStrategy": { - "$ref": "#/definitions/ParsingStrategy" - } - }, - "required": [ - "ParsingStrategy" - ], - "type": "object" - }, - "ParsingPrompt": { - "additionalProperties": false, - "properties": { - "ParsingPromptText": { - "maxLength": 10000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ParsingPromptText" - ], - "type": "object" - }, - "ParsingStrategy": { - "enum": [ - "BEDROCK_FOUNDATION_MODEL" - ], - "type": "string" - }, - "PatternObjectFilter": { - "additionalProperties": false, - "properties": { - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "ObjectType": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ObjectType" - ], - "type": "object" - }, - "PatternObjectFilterConfiguration": { - "additionalProperties": false, - "properties": { - "Filters": { - "$ref": "#/definitions/PatternObjectFilterList" - } - }, - "required": [ - "Filters" - ], - "type": "object" - }, - "PatternObjectFilterList": { - "items": { - "$ref": "#/definitions/PatternObjectFilter" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$", - "type": "string" - }, - "BucketOwnerAccountId": { - "maxLength": 12, - "minLength": 12, - "pattern": "^[0-9]{12}$", - "type": "string" - }, - "InclusionPrefixes": { - "insertionOrder": false, - "items": { - "maxLength": 300, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "BucketArn" - ], - "type": "object" - }, - "S3Location": { - "additionalProperties": false, - "properties": { - "URI": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^s3://.{1,128}$", - "type": "string" - } - }, - "required": [ - "URI" - ], - "type": "object" - }, - "SalesforceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SalesforceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SalesforceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SalesforceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SalesforceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "SeedUrl": { - "additionalProperties": false, - "properties": { - "Url": { - "pattern": "^https?://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "SeedUrls": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SeedUrl" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "SemanticChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "BreakpointPercentileThreshold": { - "maximum": 99, - "minimum": 50, - "type": "integer" - }, - "BufferSize": { - "maximum": 1, - "minimum": 0, - "type": "integer" - }, - "MaxTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "BreakpointPercentileThreshold", - "BufferSize", - "MaxTokens" - ], - "type": "object" - }, - "ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$", - "type": "string" - } - }, - "type": "object" - }, - "SharePointCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SharePointDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SharePointCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SharePointSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SharePointSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "Domain": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "HostType": { - "enum": [ - "ONLINE" - ], - "type": "string" - }, - "SiteUrls": { - "insertionOrder": false, - "items": { - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "TenantId": { - "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", - "type": "string" - } - }, - "required": [ - "Domain", - "SiteUrls", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "Transformation": { - "additionalProperties": false, - "properties": { - "StepToApply": { - "enum": [ - "POST_CHUNKING" - ], - "type": "string" - }, - "TransformationFunction": { - "$ref": "#/definitions/TransformationFunction" - } - }, - "required": [ - "StepToApply", - "TransformationFunction" - ], - "type": "object" - }, - "TransformationFunction": { - "additionalProperties": false, - "properties": { - "TransformationLambdaConfiguration": { - "$ref": "#/definitions/TransformationLambdaConfiguration" - } - }, - "required": [ - "TransformationLambdaConfiguration" - ], - "type": "object" - }, - "TransformationLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "maxLength": 2048, - "minLength": 0, - "pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$", - "type": "string" - } - }, - "required": [ - "LambdaArn" - ], - "type": "object" - }, - "UrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "$ref": "#/definitions/SeedUrls" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "VectorIngestionConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingConfiguration": { - "$ref": "#/definitions/ChunkingConfiguration" - }, - "CustomTransformationConfiguration": { - "$ref": "#/definitions/CustomTransformationConfiguration" - }, - "ParsingConfiguration": { - "$ref": "#/definitions/ParsingConfiguration" - } - }, - "type": "object" - }, - "WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerLimits": { - "$ref": "#/definitions/WebCrawlerLimits" - }, - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "Scope": { - "$ref": "#/definitions/WebScopeType" - } - }, - "type": "object" - }, - "WebCrawlerLimits": { - "additionalProperties": false, - "properties": { - "RateLimit": { - "maximum": 300, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WebDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/WebCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/WebSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "WebScopeType": { - "enum": [ - "HOST_ONLY", - "SUBDOMAINS" - ], - "type": "string" - }, - "WebSourceConfiguration": { - "additionalProperties": false, - "properties": { - "UrlConfiguration": { - "$ref": "#/definitions/UrlConfiguration" - } - }, - "required": [ - "UrlConfiguration" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/KnowledgeBaseId", - "/properties/DataSourceId" - ], - "properties": { - "CreatedAt": { - "type": "string" - }, - "DataDeletionPolicy": { - "$ref": "#/definitions/DataDeletionPolicy" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/DataSourceConfiguration" - }, - "DataSourceId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "DataSourceStatus": { - "$ref": "#/definitions/DataSourceStatus" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "FailureReasons": { - "insertionOrder": false, - "items": { - "maxLength": 2048, - "type": "string" - }, - "maxItems": 2048, - "type": "array" - }, - "KnowledgeBaseId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/ServerSideEncryptionConfiguration" - }, - "UpdatedAt": { - "type": "string" - }, - "VectorIngestionConfiguration": { - "$ref": "#/definitions/VectorIngestionConfiguration" - } - }, - "readOnlyProperties": [ - "/properties/DataSourceId", - "/properties/DataSourceStatus", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/FailureReasons" - ], - "required": [ - "DataSourceConfiguration", - "Name", - "KnowledgeBaseId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-aps", - "tagging": { - "cloudFormationSystemTags": false, - "taggable": false - }, - "typeName": "AWS::Bedrock::DataSource" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json new file mode 100644 index 0000000000..e413e0d8e3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json @@ -0,0 +1,114 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DeliverySourceName", + "/properties/DeliveryDestinationArn" + ], + "definitions": { + "Arn": { + "maxLength": 2048, + "minLength": 16, + "pattern": "[\\w#+=/:,.@-]*\\*?", + "type": "string" + }, + "FieldHeader": { + "maxLength": 50, + "minLength": 1, + "type": "string" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/DeliveryId" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationArn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationType": { + "maxLength": 12, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DeliveryId": { + "maxLength": 64, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DeliverySourceName": { + "maxLength": 60, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "FieldDelimiter": { + "maxLength": 5, + "minLength": 1, + "type": "string" + }, + "RecordFields": { + "items": { + "$ref": "#/definitions/FieldHeader" + }, + "type": "array" + }, + "S3EnableHiveCompatiblePath": { + "type": "boolean" + }, + "S3SuffixPath": { + "maxLength": 256, + "minLength": 0, + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/DeliveryId", + "/properties/Arn", + "/properties/DeliveryDestinationType" + ], + "required": [ + "DeliverySourceName", + "DeliveryDestinationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Logs::Delivery" +} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json new file mode 100644 index 0000000000..ee71df5501 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json @@ -0,0 +1,115 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name", + "/properties/OutputFormat", + "/properties/DestinationResourceArn" + ], + "definitions": { + "Arn": { + "maxLength": 2048, + "minLength": 16, + "pattern": "[\\w#+=/:,.@-]*\\*?", + "type": "string" + }, + "DestinationPolicy": { + "additionalProperties": false, + "properties": { + "DeliveryDestinationName": { + "maxLength": 60, + "minLength": 1, + "type": "string" + }, + "DeliveryDestinationPolicy": { + "maxLength": 51200, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "DeliveryDestinationName", + "DeliveryDestinationPolicy" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationPolicy": { + "items": { + "$ref": "#/definitions/DestinationPolicy" + }, + "type": "object" + }, + "DeliveryDestinationType": { + "maxLength": 12, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DestinationResourceArn": { + "$ref": "#/definitions/Arn" + }, + "Name": { + "maxLength": 60, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "OutputFormat": { + "maxLength": 12, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Arn", + "/properties/DeliveryDestinationType" + ], + "required": [ + "Name" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Logs::DeliveryDestination" +} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-ipset.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-ipset.json deleted file mode 100644 index 65b6b7ad16..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-ipset.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "IPAddress": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "IPAddressVersion": { - "enum": [ - "IPV4", - "IPV6" - ], - "type": "string" - }, - "ResourceArn": { - "type": "string" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Addresses": { - "items": { - "$ref": "#/definitions/IPAddress" - }, - "type": "array" - }, - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "IPAddressVersion": { - "$ref": "#/definitions/IPAddressVersion" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::IPSet" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-regexpatternset.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-regexpatternset.json deleted file mode 100644 index 246565624d..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-regexpatternset.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "type": "string" - }, - "Description": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "Name": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "RegularExpressionList": { - "items": { - "maxLength": 200, - "minLength": 0, - "type": "string" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Scope", - "RegularExpressionList" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RegexPatternSet" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-rulegroup.json deleted file mode 100644 index 57513d62ae..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-rulegroup.json +++ /dev/null @@ -1,1379 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "IP", - "FORWARDED_IP", - "CONSTANT", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AvailableLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "ConsumedLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id", - "/properties/LabelNamespace", - "/properties/AvailableLabels/*/Name", - "/properties/ConsumedLabels/*/Name" - ], - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-webacl.json deleted file mode 100644 index 3ddc78b0aa..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-wafv2-webacl.json +++ /dev/null @@ -1,1911 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AWSManagedRulesACFPRuleSet": { - "additionalProperties": false, - "properties": { - "CreationPath": { - "type": "string" - }, - "EnableRegexInPath": { - "type": "boolean" - }, - "RegistrationPagePath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspectionACFP" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "CreationPath", - "RegistrationPagePath", - "RequestInspection" - ], - "type": "object" - }, - "AWSManagedRulesATPRuleSet": { - "additionalProperties": false, - "properties": { - "EnableRegexInPath": { - "type": "boolean" - }, - "LoginPath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspection" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "LoginPath" - ], - "type": "object" - }, - "AWSManagedRulesBotControlRuleSet": { - "additionalProperties": false, - "properties": { - "EnableMachineLearning": { - "type": "boolean" - }, - "InspectionLevel": { - "enum": [ - "COMMON", - "TARGETED" - ], - "type": "string" - } - }, - "required": [ - "InspectionLevel" - ], - "type": "object" - }, - "AddressField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AssociationConfig": { - "additionalProperties": false, - "properties": { - "RequestBody": { - "$ref": "#/definitions/RequestBody" - } - }, - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - } - }, - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "FieldIdentifier": { - "additionalProperties": false, - "properties": { - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - } - }, - "required": [ - "Identifier" - ], - "type": "object" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "ManagedRuleGroupConfig": { - "additionalProperties": false, - "properties": { - "AWSManagedRulesACFPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesACFPRuleSet" - }, - "AWSManagedRulesATPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesATPRuleSet" - }, - "AWSManagedRulesBotControlRuleSet": { - "$ref": "#/definitions/AWSManagedRulesBotControlRuleSet" - }, - "LoginPath": { - "maxLength": 256, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "type": "object" - }, - "ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "ManagedRuleGroupConfigs": { - "items": { - "$ref": "#/definitions/ManagedRuleGroupConfig" - }, - "type": "array" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - } - }, - "required": [ - "VendorName", - "Name" - ], - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "None": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PhoneNumberField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "CONSTANT", - "IP", - "FORWARDED_IP", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RequestBody": { - "additionalProperties": false, - "patternProperties": { - "^(CLOUDFRONT|API_GATEWAY|COGNITO_USER_POOL|APP_RUNNER_SERVICE|VERIFIED_ACCESS_INSTANCE)$": { - "$ref": "#/definitions/RequestBodyAssociatedResourceTypeConfig" - } - }, - "type": "object" - }, - "RequestBodyAssociatedResourceTypeConfig": { - "additionalProperties": false, - "properties": { - "DefaultSizeInspectionLimit": { - "$ref": "#/definitions/SizeInspectionLimit" - } - }, - "required": [ - "DefaultSizeInspectionLimit" - ], - "type": "object" - }, - "RequestInspection": { - "additionalProperties": false, - "properties": { - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType", - "UsernameField", - "PasswordField" - ], - "type": "object" - }, - "RequestInspectionACFP": { - "additionalProperties": false, - "properties": { - "AddressFields": { - "items": { - "$ref": "#/definitions/AddressField" - }, - "type": "array" - }, - "EmailField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "PhoneNumberFields": { - "items": { - "$ref": "#/definitions/PhoneNumberField" - }, - "type": "array" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseInspection": { - "additionalProperties": false, - "properties": { - "BodyContains": { - "$ref": "#/definitions/ResponseInspectionBodyContains" - }, - "Header": { - "$ref": "#/definitions/ResponseInspectionHeader" - }, - "Json": { - "$ref": "#/definitions/ResponseInspectionJson" - }, - "StatusCode": { - "$ref": "#/definitions/ResponseInspectionStatusCode" - } - }, - "type": "object" - }, - "ResponseInspectionBodyContains": { - "additionalProperties": false, - "properties": { - "FailureStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SuccessStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessStrings", - "FailureStrings" - ], - "type": "object" - }, - "ResponseInspectionHeader": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - }, - "Name": { - "maxLength": 200, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Name", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionJson": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Identifier", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionStatusCode": { - "additionalProperties": false, - "properties": { - "FailureCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - }, - "SuccessCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessCodes", - "FailureCodes" - ], - "type": "object" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "OverrideAction": { - "$ref": "#/definitions/OverrideAction" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleActionOverride": { - "additionalProperties": false, - "properties": { - "ActionToUse": { - "$ref": "#/definitions/RuleAction" - }, - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name", - "ActionToUse" - ], - "type": "object" - }, - "RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SizeInspectionLimit": { - "enum": [ - "KB_16", - "KB_32", - "KB_48", - "KB_64" - ], - "type": "string" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "TokenDomains": { - "items": { - "maxLength": 253, - "minLength": 1, - "pattern": "^[\\w\\.\\-/]+$", - "type": "string" - }, - "type": "array" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AssociationConfig": { - "$ref": "#/definitions/AssociationConfig" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "DefaultAction": { - "$ref": "#/definitions/DefaultAction" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "TokenDomains": { - "$ref": "#/definitions/TokenDomains" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Capacity", - "/properties/Id", - "/properties/LabelNamespace" - ], - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::WebACL" -} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/__init__.py b/src/cfnlint/data/schemas/providers/il_central_1/__init__.py index 9a5e823b0a..0cd2b5f5f3 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/il_central_1/__init__.py @@ -57,8 +57,10 @@ "AWS::AppMesh::VirtualNode", "AWS::AppMesh::VirtualRouter", "AWS::AppMesh::VirtualService", + "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -738,8 +740,10 @@ "aws-appmesh-virtualnode.json", "aws-appmesh-virtualrouter.json", "aws-appmesh-virtualservice.json", + "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", "aws-appsync-functionconfiguration.json", @@ -843,7 +847,6 @@ "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", - "aws-datasync-task.json", "aws-detective-graph.json", "aws-detective-memberinvitation.json", "aws-detective-organizationadmin.json", @@ -1073,6 +1076,7 @@ "aws-msk-clusterpolicy.json", "aws-msk-configuration.json", "aws-msk-vpcconnection.json", + "aws-mwaa-environment.json", "aws-neptune-dbcluster.json", "aws-neptune-dbsubnetgroup.json", "aws-neptune-eventsubscription.json", @@ -1103,6 +1107,7 @@ "aws-pcaconnectorscep-connector.json", "aws-ram-permission.json", "aws-ram-resourceshare.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -1181,6 +1186,8 @@ "aws-sagemaker-userprofile.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-secret.json", + "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", "aws-securityhub-delegatedadmin.json", "aws-securityhub-hub.json", diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-datasync-task.json new file mode 100644 index 0000000000..1f164cf132 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-datasync-task.json @@ -0,0 +1,482 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DestinationLocationArn", + "/properties/SourceLocationArn" + ], + "definitions": { + "DestinationNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "FilterRule": { + "additionalProperties": false, + "properties": { + "FilterType": { + "enum": [ + "SIMPLE_PATTERN" + ], + "maxLength": 128, + "pattern": "^[A-Z0-9_]+$", + "type": "string" + }, + "Value": { + "maxLength": 409600, + "pattern": "^[^\\x00]+$", + "type": "string" + } + }, + "type": "object" + }, + "ManifestConfig": { + "additionalProperties": false, + "properties": { + "Action": { + "enum": [ + "TRANSFER" + ], + "type": "string" + }, + "Format": { + "enum": [ + "CSV" + ], + "type": "string" + }, + "Source": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/ManifestConfigSourceS3" + } + }, + "type": "object" + } + }, + "required": [ + "Source" + ], + "type": "object" + }, + "ManifestConfigSourceS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "ManifestObjectPath": { + "maxLength": 1024, + "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$", + "type": "string" + }, + "ManifestObjectVersionId": { + "maxLength": 100, + "pattern": "^.+$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + } + }, + "type": "object" + }, + "Options": { + "additionalProperties": false, + "properties": { + "Atime": { + "enum": [ + "NONE", + "BEST_EFFORT" + ], + "type": "string" + }, + "BytesPerSecond": { + "format": "int64", + "minimum": -1, + "type": "integer" + }, + "Gid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "LogLevel": { + "enum": [ + "OFF", + "BASIC", + "TRANSFER" + ], + "type": "string" + }, + "Mtime": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "ObjectTags": { + "enum": [ + "PRESERVE", + "NONE" + ], + "type": "string" + }, + "OverwriteMode": { + "enum": [ + "ALWAYS", + "NEVER" + ], + "type": "string" + }, + "PosixPermissions": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "PreserveDeletedFiles": { + "enum": [ + "PRESERVE", + "REMOVE" + ], + "type": "string" + }, + "PreserveDevices": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "SecurityDescriptorCopyFlags": { + "enum": [ + "NONE", + "OWNER_DACL", + "OWNER_DACL_SACL" + ], + "type": "string" + }, + "TaskQueueing": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "TransferMode": { + "enum": [ + "CHANGED", + "ALL" + ], + "type": "string" + }, + "Uid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "VerifyMode": { + "enum": [ + "POINT_IN_TIME_CONSISTENT", + "ONLY_FILES_TRANSFERRED", + "NONE" + ], + "type": "string" + } + }, + "type": "object" + }, + "SourceNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TaskReportConfig": { + "additionalProperties": false, + "properties": { + "Destination": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/TaskReportConfigDestinationS3" + } + }, + "type": "object" + }, + "ObjectVersionIds": { + "enum": [ + "INCLUDE", + "NONE" + ], + "type": "string" + }, + "OutputType": { + "enum": [ + "SUMMARY_ONLY", + "STANDARD" + ], + "type": "string" + }, + "Overrides": { + "additionalProperties": false, + "properties": { + "Deleted": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Skipped": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Transferred": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Verified": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "required": [ + "Destination", + "OutputType" + ], + "type": "object" + }, + "TaskReportConfigDestinationS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + }, + "Subdirectory": { + "maxLength": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$", + "type": "string" + } + }, + "type": "object" + }, + "TaskSchedule": { + "additionalProperties": false, + "properties": { + "ScheduleExpression": { + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\ \\_\\*\\?\\,\\|\\^\\-\\/\\#\\s\\(\\)\\+]*$", + "type": "string" + }, + "Status": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/TaskArn" + ], + "properties": { + "CloudWatchLogGroupArn": { + "maxLength": 562, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([^:\\*]*)(:\\*)?$", + "type": "string" + }, + "DestinationLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "DestinationNetworkInterfaceArns": { + "$ref": "#/definitions/DestinationNetworkInterfaceArns" + }, + "Excludes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Includes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "ManifestConfig": { + "$ref": "#/definitions/ManifestConfig" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + }, + "Options": { + "$ref": "#/definitions/Options" + }, + "Schedule": { + "$ref": "#/definitions/TaskSchedule" + }, + "SourceLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "SourceNetworkInterfaceArns": { + "$ref": "#/definitions/SourceNetworkInterfaceArns" + }, + "Status": { + "enum": [ + "AVAILABLE", + "CREATING", + "QUEUED", + "RUNNING", + "UNAVAILABLE" + ], + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "TaskArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", + "type": "string" + }, + "TaskReportConfig": { + "$ref": "#/definitions/TaskReportConfig" + } + }, + "readOnlyProperties": [ + "/properties/TaskArn", + "/properties/Status", + "/properties/SourceNetworkInterfaceArns", + "/properties/DestinationNetworkInterfaceArns" + ], + "required": [ + "DestinationLocationArn", + "SourceLocationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::DataSync::Task" +} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-mwaa-environment.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-mwaa-environment.json deleted file mode 100644 index c85441d943..0000000000 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-mwaa-environment.json +++ /dev/null @@ -1,451 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/KmsKey", - "/properties/NetworkConfiguration/SubnetIds", - "/properties/EndpointManagement" - ], - "definitions": { - "AirflowArn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+", - "type": "string" - }, - "AirflowVersion": { - "maxLength": 32, - "pattern": "^[0-9a-z.]+$", - "type": "string" - }, - "CeleryExecutorQueue": { - "maxLength": 1224, - "type": "string" - }, - "CloudWatchLogGroupArn": { - "maxLength": 1224, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:logs:[a-z0-9\\-]+:\\d{12}:log-group:\\w+", - "type": "string" - }, - "ConfigKey": { - "maxLength": 64, - "pattern": "^[a-z]+([a-z._]*[a-z]+)?$", - "type": "string" - }, - "ConfigValue": { - "maxLength": 256, - "pattern": ".*", - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "DatabaseVpcEndpointService": { - "maxLength": 1224, - "type": "string" - }, - "EndpointManagement": { - "enum": [ - "CUSTOMER", - "SERVICE" - ], - "type": "string" - }, - "EnvironmentArn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+", - "type": "string" - }, - "EnvironmentClass": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "EnvironmentName": { - "maxLength": 80, - "minLength": 1, - "pattern": "^[a-zA-Z][0-9a-zA-Z\\-_]*$", - "type": "string" - }, - "EnvironmentStatus": { - "enum": [ - "CREATING", - "CREATE_FAILED", - "AVAILABLE", - "UPDATING", - "DELETING", - "DELETED", - "UPDATE_FAILED", - "UNAVAILABLE", - "PENDING" - ], - "type": "string" - }, - "ErrorCode": { - "type": "string" - }, - "ErrorMessage": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "ExecutionRoleArn": { - "maxLength": 1224, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "KmsKey": { - "maxLength": 1224, - "pattern": "^(((arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:kms:[a-z]{2}-[a-z]+-\\d:\\d+:)?key\\/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|(arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):kms:[a-z]{2}-[a-z]+-\\d:\\d+:)?alias/.+)$", - "type": "string" - }, - "LastUpdate": { - "additionalProperties": false, - "properties": { - "CreatedAt": { - "$ref": "#/definitions/UpdateCreatedAt" - }, - "Error": { - "$ref": "#/definitions/UpdateError" - }, - "Status": { - "$ref": "#/definitions/UpdateStatus" - } - }, - "type": "object" - }, - "LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/ModuleLoggingConfiguration" - }, - "SchedulerLogs": { - "$ref": "#/definitions/ModuleLoggingConfiguration" - }, - "TaskLogs": { - "$ref": "#/definitions/ModuleLoggingConfiguration" - }, - "WebserverLogs": { - "$ref": "#/definitions/ModuleLoggingConfiguration" - }, - "WorkerLogs": { - "$ref": "#/definitions/ModuleLoggingConfiguration" - } - }, - "type": "object" - }, - "LoggingConfigurationInput": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/ModuleLoggingConfigurationInput" - }, - "SchedulerLogs": { - "$ref": "#/definitions/ModuleLoggingConfigurationInput" - }, - "TaskLogs": { - "$ref": "#/definitions/ModuleLoggingConfigurationInput" - }, - "WebserverLogs": { - "$ref": "#/definitions/ModuleLoggingConfigurationInput" - }, - "WorkerLogs": { - "$ref": "#/definitions/ModuleLoggingConfigurationInput" - } - }, - "type": "object" - }, - "LoggingEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "enum": [ - "CRITICAL", - "ERROR", - "WARNING", - "INFO", - "DEBUG" - ], - "type": "string" - }, - "MaxWebservers": { - "minimum": 2, - "type": "integer" - }, - "MaxWorkers": { - "minimum": 1, - "type": "integer" - }, - "MinWebservers": { - "minimum": 2, - "type": "integer" - }, - "MinWorkers": { - "minimum": 1, - "type": "integer" - }, - "ModuleLoggingConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLogGroupArn": { - "$ref": "#/definitions/CloudWatchLogGroupArn" - }, - "Enabled": { - "$ref": "#/definitions/LoggingEnabled" - }, - "LogLevel": { - "$ref": "#/definitions/LoggingLevel" - } - }, - "type": "object" - }, - "ModuleLoggingConfigurationInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "$ref": "#/definitions/LoggingEnabled" - }, - "LogLevel": { - "$ref": "#/definitions/LoggingLevel" - } - }, - "type": "object" - }, - "NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SecurityGroupId" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SubnetIds": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubnetId" - }, - "maxItems": 2, - "minItems": 2, - "type": "array" - } - }, - "type": "object" - }, - "RelativePath": { - "maxLength": 1024, - "pattern": ".*", - "type": "string" - }, - "S3BucketArn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:s3:::[a-z0-9.\\-]+$", - "type": "string" - }, - "S3ObjectVersion": { - "maxLength": 1024, - "type": "string" - }, - "Schedulers": { - "minimum": 1, - "type": "integer" - }, - "SecurityGroupId": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 1024, - "minLength": 1, - "pattern": "^sg-[a-zA-Z0-9\\-._]+$", - "type": "string" - }, - "ServiceRoleArn": { - "maxLength": 1224, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b)(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "SubnetId": { - "maxLength": 1024, - "pattern": "^subnet-[a-zA-Z0-9\\-._]+$", - "type": "string" - }, - "UpdateCreatedAt": { - "type": "string" - }, - "UpdateError": { - "additionalProperties": false, - "properties": { - "ErrorCode": { - "$ref": "#/definitions/ErrorCode" - }, - "ErrorMessage": { - "$ref": "#/definitions/ErrorMessage" - } - }, - "type": "object" - }, - "UpdateStatus": { - "enum": [ - "SUCCESS", - "PENDING", - "FAILED" - ], - "type": "string" - }, - "WebserverAccessMode": { - "enum": [ - "PRIVATE_ONLY", - "PUBLIC_ONLY" - ], - "type": "string" - }, - "WebserverUrl": { - "maxLength": 256, - "minLength": 1, - "pattern": "^https://.+$", - "type": "string" - }, - "WebserverVpcEndpointService": { - "maxLength": 1224, - "type": "string" - }, - "WeeklyMaintenanceWindowStart": { - "maxLength": 9, - "pattern": "(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30)", - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "AirflowConfigurationOptions": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "AirflowVersion": { - "$ref": "#/definitions/AirflowVersion" - }, - "Arn": { - "$ref": "#/definitions/EnvironmentArn" - }, - "CeleryExecutorQueue": { - "$ref": "#/definitions/CeleryExecutorQueue" - }, - "DagS3Path": { - "$ref": "#/definitions/RelativePath" - }, - "DatabaseVpcEndpointService": { - "$ref": "#/definitions/DatabaseVpcEndpointService" - }, - "EndpointManagement": { - "$ref": "#/definitions/EndpointManagement" - }, - "EnvironmentClass": { - "$ref": "#/definitions/EnvironmentClass" - }, - "ExecutionRoleArn": { - "$ref": "#/definitions/ExecutionRoleArn" - }, - "KmsKey": { - "$ref": "#/definitions/KmsKey" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/LoggingConfiguration" - }, - "MaxWebservers": { - "$ref": "#/definitions/MaxWebservers" - }, - "MaxWorkers": { - "$ref": "#/definitions/MaxWorkers" - }, - "MinWebservers": { - "$ref": "#/definitions/MinWebservers" - }, - "MinWorkers": { - "$ref": "#/definitions/MinWorkers" - }, - "Name": { - "$ref": "#/definitions/EnvironmentName" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/NetworkConfiguration" - }, - "PluginsS3ObjectVersion": { - "$ref": "#/definitions/S3ObjectVersion" - }, - "PluginsS3Path": { - "$ref": "#/definitions/RelativePath" - }, - "RequirementsS3ObjectVersion": { - "$ref": "#/definitions/S3ObjectVersion" - }, - "RequirementsS3Path": { - "$ref": "#/definitions/RelativePath" - }, - "Schedulers": { - "$ref": "#/definitions/Schedulers" - }, - "SourceBucketArn": { - "$ref": "#/definitions/S3BucketArn" - }, - "StartupScriptS3ObjectVersion": { - "$ref": "#/definitions/S3ObjectVersion" - }, - "StartupScriptS3Path": { - "$ref": "#/definitions/RelativePath" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "WebserverAccessMode": { - "$ref": "#/definitions/WebserverAccessMode" - }, - "WebserverUrl": { - "$ref": "#/definitions/WebserverUrl" - }, - "WebserverVpcEndpointService": { - "$ref": "#/definitions/WebserverVpcEndpointService" - }, - "WeeklyMaintenanceWindowStart": { - "$ref": "#/definitions/WeeklyMaintenanceWindowStart" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CeleryExecutorQueue", - "/properties/DatabaseVpcEndpointService", - "/properties/WebserverVpcEndpointService", - "/properties/WebserverUrl", - "/properties/LoggingConfiguration/DagProcessingLogs/CloudWatchLogGroupArn", - "/properties/LoggingConfiguration/SchedulerLogs/CloudWatchLogGroupArn", - "/properties/LoggingConfiguration/WebserverLogs/CloudWatchLogGroupArn", - "/properties/LoggingConfiguration/WorkerLogs/CloudWatchLogGroupArn", - "/properties/LoggingConfiguration/TaskLogs/CloudWatchLogGroupArn" - ], - "required": [ - "Name" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-mwaa.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::MWAA::Environment" -} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secret.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secret.json deleted file mode 100644 index abbe05db64..0000000000 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secret.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "$schema": "https://schema.cloudformation.us-east-1.amazonaws.com/provider.definition.schema.v1.json", - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "GenerateSecretString": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "ExcludeLowercase": { - "type": "boolean" - }, - "ExcludeNumbers": { - "type": "boolean" - }, - "ExcludePunctuation": { - "type": "boolean" - }, - "ExcludeUppercase": { - "type": "boolean" - }, - "GenerateStringKey": { - "type": "string" - }, - "IncludeSpace": { - "type": "boolean" - }, - "PasswordLength": { - "type": "integer" - }, - "RequireEachIncludedType": { - "type": "boolean" - }, - "SecretStringTemplate": { - "type": "string" - } - }, - "type": "object" - }, - "ReplicaRegion": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Description": { - "type": "string" - }, - "GenerateSecretString": { - "$ref": "#/definitions/GenerateSecretString" - }, - "Id": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicaRegions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaRegion" - }, - "type": "array", - "uniqueItems": false - }, - "SecretString": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-secretsmanager.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::SecretsManager::Secret", - "writeOnlyProperties": [ - "/properties/SecretString", - "/properties/GenerateSecretString" - ] -} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secrettargetattachment.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secrettargetattachment.json deleted file mode 100644 index e505a27602..0000000000 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-secretsmanager-secrettargetattachment.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/provider.definition.schema.v1.json", - "additionalProperties": false, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "SecretId": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "TargetType", - "TargetId", - "SecretId" - ], - "tagging": { - "taggable": false - }, - "typeName": "AWS::SecretsManager::SecretTargetAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/__init__.py b/src/cfnlint/data/schemas/providers/me_central_1/__init__.py index e1b28c1ec9..286ea970a4 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/me_central_1/__init__.py @@ -43,6 +43,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -737,6 +738,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", @@ -748,6 +750,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -1192,6 +1195,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1338,7 +1342,11 @@ "aws-vpclattice-targetgroup.json", "aws-waf-bytematchset.json", "aws-waf-sqlinjectionmatchset.json", + "aws-wafv2-ipset.json", "aws-wafv2-loggingconfiguration.json", + "aws-wafv2-regexpatternset.json", + "aws-wafv2-rulegroup.json", + "aws-wafv2-webacl.json", "aws-wafv2-webaclassociation.json", "aws-workspaces-workspace.json", "aws-xray-group.json", diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-ipset.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-ipset.json deleted file mode 100644 index 65b6b7ad16..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-ipset.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "IPAddress": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "IPAddressVersion": { - "enum": [ - "IPV4", - "IPV6" - ], - "type": "string" - }, - "ResourceArn": { - "type": "string" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Addresses": { - "items": { - "$ref": "#/definitions/IPAddress" - }, - "type": "array" - }, - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "IPAddressVersion": { - "$ref": "#/definitions/IPAddressVersion" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::IPSet" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-regexpatternset.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-regexpatternset.json deleted file mode 100644 index 246565624d..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-regexpatternset.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "type": "string" - }, - "Description": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "Name": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "RegularExpressionList": { - "items": { - "maxLength": 200, - "minLength": 0, - "type": "string" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Scope", - "RegularExpressionList" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RegexPatternSet" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-rulegroup.json deleted file mode 100644 index 57513d62ae..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-rulegroup.json +++ /dev/null @@ -1,1379 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "IP", - "FORWARDED_IP", - "CONSTANT", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AvailableLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "ConsumedLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id", - "/properties/LabelNamespace", - "/properties/AvailableLabels/*/Name", - "/properties/ConsumedLabels/*/Name" - ], - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-webacl.json deleted file mode 100644 index 3ddc78b0aa..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-wafv2-webacl.json +++ /dev/null @@ -1,1911 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AWSManagedRulesACFPRuleSet": { - "additionalProperties": false, - "properties": { - "CreationPath": { - "type": "string" - }, - "EnableRegexInPath": { - "type": "boolean" - }, - "RegistrationPagePath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspectionACFP" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "CreationPath", - "RegistrationPagePath", - "RequestInspection" - ], - "type": "object" - }, - "AWSManagedRulesATPRuleSet": { - "additionalProperties": false, - "properties": { - "EnableRegexInPath": { - "type": "boolean" - }, - "LoginPath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspection" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "LoginPath" - ], - "type": "object" - }, - "AWSManagedRulesBotControlRuleSet": { - "additionalProperties": false, - "properties": { - "EnableMachineLearning": { - "type": "boolean" - }, - "InspectionLevel": { - "enum": [ - "COMMON", - "TARGETED" - ], - "type": "string" - } - }, - "required": [ - "InspectionLevel" - ], - "type": "object" - }, - "AddressField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AssociationConfig": { - "additionalProperties": false, - "properties": { - "RequestBody": { - "$ref": "#/definitions/RequestBody" - } - }, - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - } - }, - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "FieldIdentifier": { - "additionalProperties": false, - "properties": { - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - } - }, - "required": [ - "Identifier" - ], - "type": "object" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "ManagedRuleGroupConfig": { - "additionalProperties": false, - "properties": { - "AWSManagedRulesACFPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesACFPRuleSet" - }, - "AWSManagedRulesATPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesATPRuleSet" - }, - "AWSManagedRulesBotControlRuleSet": { - "$ref": "#/definitions/AWSManagedRulesBotControlRuleSet" - }, - "LoginPath": { - "maxLength": 256, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "type": "object" - }, - "ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "ManagedRuleGroupConfigs": { - "items": { - "$ref": "#/definitions/ManagedRuleGroupConfig" - }, - "type": "array" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - } - }, - "required": [ - "VendorName", - "Name" - ], - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "None": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PhoneNumberField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "CONSTANT", - "IP", - "FORWARDED_IP", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RequestBody": { - "additionalProperties": false, - "patternProperties": { - "^(CLOUDFRONT|API_GATEWAY|COGNITO_USER_POOL|APP_RUNNER_SERVICE|VERIFIED_ACCESS_INSTANCE)$": { - "$ref": "#/definitions/RequestBodyAssociatedResourceTypeConfig" - } - }, - "type": "object" - }, - "RequestBodyAssociatedResourceTypeConfig": { - "additionalProperties": false, - "properties": { - "DefaultSizeInspectionLimit": { - "$ref": "#/definitions/SizeInspectionLimit" - } - }, - "required": [ - "DefaultSizeInspectionLimit" - ], - "type": "object" - }, - "RequestInspection": { - "additionalProperties": false, - "properties": { - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType", - "UsernameField", - "PasswordField" - ], - "type": "object" - }, - "RequestInspectionACFP": { - "additionalProperties": false, - "properties": { - "AddressFields": { - "items": { - "$ref": "#/definitions/AddressField" - }, - "type": "array" - }, - "EmailField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "PhoneNumberFields": { - "items": { - "$ref": "#/definitions/PhoneNumberField" - }, - "type": "array" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseInspection": { - "additionalProperties": false, - "properties": { - "BodyContains": { - "$ref": "#/definitions/ResponseInspectionBodyContains" - }, - "Header": { - "$ref": "#/definitions/ResponseInspectionHeader" - }, - "Json": { - "$ref": "#/definitions/ResponseInspectionJson" - }, - "StatusCode": { - "$ref": "#/definitions/ResponseInspectionStatusCode" - } - }, - "type": "object" - }, - "ResponseInspectionBodyContains": { - "additionalProperties": false, - "properties": { - "FailureStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SuccessStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessStrings", - "FailureStrings" - ], - "type": "object" - }, - "ResponseInspectionHeader": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - }, - "Name": { - "maxLength": 200, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Name", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionJson": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Identifier", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionStatusCode": { - "additionalProperties": false, - "properties": { - "FailureCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - }, - "SuccessCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessCodes", - "FailureCodes" - ], - "type": "object" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "OverrideAction": { - "$ref": "#/definitions/OverrideAction" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleActionOverride": { - "additionalProperties": false, - "properties": { - "ActionToUse": { - "$ref": "#/definitions/RuleAction" - }, - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name", - "ActionToUse" - ], - "type": "object" - }, - "RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SizeInspectionLimit": { - "enum": [ - "KB_16", - "KB_32", - "KB_48", - "KB_64" - ], - "type": "string" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "TokenDomains": { - "items": { - "maxLength": 253, - "minLength": 1, - "pattern": "^[\\w\\.\\-/]+$", - "type": "string" - }, - "type": "array" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AssociationConfig": { - "$ref": "#/definitions/AssociationConfig" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "DefaultAction": { - "$ref": "#/definitions/DefaultAction" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "TokenDomains": { - "$ref": "#/definitions/TokenDomains" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Capacity", - "/properties/Id", - "/properties/LabelNamespace" - ], - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::WebACL" -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/__init__.py b/src/cfnlint/data/schemas/providers/me_south_1/__init__.py index c04ffdac79..2d94d4b3e3 100644 --- a/src/cfnlint/data/schemas/providers/me_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/me_south_1/__init__.py @@ -65,8 +65,10 @@ "AWS::AppMesh::VirtualNode", "AWS::AppMesh::VirtualRouter", "AWS::AppMesh::VirtualService", + "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -861,6 +863,7 @@ "aws-appconfig-application.json", "aws-appconfig-configurationprofile.json", "aws-appconfig-deployment.json", + "aws-appconfig-deploymentstrategy.json", "aws-appconfig-environment.json", "aws-appconfig-extension.json", "aws-appconfig-extensionassociation.json", @@ -876,8 +879,10 @@ "aws-appmesh-virtualnode.json", "aws-appmesh-virtualrouter.json", "aws-appmesh-virtualservice.json", + "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-datasource.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", @@ -1374,6 +1379,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1417,6 +1423,9 @@ "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", + "aws-s3-accessgrant.json", + "aws-s3-accessgrantsinstance.json", + "aws-s3-accessgrantslocation.json", "aws-s3-accesspoint.json", "aws-s3-bucket.json", "aws-s3-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-appconfig-deploymentstrategy.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-appconfig-deploymentstrategy.json deleted file mode 100644 index 38fdf5c6da..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-appconfig-deploymentstrategy.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ReplicateTo" - ], - "definitions": { - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicateTo": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "ReplicateTo", - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name" - ], - "typeName": "AWS::AppConfig::DeploymentStrategy" -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrant.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrant.json deleted file mode 100644 index 603e327dce..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrant.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/S3PrefixType", - "/properties/Tags" - ], - "definitions": { - "AccessGrantArn": { - "type": "string" - }, - "AccessGrantsLocationConfiguration": { - "additionalProperties": false, - "properties": { - "S3SubPrefix": { - "type": "string" - } - }, - "required": [ - "S3SubPrefix" - ], - "type": "object" - }, - "Grantee": { - "additionalProperties": false, - "properties": { - "GranteeIdentifier": { - "type": "string" - }, - "GranteeType": { - "enum": [ - "IAM", - "DIRECTORY_USER", - "DIRECTORY_GROUP" - ], - "type": "string" - } - }, - "required": [ - "GranteeType", - "GranteeIdentifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantId" - ], - "properties": { - "AccessGrantArn": { - "$ref": "#/definitions/AccessGrantArn", - "examples": [ - "arn:aws:s3:us-east-2:111122223333:access-grants/default/grant/7c89cbd1-0f4e-40e3-861d-afb906952b77" - ] - }, - "AccessGrantId": { - "examples": [ - "7c89cbd1-0f4e-40e3-861d-afb906952b77" - ], - "type": "string" - }, - "AccessGrantsLocationConfiguration": { - "$ref": "#/definitions/AccessGrantsLocationConfiguration" - }, - "AccessGrantsLocationId": { - "examples": [ - "125f332b-a499-4eb6-806f-8a6a1aa4cb96" - ], - "type": "string" - }, - "ApplicationArn": { - "type": "string" - }, - "GrantScope": { - "type": "string" - }, - "Grantee": { - "$ref": "#/definitions/Grantee" - }, - "Permission": { - "enum": [ - "READ", - "WRITE", - "READWRITE" - ], - "type": "string" - }, - "S3PrefixType": { - "enum": [ - "Object" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantId", - "/properties/AccessGrantArn", - "/properties/GrantScope" - ], - "required": [ - "Grantee", - "Permission", - "AccessGrantsLocationId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrant", - "writeOnlyProperties": [ - "/properties/Tags", - "/properties/S3PrefixType" - ] -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantsinstance.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantsinstance.json deleted file mode 100644 index fc2b4f6181..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantsinstance.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Tags" - ], - "definitions": { - "AccessGrantsInstanceArn": { - "type": "string" - }, - "IdentityCenterArn": { - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantsInstanceArn" - ], - "properties": { - "AccessGrantsInstanceArn": { - "$ref": "#/definitions/AccessGrantsInstanceArn", - "examples": [ - "arn:aws:s3:us-east-2:479290226168:access-grants/default" - ] - }, - "AccessGrantsInstanceId": { - "type": "string" - }, - "IdentityCenterArn": { - "$ref": "#/definitions/IdentityCenterArn", - "examples": [ - "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" - ] - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantsInstanceArn", - "/properties/AccessGrantsInstanceId" - ], - "required": [], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrantsInstance", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantslocation.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantslocation.json deleted file mode 100644 index b45ece2245..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-s3-accessgrantslocation.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Tags" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantsLocationId" - ], - "properties": { - "AccessGrantsLocationArn": { - "examples": [ - "arn:aws:s3:us-east-2:479290226168:access-grants/default/location/125f332b-a499-4eb6-806f-8a6a1aa4cb96" - ], - "type": "string" - }, - "AccessGrantsLocationId": { - "type": "string" - }, - "IamRoleArn": { - "examples": [ - "arn:aws:iamw::123456789012:role/rolename" - ], - "type": "string" - }, - "LocationScope": { - "examples": [ - "s3://test-bucket-access-grants-cmh/prefixA" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantsLocationArn", - "/properties/AccessGrantsLocationId" - ], - "required": [], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrantsLocation", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py b/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py index b8bf71a130..a9e27be1b3 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py @@ -867,6 +867,7 @@ "AWS::SSO::PermissionSet", "AWS::SageMaker::App", "AWS::SageMaker::AppImageConfig", + "AWS::SageMaker::Cluster", "AWS::SageMaker::CodeRepository", "AWS::SageMaker::DataQualityJobDefinition", "AWS::SageMaker::Domain", @@ -1129,6 +1130,7 @@ "aws-bedrock-agent.json", "aws-bedrock-agentalias.json", "aws-bedrock-applicationinferenceprofile.json", + "aws-bedrock-datasource.json", "aws-bedrock-flow.json", "aws-bedrock-flowalias.json", "aws-bedrock-flowversion.json", @@ -1379,6 +1381,7 @@ "aws-ec2-vpcendpointservicepermissions.json", "aws-ec2-vpcgatewayattachment.json", "aws-ec2-vpcpeeringconnection.json", + "aws-ec2-vpnconnection.json", "aws-ec2-vpnconnectionroute.json", "aws-ec2-vpngateway.json", "aws-ec2-vpngatewayroutepropagation.json", @@ -1660,6 +1663,7 @@ "aws-mediatailor-sourcelocation.json", "aws-mediatailor-vodsource.json", "aws-memorydb-acl.json", + "aws-memorydb-cluster.json", "aws-memorydb-parametergroup.json", "aws-memorydb-subnetgroup.json", "aws-memorydb-user.json", @@ -1728,6 +1732,7 @@ "aws-ram-permission.json", "aws-ram-resourceshare.json", "aws-rds-customdbengineversion.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -1738,6 +1743,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1787,6 +1793,9 @@ "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", + "aws-s3-accessgrant.json", + "aws-s3-accessgrantsinstance.json", + "aws-s3-accessgrantslocation.json", "aws-s3-accesspoint.json", "aws-s3-bucket.json", "aws-s3-bucketpolicy.json", @@ -1802,6 +1811,7 @@ "aws-s3outposts-endpoint.json", "aws-sagemaker-app.json", "aws-sagemaker-appimageconfig.json", + "aws-sagemaker-cluster.json", "aws-sagemaker-coderepository.json", "aws-sagemaker-dataqualityjobdefinition.json", "aws-sagemaker-domain.json", diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-bedrock-datasource.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-bedrock-datasource.json deleted file mode 100644 index f99327b428..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-bedrock-datasource.json +++ /dev/null @@ -1,826 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KnowledgeBaseId", - "/properties/VectorIngestionConfiguration/ChunkingConfiguration", - "/properties/VectorIngestionConfiguration/ParsingConfiguration", - "/properties/DataSourceConfiguration/Type" - ], - "definitions": { - "BedrockFoundationModelConfiguration": { - "additionalProperties": false, - "properties": { - "ModelArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$", - "type": "string" - }, - "ParsingPrompt": { - "$ref": "#/definitions/ParsingPrompt" - } - }, - "required": [ - "ModelArn" - ], - "type": "object" - }, - "ChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingStrategy": { - "$ref": "#/definitions/ChunkingStrategy" - }, - "FixedSizeChunkingConfiguration": { - "$ref": "#/definitions/FixedSizeChunkingConfiguration" - }, - "HierarchicalChunkingConfiguration": { - "$ref": "#/definitions/HierarchicalChunkingConfiguration" - }, - "SemanticChunkingConfiguration": { - "$ref": "#/definitions/SemanticChunkingConfiguration" - } - }, - "required": [ - "ChunkingStrategy" - ], - "type": "object" - }, - "ChunkingStrategy": { - "enum": [ - "FIXED_SIZE", - "NONE", - "HIERARCHICAL", - "SEMANTIC" - ], - "type": "string" - }, - "ConfluenceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "ConfluenceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/ConfluenceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/ConfluenceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "ConfluenceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "BASIC", - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostType": { - "enum": [ - "SAAS" - ], - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "CrawlFilterConfiguration": { - "additionalProperties": false, - "properties": { - "PatternObjectFilter": { - "$ref": "#/definitions/PatternObjectFilterConfiguration" - }, - "Type": { - "enum": [ - "PATTERN" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "CustomTransformationConfiguration": { - "additionalProperties": false, - "properties": { - "IntermediateStorage": { - "$ref": "#/definitions/IntermediateStorage" - }, - "Transformations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Transformation" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "IntermediateStorage", - "Transformations" - ], - "type": "object" - }, - "DataDeletionPolicy": { - "enum": [ - "RETAIN", - "DELETE" - ], - "type": "string" - }, - "DataSourceConfiguration": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "S3Configuration" - ] - }, - { - "required": [ - "ConfluenceConfiguration" - ] - }, - { - "required": [ - "SalesforceConfiguration" - ] - }, - { - "required": [ - "SharePointConfiguration" - ] - }, - { - "required": [ - "WebConfiguration" - ] - } - ], - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/ConfluenceDataSourceConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/SalesforceDataSourceConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/SharePointDataSourceConfiguration" - }, - "Type": { - "$ref": "#/definitions/DataSourceType" - }, - "WebConfiguration": { - "$ref": "#/definitions/WebDataSourceConfiguration" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "DataSourceStatus": { - "enum": [ - "AVAILABLE", - "DELETING", - "DELETE_UNSUCCESSFUL" - ], - "type": "string" - }, - "DataSourceType": { - "enum": [ - "S3", - "CONFLUENCE", - "SALESFORCE", - "SHAREPOINT", - "WEB" - ], - "type": "string" - }, - "FilterList": { - "insertionOrder": false, - "items": { - "maxLength": 1000, - "type": "string" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "FixedSizeChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "minimum": 1, - "type": "integer" - }, - "OverlapPercentage": { - "maximum": 99, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens", - "OverlapPercentage" - ], - "type": "object" - }, - "HierarchicalChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "LevelConfigurations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/HierarchicalChunkingLevelConfiguration" - }, - "maxItems": 2, - "minItems": 2, - "type": "array" - }, - "OverlapTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "LevelConfigurations", - "OverlapTokens" - ], - "type": "object" - }, - "HierarchicalChunkingLevelConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 8192, - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "MaxTokens" - ], - "type": "object" - }, - "IntermediateStorage": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/S3Location" - } - }, - "required": [ - "S3Location" - ], - "type": "object" - }, - "ParsingConfiguration": { - "additionalProperties": false, - "properties": { - "BedrockFoundationModelConfiguration": { - "$ref": "#/definitions/BedrockFoundationModelConfiguration" - }, - "ParsingStrategy": { - "$ref": "#/definitions/ParsingStrategy" - } - }, - "required": [ - "ParsingStrategy" - ], - "type": "object" - }, - "ParsingPrompt": { - "additionalProperties": false, - "properties": { - "ParsingPromptText": { - "maxLength": 10000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ParsingPromptText" - ], - "type": "object" - }, - "ParsingStrategy": { - "enum": [ - "BEDROCK_FOUNDATION_MODEL" - ], - "type": "string" - }, - "PatternObjectFilter": { - "additionalProperties": false, - "properties": { - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "ObjectType": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ObjectType" - ], - "type": "object" - }, - "PatternObjectFilterConfiguration": { - "additionalProperties": false, - "properties": { - "Filters": { - "$ref": "#/definitions/PatternObjectFilterList" - } - }, - "required": [ - "Filters" - ], - "type": "object" - }, - "PatternObjectFilterList": { - "items": { - "$ref": "#/definitions/PatternObjectFilter" - }, - "maxItems": 25, - "minItems": 1, - "type": "array" - }, - "S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$", - "type": "string" - }, - "BucketOwnerAccountId": { - "maxLength": 12, - "minLength": 12, - "pattern": "^[0-9]{12}$", - "type": "string" - }, - "InclusionPrefixes": { - "insertionOrder": false, - "items": { - "maxLength": 300, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "BucketArn" - ], - "type": "object" - }, - "S3Location": { - "additionalProperties": false, - "properties": { - "URI": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^s3://.{1,128}$", - "type": "string" - } - }, - "required": [ - "URI" - ], - "type": "object" - }, - "SalesforceCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SalesforceDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SalesforceCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SalesforceSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SalesforceSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "HostUrl": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "HostUrl", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "SeedUrl": { - "additionalProperties": false, - "properties": { - "Url": { - "pattern": "^https?://[A-Za-z0-9][^\\s]*$", - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "SeedUrls": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SeedUrl" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "SemanticChunkingConfiguration": { - "additionalProperties": false, - "properties": { - "BreakpointPercentileThreshold": { - "maximum": 99, - "minimum": 50, - "type": "integer" - }, - "BufferSize": { - "maximum": 1, - "minimum": 0, - "type": "integer" - }, - "MaxTokens": { - "minimum": 1, - "type": "integer" - } - }, - "required": [ - "BreakpointPercentileThreshold", - "BufferSize", - "MaxTokens" - ], - "type": "object" - }, - "ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$", - "type": "string" - } - }, - "type": "object" - }, - "SharePointCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "FilterConfiguration": { - "$ref": "#/definitions/CrawlFilterConfiguration" - } - }, - "type": "object" - }, - "SharePointDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/SharePointCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/SharePointSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "SharePointSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthType": { - "enum": [ - "OAUTH2_CLIENT_CREDENTIALS" - ], - "type": "string" - }, - "CredentialsSecretArn": { - "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$", - "type": "string" - }, - "Domain": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "HostType": { - "enum": [ - "ONLINE" - ], - "type": "string" - }, - "SiteUrls": { - "insertionOrder": false, - "items": { - "pattern": "^https://[A-Za-z0-9][^\\s]*$", - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "TenantId": { - "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", - "type": "string" - } - }, - "required": [ - "Domain", - "SiteUrls", - "HostType", - "AuthType", - "CredentialsSecretArn" - ], - "type": "object" - }, - "Transformation": { - "additionalProperties": false, - "properties": { - "StepToApply": { - "enum": [ - "POST_CHUNKING" - ], - "type": "string" - }, - "TransformationFunction": { - "$ref": "#/definitions/TransformationFunction" - } - }, - "required": [ - "StepToApply", - "TransformationFunction" - ], - "type": "object" - }, - "TransformationFunction": { - "additionalProperties": false, - "properties": { - "TransformationLambdaConfiguration": { - "$ref": "#/definitions/TransformationLambdaConfiguration" - } - }, - "required": [ - "TransformationLambdaConfiguration" - ], - "type": "object" - }, - "TransformationLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "maxLength": 2048, - "minLength": 0, - "pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$", - "type": "string" - } - }, - "required": [ - "LambdaArn" - ], - "type": "object" - }, - "UrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "$ref": "#/definitions/SeedUrls" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "VectorIngestionConfiguration": { - "additionalProperties": false, - "properties": { - "ChunkingConfiguration": { - "$ref": "#/definitions/ChunkingConfiguration" - }, - "CustomTransformationConfiguration": { - "$ref": "#/definitions/CustomTransformationConfiguration" - }, - "ParsingConfiguration": { - "$ref": "#/definitions/ParsingConfiguration" - } - }, - "type": "object" - }, - "WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerLimits": { - "$ref": "#/definitions/WebCrawlerLimits" - }, - "ExclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "InclusionFilters": { - "$ref": "#/definitions/FilterList" - }, - "Scope": { - "$ref": "#/definitions/WebScopeType" - } - }, - "type": "object" - }, - "WebCrawlerLimits": { - "additionalProperties": false, - "properties": { - "RateLimit": { - "maximum": 300, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WebDataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlerConfiguration": { - "$ref": "#/definitions/WebCrawlerConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/WebSourceConfiguration" - } - }, - "required": [ - "SourceConfiguration" - ], - "type": "object" - }, - "WebScopeType": { - "enum": [ - "HOST_ONLY", - "SUBDOMAINS" - ], - "type": "string" - }, - "WebSourceConfiguration": { - "additionalProperties": false, - "properties": { - "UrlConfiguration": { - "$ref": "#/definitions/UrlConfiguration" - } - }, - "required": [ - "UrlConfiguration" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/KnowledgeBaseId", - "/properties/DataSourceId" - ], - "properties": { - "CreatedAt": { - "type": "string" - }, - "DataDeletionPolicy": { - "$ref": "#/definitions/DataDeletionPolicy" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/DataSourceConfiguration" - }, - "DataSourceId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "DataSourceStatus": { - "$ref": "#/definitions/DataSourceStatus" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "FailureReasons": { - "insertionOrder": false, - "items": { - "maxLength": 2048, - "type": "string" - }, - "maxItems": 2048, - "type": "array" - }, - "KnowledgeBaseId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/ServerSideEncryptionConfiguration" - }, - "UpdatedAt": { - "type": "string" - }, - "VectorIngestionConfiguration": { - "$ref": "#/definitions/VectorIngestionConfiguration" - } - }, - "readOnlyProperties": [ - "/properties/DataSourceId", - "/properties/DataSourceStatus", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/FailureReasons" - ], - "required": [ - "DataSourceConfiguration", - "Name", - "KnowledgeBaseId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-aps", - "tagging": { - "cloudFormationSystemTags": false, - "taggable": false - }, - "typeName": "AWS::Bedrock::DataSource" -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-ec2-vpnconnection.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-ec2-vpnconnection.json deleted file mode 100644 index a9d5be394d..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-ec2-vpnconnection.json +++ /dev/null @@ -1,383 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/blob/master/src/main/resources/schema/provider.definition.schema.v1.json", - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/CustomerGatewayId", - "/properties/VpnGatewayId", - "/properties/TransitGatewayId", - "/properties/EnableAcceleration", - "/properties/LocalIpv4NetworkCidr", - "/properties/LocalIpv6NetworkCidr", - "/properties/OutsideIpAddressType", - "/properties/RemoteIpv4NetworkCidr", - "/properties/RemoteIpv6NetworkCidr", - "/properties/StaticRoutesOnly", - "/properties/TransportTransitGatewayAttachmentId", - "/properties/TunnelInsideIpVersion", - "/properties/VpnTunnelOptionsSpecifications" - ], - "definitions": { - "CloudwatchLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "LogEnabled": { - "type": "boolean" - }, - "LogGroupArn": { - "type": "string" - }, - "LogOutputFormat": { - "enum": [ - "json", - "text" - ], - "type": "string" - } - }, - "type": "object" - }, - "IKEVersionsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "ikev1", - "ikev2" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase1EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase1IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2DHGroupNumbersRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - 2, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24 - ], - "type": "integer" - } - }, - "type": "object" - }, - "Phase2EncryptionAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "AES128", - "AES256", - "AES128-GCM-16", - "AES256-GCM-16" - ], - "type": "string" - } - }, - "type": "object" - }, - "Phase2IntegrityAlgorithmsRequestListValue": { - "additionalProperties": false, - "properties": { - "Value": { - "enum": [ - "SHA1", - "SHA2-256", - "SHA2-384", - "SHA2-512" - ], - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "VpnTunnelLogOptionsSpecification": { - "additionalProperties": false, - "properties": { - "CloudwatchLogOptions": { - "$ref": "#/definitions/CloudwatchLogOptionsSpecification" - } - }, - "type": "object" - }, - "VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "DPDTimeoutAction": { - "enum": [ - "clear", - "none", - "restart" - ], - "type": "string" - }, - "DPDTimeoutSeconds": { - "minimum": 30, - "type": "integer" - }, - "EnableTunnelLifecycleControl": { - "type": "boolean" - }, - "IKEVersions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/IKEVersionsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "LogOptions": { - "$ref": "#/definitions/VpnTunnelLogOptionsSpecification" - }, - "Phase1DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase1IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase1LifetimeSeconds": { - "maximum": 28800, - "minimum": 900, - "type": "integer" - }, - "Phase2DHGroupNumbers": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2DHGroupNumbersRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2EncryptionAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2EncryptionAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2IntegrityAlgorithms": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Phase2IntegrityAlgorithmsRequestListValue" - }, - "type": "array", - "uniqueItems": false - }, - "Phase2LifetimeSeconds": { - "maximum": 3600, - "minimum": 900, - "type": "integer" - }, - "PreSharedKey": { - "type": "string" - }, - "RekeyFuzzPercentage": { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - "RekeyMarginTimeSeconds": { - "minimum": 60, - "type": "integer" - }, - "ReplayWindowSize": { - "maximum": 2048, - "minimum": 64, - "type": "integer" - }, - "StartupAction": { - "enum": [ - "add", - "start" - ], - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - }, - "TunnelInsideIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/VpnConnectionId" - ], - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "EnableAcceleration": { - "type": "boolean" - }, - "LocalIpv4NetworkCidr": { - "type": "string" - }, - "LocalIpv6NetworkCidr": { - "type": "string" - }, - "OutsideIpAddressType": { - "type": "string" - }, - "RemoteIpv4NetworkCidr": { - "type": "string" - }, - "RemoteIpv6NetworkCidr": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - }, - "TunnelInsideIpVersion": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/VpnTunnelOptionsSpecification" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/VpnConnectionId" - ], - "required": [ - "Type", - "CustomerGatewayId" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::VPNConnection" -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-memorydb-cluster.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-memorydb-cluster.json deleted file mode 100644 index 533c07819e..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-memorydb-cluster.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName", - "/properties/TLSEnabled", - "/properties/DataTiering", - "/properties/KmsKeyId", - "/properties/Port", - "/properties/SnapshotArns", - "/properties/SnapshotName" - ], - "definitions": { - "DataTieringStatus": { - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "integer" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^(?!aws:)(?!memorydb:)[a-zA-Z0-9 _\\.\\/=+:\\-@]{1,128}$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(?!aws:)(?!memorydb:)[a-zA-Z0-9 _\\.\\/=+:\\-@]{1,256}$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "ACLName": { - "pattern": "[a-zA-Z][a-zA-Z0-9\\-]*", - "type": "string" - }, - "ARN": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ClusterEndpoint": { - "$ref": "#/definitions/Endpoint" - }, - "ClusterName": { - "pattern": "[a-z][a-z0-9\\-]*", - "type": "string" - }, - "DataTiering": { - "$ref": "#/definitions/DataTieringStatus", - "type": "object" - }, - "Description": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "FinalSnapshotName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumReplicasPerShard": { - "type": "integer" - }, - "NumShards": { - "type": "integer" - }, - "ParameterGroupName": { - "type": "string" - }, - "ParameterGroupStatus": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "insertionOrder": false, - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SnapshotArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "integer" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SnsTopicStatus": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "TLSEnabled": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Status", - "/properties/ClusterEndpoint/Address", - "/properties/ClusterEndpoint/Port", - "/properties/ARN", - "/properties/ParameterGroupStatus" - ], - "required": [ - "ClusterName", - "NodeType", - "ACLName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-memorydb", - "taggable": true, - "typeName": "AWS::MemoryDB::Cluster" -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrant.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrant.json deleted file mode 100644 index 603e327dce..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrant.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/S3PrefixType", - "/properties/Tags" - ], - "definitions": { - "AccessGrantArn": { - "type": "string" - }, - "AccessGrantsLocationConfiguration": { - "additionalProperties": false, - "properties": { - "S3SubPrefix": { - "type": "string" - } - }, - "required": [ - "S3SubPrefix" - ], - "type": "object" - }, - "Grantee": { - "additionalProperties": false, - "properties": { - "GranteeIdentifier": { - "type": "string" - }, - "GranteeType": { - "enum": [ - "IAM", - "DIRECTORY_USER", - "DIRECTORY_GROUP" - ], - "type": "string" - } - }, - "required": [ - "GranteeType", - "GranteeIdentifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantId" - ], - "properties": { - "AccessGrantArn": { - "$ref": "#/definitions/AccessGrantArn", - "examples": [ - "arn:aws:s3:us-east-2:111122223333:access-grants/default/grant/7c89cbd1-0f4e-40e3-861d-afb906952b77" - ] - }, - "AccessGrantId": { - "examples": [ - "7c89cbd1-0f4e-40e3-861d-afb906952b77" - ], - "type": "string" - }, - "AccessGrantsLocationConfiguration": { - "$ref": "#/definitions/AccessGrantsLocationConfiguration" - }, - "AccessGrantsLocationId": { - "examples": [ - "125f332b-a499-4eb6-806f-8a6a1aa4cb96" - ], - "type": "string" - }, - "ApplicationArn": { - "type": "string" - }, - "GrantScope": { - "type": "string" - }, - "Grantee": { - "$ref": "#/definitions/Grantee" - }, - "Permission": { - "enum": [ - "READ", - "WRITE", - "READWRITE" - ], - "type": "string" - }, - "S3PrefixType": { - "enum": [ - "Object" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantId", - "/properties/AccessGrantArn", - "/properties/GrantScope" - ], - "required": [ - "Grantee", - "Permission", - "AccessGrantsLocationId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrant", - "writeOnlyProperties": [ - "/properties/Tags", - "/properties/S3PrefixType" - ] -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json deleted file mode 100644 index fc2b4f6181..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Tags" - ], - "definitions": { - "AccessGrantsInstanceArn": { - "type": "string" - }, - "IdentityCenterArn": { - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantsInstanceArn" - ], - "properties": { - "AccessGrantsInstanceArn": { - "$ref": "#/definitions/AccessGrantsInstanceArn", - "examples": [ - "arn:aws:s3:us-east-2:479290226168:access-grants/default" - ] - }, - "AccessGrantsInstanceId": { - "type": "string" - }, - "IdentityCenterArn": { - "$ref": "#/definitions/IdentityCenterArn", - "examples": [ - "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" - ] - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantsInstanceArn", - "/properties/AccessGrantsInstanceId" - ], - "required": [], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrantsInstance", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantslocation.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantslocation.json deleted file mode 100644 index b45ece2245..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantslocation.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Tags" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/AccessGrantsLocationId" - ], - "properties": { - "AccessGrantsLocationArn": { - "examples": [ - "arn:aws:s3:us-east-2:479290226168:access-grants/default/location/125f332b-a499-4eb6-806f-8a6a1aa4cb96" - ], - "type": "string" - }, - "AccessGrantsLocationId": { - "type": "string" - }, - "IamRoleArn": { - "examples": [ - "arn:aws:iamw::123456789012:role/rolename" - ], - "type": "string" - }, - "LocationScope": { - "examples": [ - "s3://test-bucket-access-grants-cmh/prefixA" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/AccessGrantsLocationArn", - "/properties/AccessGrantsLocationId" - ], - "required": [], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", - "tagging": { - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::S3::AccessGrantsLocation", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-api.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-api.json index 12dbd93540..509118efa2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-api.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-appsync-api.json @@ -82,8 +82,11 @@ }, "DnsMap": { "additionalProperties": false, - "patternProperties": { - "\\S+": { + "properties": { + "Http": { + "type": "string" + }, + "Realtime": { "type": "string" } }, @@ -249,6 +252,8 @@ "readOnlyProperties": [ "/properties/ApiId", "/properties/Dns", + "/properties/Dns/Realtime", + "/properties/Dns/Http", "/properties/ApiArn" ], "required": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-task.json index 1f164cf132..ff0f0c237e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-task.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-task.json @@ -2,7 +2,8 @@ "additionalProperties": false, "createOnlyProperties": [ "/properties/DestinationLocationArn", - "/properties/SourceLocationArn" + "/properties/SourceLocationArn", + "/properties/TaskMode" ], "definitions": { "DestinationNetworkInterfaceArns": { @@ -456,6 +457,13 @@ "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", "type": "string" }, + "TaskMode": { + "enum": [ + "BASIC", + "ENHANCED" + ], + "type": "string" + }, "TaskReportConfig": { "$ref": "#/definitions/TaskReportConfig" } diff --git a/src/cfnlint/data/schemas/providers/us_east_2/__init__.py b/src/cfnlint/data/schemas/providers/us_east_2/__init__.py index 7d312024a4..312b76eb2e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_east_2/__init__.py @@ -885,6 +885,7 @@ "AWS::RDS::DBProxyTargetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSecurityGroupIngress", + "AWS::RDS::DBShardGroup", "AWS::RDS::DBSubnetGroup", "AWS::RDS::EventSubscription", "AWS::RDS::GlobalCluster", @@ -2015,6 +2016,7 @@ "aws-ram-permission.json", "aws-ram-resourceshare.json", "aws-rds-customdbengineversion.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -2023,6 +2025,7 @@ "aws-rds-dbproxytargetgroup.json", "aws-rds-dbsecuritygroup.json", "aws-rds-dbsecuritygroupingress.json", + "aws-rds-dbshardgroup.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", "aws-rds-globalcluster.json", @@ -2134,6 +2137,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/__init__.py b/src/cfnlint/data/schemas/providers/us_gov_east_1/__init__.py index efd074a72c..8e3ebed38a 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/__init__.py @@ -764,7 +764,6 @@ "aws-batch-jobdefinition.json", "aws-batch-jobqueue.json", "aws-batch-schedulingpolicy.json", - "aws-cassandra-keyspace.json", "aws-cassandra-table.json", "aws-certificatemanager-account.json", "aws-certificatemanager-certificate.json", diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-cassandra-keyspace.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-cassandra-keyspace.json similarity index 90% rename from src/cfnlint/data/schemas/providers/cn_northwest_1/aws-cassandra-keyspace.json rename to src/cfnlint/data/schemas/providers/us_gov_east_1/aws-cassandra-keyspace.json index 6e61001b30..493b83acb8 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-cassandra-keyspace.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-cassandra-keyspace.json @@ -87,6 +87,9 @@ "/properties/KeyspaceName" ], "properties": { + "ClientSideTimestampsEnabled": { + "type": "boolean" + }, "KeyspaceName": { "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$", "type": "string" @@ -105,5 +108,12 @@ } }, "required": [], + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, "typeName": "AWS::Cassandra::Keyspace" } diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/__init__.py b/src/cfnlint/data/schemas/providers/us_gov_west_1/__init__.py index 7524e4c433..5dd78940cd 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/__init__.py @@ -885,7 +885,6 @@ "aws-batch-jobqueue.json", "aws-batch-schedulingpolicy.json", "aws-bedrock-guardrailversion.json", - "aws-cassandra-keyspace.json", "aws-cassandra-table.json", "aws-certificatemanager-account.json", "aws-certificatemanager-certificate.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-cassandra-keyspace.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-cassandra-keyspace.json new file mode 100644 index 0000000000..493b83acb8 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-cassandra-keyspace.json @@ -0,0 +1,119 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/ReplicationSpecification", + "/properties/KeyspaceName" + ], + "definitions": { + "RegionList": { + "insertionOrder": false, + "items": { + "enum": [ + "ap-northeast-1", + "ap-northeast-2", + "ap-south-1", + "ap-southeast-1", + "ap-southeast-2", + "ca-central-1", + "eu-central-1", + "eu-north-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "sa-east-1", + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2" + ], + "type": "string" + }, + "maxItems": 6, + "minItems": 2, + "type": "array", + "uniqueItems": true + }, + "ReplicationSpecification": { + "additionalProperties": false, + "default": { + "properties": { + "ReplicationStrategy": { + "const": "SINGLE_REGION", + "type": "string" + } + } + }, + "dependencies": { + "RegionList": [ + "ReplicationStrategy" + ] + }, + "properties": { + "RegionList": { + "$ref": "#/definitions/RegionList" + }, + "ReplicationStrategy": { + "enum": [ + "SINGLE_REGION", + "MULTI_REGION" + ], + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/KeyspaceName" + ], + "properties": { + "ClientSideTimestampsEnabled": { + "type": "boolean" + }, + "KeyspaceName": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$", + "type": "string" + }, + "ReplicationSpecification": { + "$ref": "#/definitions/ReplicationSpecification" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "minItems": 0, + "type": "array", + "uniqueItems": true + } + }, + "required": [], + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cassandra::Keyspace" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/__init__.py b/src/cfnlint/data/schemas/providers/us_west_1/__init__.py index 0f4a789775..a512608237 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_west_1/__init__.py @@ -78,6 +78,7 @@ "AWS::AppSync::Api", "AWS::AppSync::ApiCache", "AWS::AppSync::ApiKey", + "AWS::AppSync::ChannelNamespace", "AWS::AppSync::DataSource", "AWS::AppSync::DomainName", "AWS::AppSync::DomainNameApiAssociation", @@ -1016,6 +1017,7 @@ "aws-appsync-api.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", + "aws-appsync-channelnamespace.json", "aws-appsync-domainname.json", "aws-appsync-domainnameapiassociation.json", "aws-appsync-functionconfiguration.json", @@ -1585,6 +1587,7 @@ "aws-pipes-pipe.json", "aws-ram-permission.json", "aws-ram-resourceshare.json", + "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", @@ -1595,6 +1598,7 @@ "aws-rds-dbsecuritygroupingress.json", "aws-rds-dbsubnetgroup.json", "aws-rds-eventsubscription.json", + "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -1684,6 +1688,7 @@ "aws-sagemaker-notebookinstancelifecycleconfig.json", "aws-sagemaker-pipeline.json", "aws-sagemaker-project.json", + "aws-sagemaker-space.json", "aws-sagemaker-studiolifecycleconfig.json", "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", @@ -1691,6 +1696,7 @@ "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", + "aws-secretsmanager-rotationschedule.json", "aws-secretsmanager-secret.json", "aws-secretsmanager-secrettargetattachment.json", "aws-securityhub-automationrule.json", @@ -1733,6 +1739,7 @@ "aws-servicediscovery-privatednsnamespace.json", "aws-servicediscovery-publicdnsnamespace.json", "aws-servicediscovery-service.json", + "aws-ses-configurationset.json", "aws-ses-configurationseteventdestination.json", "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", @@ -1822,7 +1829,11 @@ "aws-wafregional-webacl.json", "aws-wafregional-webaclassociation.json", "aws-wafregional-xssmatchset.json", + "aws-wafv2-ipset.json", "aws-wafv2-loggingconfiguration.json", + "aws-wafv2-regexpatternset.json", + "aws-wafv2-rulegroup.json", + "aws-wafv2-webacl.json", "aws-wafv2-webaclassociation.json", "aws-workspaces-workspace.json", "aws-xray-group.json", diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbcluster.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbcluster.json deleted file mode 100644 index 550d9edaf7..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbcluster.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Engine", - "/properties/GlobalClusterIdentifier", - "/properties/MasterUsername" - ], - "createOnlyProperties": [ - "/properties/AvailabilityZones", - "/properties/DBClusterIdentifier", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/DatabaseName", - "/properties/EngineMode", - "/properties/KmsKeyId", - "/properties/PubliclyAccessible", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/UseLatestRestorableTime" - ], - "definitions": { - "DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ReadEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "integer" - }, - "MinCapacity": { - "type": "integer" - }, - "SecondsBeforeTimeout": { - "type": "integer" - }, - "SecondsUntilAutoPause": { - "type": "integer" - }, - "TimeoutAction": { - "type": "string" - } - }, - "type": "object" - }, - "ServerlessV2ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DBClusterIdentifier" - ], - "properties": { - "AllocatedStorage": { - "type": "integer" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBClusterRole" - }, - "type": "array", - "uniqueItems": true - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BacktrackWindow": { - "minimum": 0, - "type": "integer" - }, - "BackupRetentionPeriod": { - "default": 1, - "maximum": 35, - "minimum": 1, - "type": "integer" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterArn": { - "type": "string" - }, - "DBClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBClusterInstanceClass": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBClusterResourceId": { - "type": "string" - }, - "DBInstanceParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "EnableGlobalWriteForwarding": { - "type": "boolean" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnableLocalWriteForwarding": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 0, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "minLength": 1, - "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9_]*$", - "type": "string" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "PerformanceInsightsEnabled": { - "type": "boolean" - }, - "PerformanceInsightsKmsKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "integer" - }, - "Port": { - "type": "integer" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReadEndpoint": { - "$ref": "#/definitions/ReadEndpoint" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/ScalingConfiguration" - }, - "ServerlessV2ScalingConfiguration": { - "$ref": "#/definitions/ServerlessV2ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterParameterGroupName": "$lowercase(DBClusterParameterGroupName)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/EnableHttpEndpoint": "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )", - "/properties/Engine": "$lowercase(Engine)", - "/properties/EngineVersion": "$join([$string(EngineVersion), \".*\"])", - "/properties/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])", - "/properties/MasterUserSecret/KmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])", - "/properties/NetworkType": "$lowercase(NetworkType)", - "/properties/PerformanceInsightsKmsKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SnapshotIdentifier": "$lowercase(SnapshotIdentifier)", - "/properties/SourceDBClusterIdentifier": "$lowercase(SourceDBClusterIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/DBClusterArn", - "/properties/DBClusterResourceId", - "/properties/Endpoint", - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Address", - "/properties/MasterUserSecret/SecretArn", - "/properties/StorageThroughput" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBCluster", - "writeOnlyProperties": [ - "/properties/DBInstanceParameterGroupName", - "/properties/MasterUserPassword", - "/properties/RestoreToTime", - "/properties/RestoreType", - "/properties/SnapshotIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceRegion", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-globalcluster.json deleted file mode 100644 index c7d134d12e..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-globalcluster.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalClusterIdentifier", - "/properties/SourceDBClusterIdentifier", - "/properties/StorageEncrypted", - "/properties/Engine" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "oneOf": [ - { - "required": [ - "SourceDBClusterIdentifier" - ] - }, - { - "required": [ - "Engine" - ] - } - ], - "primaryIdentifier": [ - "/properties/GlobalClusterIdentifier" - ], - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "enum": [ - "aurora", - "aurora-mysql", - "aurora-postgresql" - ], - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "oneOf": [ - { - "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" - }, - { - "pattern": "^(?=.{40,128}$)arn.*" - } - ], - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", - "typeName": "AWS::RDS::GlobalCluster" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-sagemaker-space.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-sagemaker-space.json deleted file mode 100644 index 9f76bfd815..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-sagemaker-space.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/DomainId", - "/properties/SpaceName", - "/properties/SpaceSharingSettings", - "/properties/OwnershipSettings" - ], - "definitions": { - "AppType": { - "enum": [ - "JupyterServer", - "KernelGateway", - "TensorBoard", - "RStudioServerPro", - "RSessionGateway", - "JupyterLab", - "CodeEditor" - ], - "type": "string" - }, - "CodeRepository": { - "additionalProperties": false, - "properties": { - "RepositoryUrl": { - "maxLength": 256, - "pattern": "^https://([.\\-_a-zA-Z0-9]+/?){3,1016}$", - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "CustomFileSystem": { - "additionalProperties": false, - "properties": { - "EFSFileSystem": { - "$ref": "#/definitions/EFSFileSystem" - } - }, - "type": "object" - }, - "CustomFileSystems": { - "items": { - "$ref": "#/definitions/CustomFileSystem" - }, - "maxItems": 1, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - }, - "ImageName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "ImageVersionNumber": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "EFSFileSystem": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "maxLength": 21, - "minLength": 11, - "pattern": "^(fs-[0-9a-f]{8,})$", - "type": "string" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "EbsStorageSettings": { - "additionalProperties": false, - "properties": { - "EbsVolumeSizeInGb": { - "$ref": "#/definitions/SpaceEbsVolumeSizeInGb" - } - }, - "required": [ - "EbsVolumeSizeInGb" - ], - "type": "object" - }, - "JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "OwnershipSettings": { - "additionalProperties": false, - "properties": { - "OwnerUserProfileName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - } - }, - "required": [ - "OwnerUserProfileName" - ], - "type": "object" - }, - "ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "enum": [ - "system", - "ml.t3.micro", - "ml.t3.small", - "ml.t3.medium", - "ml.t3.large", - "ml.t3.xlarge", - "ml.t3.2xlarge", - "ml.m5.large", - "ml.m5.xlarge", - "ml.m5.2xlarge", - "ml.m5.4xlarge", - "ml.m5.8xlarge", - "ml.m5.12xlarge", - "ml.m5.16xlarge", - "ml.m5.24xlarge", - "ml.c5.large", - "ml.c5.xlarge", - "ml.c5.2xlarge", - "ml.c5.4xlarge", - "ml.c5.9xlarge", - "ml.c5.12xlarge", - "ml.c5.18xlarge", - "ml.c5.24xlarge", - "ml.p3.2xlarge", - "ml.p3.8xlarge", - "ml.p3.16xlarge", - "ml.g4dn.xlarge", - "ml.g4dn.2xlarge", - "ml.g4dn.4xlarge", - "ml.g4dn.8xlarge", - "ml.g4dn.12xlarge", - "ml.g4dn.16xlarge", - "ml.r5.large", - "ml.r5.xlarge", - "ml.r5.2xlarge", - "ml.r5.4xlarge", - "ml.r5.8xlarge", - "ml.r5.12xlarge", - "ml.r5.16xlarge", - "ml.r5.24xlarge", - "ml.p3dn.24xlarge", - "ml.m5d.large", - "ml.m5d.xlarge", - "ml.m5d.2xlarge", - "ml.m5d.4xlarge", - "ml.m5d.8xlarge", - "ml.m5d.12xlarge", - "ml.m5d.16xlarge", - "ml.m5d.24xlarge", - "ml.g5.xlarge", - "ml.g5.2xlarge", - "ml.g5.4xlarge", - "ml.g5.8xlarge", - "ml.g5.12xlarge", - "ml.g5.16xlarge", - "ml.g5.24xlarge", - "ml.g5.48xlarge", - "ml.p4d.24xlarge", - "ml.p4de.24xlarge", - "ml.geospatial.interactive", - "ml.trn1.2xlarge", - "ml.trn1.32xlarge", - "ml.trn1n.32xlarge" - ], - "type": "string" - }, - "LifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "SageMakerImageArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$", - "type": "string" - }, - "SageMakerImageVersionArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$", - "type": "string" - } - }, - "type": "object" - }, - "SpaceAppLifecycleManagement": { - "additionalProperties": false, - "properties": { - "IdleSettings": { - "$ref": "#/definitions/SpaceIdleSettings" - } - }, - "type": "object" - }, - "SpaceCodeEditorAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - } - }, - "type": "object" - }, - "SpaceEbsVolumeSizeInGb": { - "maximum": 16384, - "minimum": 5, - "type": "integer" - }, - "SpaceIdleSettings": { - "additionalProperties": false, - "properties": { - "IdleTimeoutInMinutes": { - "maximum": 525600, - "minimum": 60, - "type": "integer" - } - }, - "type": "object" - }, - "SpaceJupyterLabAppSettings": { - "additionalProperties": false, - "properties": { - "CodeRepositories": { - "items": { - "$ref": "#/definitions/CodeRepository" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - } - }, - "type": "object" - }, - "SpaceSettings": { - "additionalProperties": false, - "properties": { - "AppType": { - "$ref": "#/definitions/AppType" - }, - "CodeEditorAppSettings": { - "$ref": "#/definitions/SpaceCodeEditorAppSettings" - }, - "CustomFileSystems": { - "$ref": "#/definitions/CustomFileSystems" - }, - "JupyterLabAppSettings": { - "$ref": "#/definitions/SpaceJupyterLabAppSettings" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/KernelGatewayAppSettings" - }, - "SpaceStorageSettings": { - "$ref": "#/definitions/SpaceStorageSettings" - } - }, - "type": "object" - }, - "SpaceSharingSettings": { - "additionalProperties": false, - "properties": { - "SharingType": { - "enum": [ - "Private", - "Shared" - ], - "type": "string" - } - }, - "required": [ - "SharingType" - ], - "type": "object" - }, - "SpaceStorageSettings": { - "additionalProperties": false, - "properties": { - "EbsStorageSettings": { - "$ref": "#/definitions/EbsStorageSettings" - } - }, - "type": "object" - }, - "StudioLifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 128, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DomainId", - "/properties/SpaceName" - ], - "properties": { - "DomainId": { - "maxLength": 63, - "minLength": 1, - "pattern": "^d-(-*[a-z0-9]){1,61}", - "type": "string" - }, - "OwnershipSettings": { - "$ref": "#/definitions/OwnershipSettings" - }, - "SpaceArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:space/.*", - "type": "string" - }, - "SpaceDisplayName": { - "maxLength": 64, - "pattern": "^(?!\\s*$).+", - "type": "string" - }, - "SpaceName": { - "maxLength": 63, - "minLength": 1, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - }, - "SpaceSettings": { - "$ref": "#/definitions/SpaceSettings", - "maxItems": 50, - "minItems": 0, - "uniqueItems": false - }, - "SpaceSharingSettings": { - "$ref": "#/definitions/SpaceSharingSettings" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "Url": { - "maxLength": 1024, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SpaceArn", - "/properties/Url" - ], - "required": [ - "DomainId", - "SpaceName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::SageMaker::Space", - "writeOnlyProperties": [ - "/properties/SpaceSettings", - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-secretsmanager-rotationschedule.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-secretsmanager-rotationschedule.json deleted file mode 100644 index 3731f9d82a..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-secretsmanager-rotationschedule.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/SecretId" - ], - "definitions": { - "HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "integer" - }, - "Duration": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/HostedRotationLambda" - }, - "Id": { - "type": "string" - }, - "RotateImmediatelyOnUpdate": { - "type": "boolean" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SecretId" - ], - "typeName": "AWS::SecretsManager::RotationSchedule" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-ses-configurationset.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-ses-configurationset.json deleted file mode 100644 index 94e600b9cd..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-ses-configurationset.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "DashboardOptions": { - "additionalProperties": false, - "properties": { - "EngagementMetrics": { - "pattern": "ENABLED|DISABLED", - "type": "string" - } - }, - "required": [ - "EngagementMetrics" - ], - "type": "object" - }, - "DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - }, - "TlsPolicy": { - "pattern": "REQUIRE|OPTIONAL", - "type": "string" - } - }, - "type": "object" - }, - "GuardianOptions": { - "additionalProperties": false, - "properties": { - "OptimizedSharedDelivery": { - "pattern": "ENABLED|DISABLED", - "type": "string" - } - }, - "required": [ - "OptimizedSharedDelivery" - ], - "type": "object" - }, - "ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "pattern": "true|false", - "type": "boolean" - } - }, - "type": "object" - }, - "SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "pattern": "true|false", - "type": "boolean" - } - }, - "type": "object" - }, - "SuppressionOptions": { - "additionalProperties": false, - "properties": { - "SuppressedReasons": { - "insertionOrder": false, - "items": { - "pattern": "BOUNCE|COMPLAINT", - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "VdmOptions": { - "additionalProperties": false, - "properties": { - "DashboardOptions": { - "$ref": "#/definitions/DashboardOptions" - }, - "GuardianOptions": { - "$ref": "#/definitions/GuardianOptions" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/DeliveryOptions" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_-]{1,64}$", - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/SendingOptions" - }, - "SuppressionOptions": { - "$ref": "#/definitions/SuppressionOptions" - }, - "TrackingOptions": { - "$ref": "#/definitions/TrackingOptions" - }, - "VdmOptions": { - "$ref": "#/definitions/VdmOptions" - } - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ses.git", - "taggable": false, - "typeName": "AWS::SES::ConfigurationSet" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-ipset.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-ipset.json deleted file mode 100644 index 65b6b7ad16..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-ipset.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "IPAddress": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "IPAddressVersion": { - "enum": [ - "IPV4", - "IPV6" - ], - "type": "string" - }, - "ResourceArn": { - "type": "string" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Addresses": { - "items": { - "$ref": "#/definitions/IPAddress" - }, - "type": "array" - }, - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "IPAddressVersion": { - "$ref": "#/definitions/IPAddressVersion" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::IPSet" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-regexpatternset.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-regexpatternset.json deleted file mode 100644 index 246565624d..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-regexpatternset.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "type": "string" - }, - "Description": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "Name": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "RegularExpressionList": { - "items": { - "maxLength": 200, - "minLength": 0, - "type": "string" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Scope", - "RegularExpressionList" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RegexPatternSet" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-rulegroup.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-rulegroup.json deleted file mode 100644 index 57513d62ae..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-rulegroup.json +++ /dev/null @@ -1,1379 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "IP", - "FORWARDED_IP", - "CONSTANT", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AvailableLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "ConsumedLabels": { - "items": { - "$ref": "#/definitions/LabelSummary" - }, - "type": "array" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id", - "/properties/LabelNamespace", - "/properties/AvailableLabels/*/Name", - "/properties/ConsumedLabels/*/Name" - ], - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::RuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-webacl.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-webacl.json deleted file mode 100644 index 3ddc78b0aa..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-wafv2-webacl.json +++ /dev/null @@ -1,1911 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/Scope" - ], - "definitions": { - "AWSManagedRulesACFPRuleSet": { - "additionalProperties": false, - "properties": { - "CreationPath": { - "type": "string" - }, - "EnableRegexInPath": { - "type": "boolean" - }, - "RegistrationPagePath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspectionACFP" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "CreationPath", - "RegistrationPagePath", - "RequestInspection" - ], - "type": "object" - }, - "AWSManagedRulesATPRuleSet": { - "additionalProperties": false, - "properties": { - "EnableRegexInPath": { - "type": "boolean" - }, - "LoginPath": { - "type": "string" - }, - "RequestInspection": { - "$ref": "#/definitions/RequestInspection" - }, - "ResponseInspection": { - "$ref": "#/definitions/ResponseInspection" - } - }, - "required": [ - "LoginPath" - ], - "type": "object" - }, - "AWSManagedRulesBotControlRuleSet": { - "additionalProperties": false, - "properties": { - "EnableMachineLearning": { - "type": "boolean" - }, - "InspectionLevel": { - "enum": [ - "COMMON", - "TARGETED" - ], - "type": "string" - } - }, - "required": [ - "InspectionLevel" - ], - "type": "object" - }, - "AddressField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AssociationConfig": { - "additionalProperties": false, - "properties": { - "RequestBody": { - "$ref": "#/definitions/RequestBody" - } - }, - "type": "object" - }, - "BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/CustomResponse" - } - }, - "type": "object" - }, - "Body": { - "additionalProperties": false, - "properties": { - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "type": "object" - }, - "BodyParsingFallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH", - "EVALUATE_AS_STRING" - ], - "type": "string" - }, - "ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "PositionalConstraint": { - "$ref": "#/definitions/PositionalConstraint" - }, - "SearchString": { - "$ref": "#/definitions/SearchString" - }, - "SearchStringBase64": { - "$ref": "#/definitions/SearchStringBase64" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "CaptchaAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CaptchaConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "ChallengeAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "ChallengeConfig": { - "additionalProperties": false, - "properties": { - "ImmunityTimeProperty": { - "$ref": "#/definitions/ImmunityTimeProperty" - } - }, - "type": "object" - }, - "CookieMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedCookies": { - "items": { - "maxLength": 60, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Cookies": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/CookieMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/CustomRequestHandling" - } - }, - "type": "object" - }, - "CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/CustomHTTPHeaderName" - }, - "Value": { - "$ref": "#/definitions/CustomHTTPHeaderValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "CustomHTTPHeaderName": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "CustomHTTPHeaderValue": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "pattern": "^[\\w\\-]+$", - "type": "string" - }, - "ResponseCode": { - "$ref": "#/definitions/ResponseStatusCode" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/CustomHTTPHeader" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "minProperties": 1, - "patternProperties": { - "^[\\w\\-]+$": { - "$ref": "#/definitions/CustomResponseBody" - } - }, - "type": "object" - }, - "CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "$ref": "#/definitions/ResponseContent" - }, - "ContentType": { - "$ref": "#/definitions/ResponseContentType" - } - }, - "required": [ - "ContentType", - "Content" - ], - "type": "object" - }, - "DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - } - }, - "type": "object" - }, - "EntityDescription": { - "pattern": "^[a-zA-Z0-9=:#@/\\-,.][a-zA-Z0-9+=:#@/\\-,.\\s]+[a-zA-Z0-9+=:#@/\\-,.]{1,256}$", - "type": "string" - }, - "EntityId": { - "pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$", - "type": "string" - }, - "EntityName": { - "pattern": "^[0-9A-Za-z_-]{1,128}$", - "type": "string" - }, - "EvaluationWindowSec": { - "enum": [ - 60, - 120, - 300, - 600 - ], - "type": "integer" - }, - "ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "FieldIdentifier": { - "additionalProperties": false, - "properties": { - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - } - }, - "required": [ - "Identifier" - ], - "type": "object" - }, - "FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Body": { - "$ref": "#/definitions/Body" - }, - "Cookies": { - "$ref": "#/definitions/Cookies" - }, - "Headers": { - "$ref": "#/definitions/Headers" - }, - "JA3Fingerprint": { - "$ref": "#/definitions/JA3Fingerprint" - }, - "JsonBody": { - "$ref": "#/definitions/JsonBody" - }, - "Method": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior" - ], - "type": "object" - }, - "GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "maxLength": 2, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "HeaderMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ExcludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - }, - "IncludedHeaders": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 199, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "Headers": { - "additionalProperties": false, - "properties": { - "MatchPattern": { - "$ref": "#/definitions/HeaderMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/MapMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope", - "OversizeHandling" - ], - "type": "object" - }, - "IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "HeaderName": { - "pattern": "^[a-zA-Z0-9-]{1,255}$", - "type": "string" - }, - "Position": { - "enum": [ - "FIRST", - "LAST", - "ANY" - ], - "type": "string" - } - }, - "required": [ - "HeaderName", - "FallbackBehavior", - "Position" - ], - "type": "object" - }, - "IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "ImmunityTimeProperty": { - "additionalProperties": false, - "properties": { - "ImmunityTime": { - "maximum": 259200, - "minimum": 60, - "type": "integer" - } - }, - "required": [ - "ImmunityTime" - ], - "type": "object" - }, - "JA3Fingerprint": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "enum": [ - "MATCH", - "NO_MATCH" - ], - "type": "string" - } - }, - "required": [ - "FallbackBehavior" - ], - "type": "object" - }, - "JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "$ref": "#/definitions/BodyParsingFallbackBehavior" - }, - "MatchPattern": { - "$ref": "#/definitions/JsonMatchPattern" - }, - "MatchScope": { - "$ref": "#/definitions/JsonMatchScope" - }, - "OversizeHandling": { - "$ref": "#/definitions/OversizeHandling" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "IncludedPaths": { - "items": { - "$ref": "#/definitions/JsonPointerPath" - }, - "type": "array" - } - }, - "type": "object" - }, - "JsonMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "JsonPointerPath": { - "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$", - "type": "string" - }, - "Label": { - "additionalProperties": false, - "properties": { - "Name": { - "$ref": "#/definitions/LabelName" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "LabelMatchKey": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "LabelMatchScope": { - "enum": [ - "LABEL", - "NAMESPACE" - ], - "type": "string" - }, - "LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "$ref": "#/definitions/LabelMatchKey" - }, - "Scope": { - "$ref": "#/definitions/LabelMatchScope" - } - }, - "required": [ - "Scope", - "Key" - ], - "type": "object" - }, - "LabelName": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - }, - "ManagedRuleGroupConfig": { - "additionalProperties": false, - "properties": { - "AWSManagedRulesACFPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesACFPRuleSet" - }, - "AWSManagedRulesATPRuleSet": { - "$ref": "#/definitions/AWSManagedRulesATPRuleSet" - }, - "AWSManagedRulesBotControlRuleSet": { - "$ref": "#/definitions/AWSManagedRulesBotControlRuleSet" - }, - "LoginPath": { - "maxLength": 256, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "type": "object" - }, - "ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "ManagedRuleGroupConfigs": { - "items": { - "$ref": "#/definitions/ManagedRuleGroupConfig" - }, - "type": "array" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - } - }, - "required": [ - "VendorName", - "Name" - ], - "type": "object" - }, - "MapMatchScope": { - "enum": [ - "ALL", - "KEY", - "VALUE" - ], - "type": "string" - }, - "NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "None": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "type": "object" - }, - "OversizeHandling": { - "enum": [ - "CONTINUE", - "MATCH", - "NO_MATCH" - ], - "type": "string" - }, - "PhoneNumberField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PositionalConstraint": { - "enum": [ - "EXACTLY", - "STARTS_WITH", - "ENDS_WITH", - "CONTAINS", - "CONTAINS_WORD" - ], - "type": "string" - }, - "QueryString": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "enum": [ - "CONSTANT", - "IP", - "FORWARDED_IP", - "CUSTOM_KEYS" - ], - "type": "string" - }, - "CustomKeys": { - "items": { - "$ref": "#/definitions/RateBasedStatementCustomKey" - }, - "maxItems": 5, - "type": "array" - }, - "EvaluationWindowSec": { - "$ref": "#/definitions/EvaluationWindowSec" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/ForwardedIPConfiguration" - }, - "Limit": { - "$ref": "#/definitions/RateLimit" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/Statement" - } - }, - "required": [ - "Limit", - "AggregateKeyType" - ], - "type": "object" - }, - "RateBasedStatementCustomKey": { - "additionalProperties": false, - "properties": { - "Cookie": { - "$ref": "#/definitions/RateLimitCookie" - }, - "ForwardedIP": { - "$ref": "#/definitions/RateLimitForwardedIP" - }, - "HTTPMethod": { - "$ref": "#/definitions/RateLimitHTTPMethod" - }, - "Header": { - "$ref": "#/definitions/RateLimitHeader" - }, - "IP": { - "$ref": "#/definitions/RateLimitIP" - }, - "LabelNamespace": { - "$ref": "#/definitions/RateLimitLabelNamespace" - }, - "QueryArgument": { - "$ref": "#/definitions/RateLimitQueryArgument" - }, - "QueryString": { - "$ref": "#/definitions/RateLimitQueryString" - }, - "UriPath": { - "$ref": "#/definitions/RateLimitUriPath" - } - }, - "type": "object" - }, - "RateLimit": { - "maximum": 2000000000, - "minimum": 100, - "type": "integer" - }, - "RateLimitCookie": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitForwardedIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHTTPMethod": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitIP": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "RateLimitLabelNamespace": { - "additionalProperties": false, - "properties": { - "Namespace": { - "pattern": "^[0-9A-Za-z_:-]{1,1024}$", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "RateLimitQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Name", - "TextTransformations" - ], - "type": "object" - }, - "RateLimitQueryString": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RateLimitUriPath": { - "additionalProperties": false, - "properties": { - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "TextTransformations" - ], - "type": "object" - }, - "RegexMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "RegexString": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "RegexString", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "RequestBody": { - "additionalProperties": false, - "patternProperties": { - "^(CLOUDFRONT|API_GATEWAY|COGNITO_USER_POOL|APP_RUNNER_SERVICE|VERIFIED_ACCESS_INSTANCE)$": { - "$ref": "#/definitions/RequestBodyAssociatedResourceTypeConfig" - } - }, - "type": "object" - }, - "RequestBodyAssociatedResourceTypeConfig": { - "additionalProperties": false, - "properties": { - "DefaultSizeInspectionLimit": { - "$ref": "#/definitions/SizeInspectionLimit" - } - }, - "required": [ - "DefaultSizeInspectionLimit" - ], - "type": "object" - }, - "RequestInspection": { - "additionalProperties": false, - "properties": { - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType", - "UsernameField", - "PasswordField" - ], - "type": "object" - }, - "RequestInspectionACFP": { - "additionalProperties": false, - "properties": { - "AddressFields": { - "items": { - "$ref": "#/definitions/AddressField" - }, - "type": "array" - }, - "EmailField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PasswordField": { - "$ref": "#/definitions/FieldIdentifier" - }, - "PayloadType": { - "enum": [ - "JSON", - "FORM_ENCODED" - ], - "type": "string" - }, - "PhoneNumberFields": { - "items": { - "$ref": "#/definitions/PhoneNumberField" - }, - "type": "array" - }, - "UsernameField": { - "$ref": "#/definitions/FieldIdentifier" - } - }, - "required": [ - "PayloadType" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 2048, - "minLength": 20, - "type": "string" - }, - "ResponseContent": { - "maxLength": 10240, - "minLength": 1, - "type": "string" - }, - "ResponseContentType": { - "enum": [ - "TEXT_PLAIN", - "TEXT_HTML", - "APPLICATION_JSON" - ], - "type": "string" - }, - "ResponseInspection": { - "additionalProperties": false, - "properties": { - "BodyContains": { - "$ref": "#/definitions/ResponseInspectionBodyContains" - }, - "Header": { - "$ref": "#/definitions/ResponseInspectionHeader" - }, - "Json": { - "$ref": "#/definitions/ResponseInspectionJson" - }, - "StatusCode": { - "$ref": "#/definitions/ResponseInspectionStatusCode" - } - }, - "type": "object" - }, - "ResponseInspectionBodyContains": { - "additionalProperties": false, - "properties": { - "FailureStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SuccessStrings": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessStrings", - "FailureStrings" - ], - "type": "object" - }, - "ResponseInspectionHeader": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - }, - "Name": { - "maxLength": 200, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Name", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionJson": { - "additionalProperties": false, - "properties": { - "FailureValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Identifier": { - "maxLength": 512, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "SuccessValues": { - "items": { - "maxLength": 100, - "minLength": 1, - "pattern": ".*\\S.*", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Identifier", - "SuccessValues", - "FailureValues" - ], - "type": "object" - }, - "ResponseInspectionStatusCode": { - "additionalProperties": false, - "properties": { - "FailureCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - }, - "SuccessCodes": { - "items": { - "maxLength": 999, - "minLength": 0, - "type": "integer" - }, - "maxItems": 10, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SuccessCodes", - "FailureCodes" - ], - "type": "object" - }, - "ResponseStatusCode": { - "maximum": 599, - "minimum": 200, - "type": "integer" - }, - "Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/RuleAction" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "OverrideAction": { - "$ref": "#/definitions/OverrideAction" - }, - "Priority": { - "$ref": "#/definitions/RulePriority" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AllowAction" - }, - "Block": { - "$ref": "#/definitions/BlockAction" - }, - "Captcha": { - "$ref": "#/definitions/CaptchaAction" - }, - "Challenge": { - "$ref": "#/definitions/ChallengeAction" - }, - "Count": { - "$ref": "#/definitions/CountAction" - } - }, - "type": "object" - }, - "RuleActionOverride": { - "additionalProperties": false, - "properties": { - "ActionToUse": { - "$ref": "#/definitions/RuleAction" - }, - "Name": { - "$ref": "#/definitions/EntityName" - } - }, - "required": [ - "Name", - "ActionToUse" - ], - "type": "object" - }, - "RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/ExcludedRule" - }, - "type": "array" - }, - "RuleActionOverrides": { - "items": { - "$ref": "#/definitions/RuleActionOverride" - }, - "maxItems": 100, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "RulePriority": { - "minimum": 0, - "type": "integer" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "enum": [ - "CLOUDFRONT", - "REGIONAL" - ], - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "SensitivityLevel": { - "enum": [ - "LOW", - "HIGH" - ], - "type": "string" - }, - "SingleHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SingleQueryArgument": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "enum": [ - "EQ", - "NE", - "LE", - "LT", - "GE", - "GT" - ], - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "Size": { - "maximum": 21474836480, - "minimum": 0, - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "ComparisonOperator", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "SizeInspectionLimit": { - "enum": [ - "KB_16", - "KB_32", - "KB_48", - "KB_64" - ], - "type": "string" - }, - "SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "SensitivityLevel": { - "$ref": "#/definitions/SensitivityLevel" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/RateBasedStatement" - }, - "RegexMatchStatement": { - "$ref": "#/definitions/RegexMatchStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/XssMatchStatement" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "type": "object" - }, - "TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/TextTransformationPriority" - }, - "Type": { - "$ref": "#/definitions/TextTransformationType" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "TextTransformationPriority": { - "minimum": 0, - "type": "integer" - }, - "TextTransformationType": { - "enum": [ - "NONE", - "COMPRESS_WHITE_SPACE", - "HTML_ENTITY_DECODE", - "LOWERCASE", - "CMD_LINE", - "URL_DECODE", - "BASE64_DECODE", - "HEX_DECODE", - "MD5", - "REPLACE_COMMENTS", - "ESCAPE_SEQ_DECODE", - "SQL_HEX_DECODE", - "CSS_DECODE", - "JS_DECODE", - "NORMALIZE_PATH", - "NORMALIZE_PATH_WIN", - "REMOVE_NULLS", - "REPLACE_NULLS", - "BASE64_DECODE_EXT", - "URL_DECODE_UNI", - "UTF8_TO_UNICODE" - ], - "type": "string" - }, - "TokenDomains": { - "items": { - "maxLength": 253, - "minLength": 1, - "pattern": "^[\\w\\.\\-/]+$", - "type": "string" - }, - "type": "array" - }, - "UriPath": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\w#:\\.\\-/]+$", - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SampledRequestsEnabled", - "CloudWatchMetricsEnabled", - "MetricName" - ], - "type": "object" - }, - "XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name", - "/properties/Id", - "/properties/Scope" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/ResourceArn" - }, - "AssociationConfig": { - "$ref": "#/definitions/AssociationConfig" - }, - "Capacity": { - "minimum": 0, - "type": "integer" - }, - "CaptchaConfig": { - "$ref": "#/definitions/CaptchaConfig" - }, - "ChallengeConfig": { - "$ref": "#/definitions/ChallengeConfig" - }, - "CustomResponseBodies": { - "$ref": "#/definitions/CustomResponseBodies" - }, - "DefaultAction": { - "$ref": "#/definitions/DefaultAction" - }, - "Description": { - "$ref": "#/definitions/EntityDescription" - }, - "Id": { - "$ref": "#/definitions/EntityId" - }, - "LabelNamespace": { - "$ref": "#/definitions/LabelName" - }, - "Name": { - "$ref": "#/definitions/EntityName" - }, - "Rules": { - "items": { - "$ref": "#/definitions/Rule" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/Scope" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - }, - "TokenDomains": { - "$ref": "#/definitions/TokenDomains" - }, - "VisibilityConfig": { - "$ref": "#/definitions/VisibilityConfig" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Capacity", - "/properties/Id", - "/properties/LabelNamespace" - ], - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-wafv2.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::WAFv2::WebACL" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/__init__.py b/src/cfnlint/data/schemas/providers/us_west_2/__init__.py index 4d6f3de0e6..ee548e6f74 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_west_2/__init__.py @@ -423,6 +423,7 @@ "AWS::EC2::SecurityGroup", "AWS::EC2::SecurityGroupEgress", "AWS::EC2::SecurityGroupIngress", + "AWS::EC2::SecurityGroupVpcAssociation", "AWS::EC2::SnapshotBlockPublicAccess", "AWS::EC2::SpotFleet", "AWS::EC2::Subnet", @@ -1623,7 +1624,6 @@ "aws-datasync-locations3.json", "aws-datasync-locationsmb.json", "aws-datasync-storagesystem.json", - "aws-datasync-task.json", "aws-datazone-datasource.json", "aws-datazone-domain.json", "aws-datazone-environment.json", diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-datasync-task.json b/src/cfnlint/data/schemas/providers/us_west_2/aws-datasync-task.json new file mode 100644 index 0000000000..1f164cf132 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_west_2/aws-datasync-task.json @@ -0,0 +1,482 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DestinationLocationArn", + "/properties/SourceLocationArn" + ], + "definitions": { + "DestinationNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "FilterRule": { + "additionalProperties": false, + "properties": { + "FilterType": { + "enum": [ + "SIMPLE_PATTERN" + ], + "maxLength": 128, + "pattern": "^[A-Z0-9_]+$", + "type": "string" + }, + "Value": { + "maxLength": 409600, + "pattern": "^[^\\x00]+$", + "type": "string" + } + }, + "type": "object" + }, + "ManifestConfig": { + "additionalProperties": false, + "properties": { + "Action": { + "enum": [ + "TRANSFER" + ], + "type": "string" + }, + "Format": { + "enum": [ + "CSV" + ], + "type": "string" + }, + "Source": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/ManifestConfigSourceS3" + } + }, + "type": "object" + } + }, + "required": [ + "Source" + ], + "type": "object" + }, + "ManifestConfigSourceS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "ManifestObjectPath": { + "maxLength": 1024, + "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}\\p{C}]*$", + "type": "string" + }, + "ManifestObjectVersionId": { + "maxLength": 100, + "pattern": "^.+$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + } + }, + "type": "object" + }, + "Options": { + "additionalProperties": false, + "properties": { + "Atime": { + "enum": [ + "NONE", + "BEST_EFFORT" + ], + "type": "string" + }, + "BytesPerSecond": { + "format": "int64", + "minimum": -1, + "type": "integer" + }, + "Gid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "LogLevel": { + "enum": [ + "OFF", + "BASIC", + "TRANSFER" + ], + "type": "string" + }, + "Mtime": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "ObjectTags": { + "enum": [ + "PRESERVE", + "NONE" + ], + "type": "string" + }, + "OverwriteMode": { + "enum": [ + "ALWAYS", + "NEVER" + ], + "type": "string" + }, + "PosixPermissions": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "PreserveDeletedFiles": { + "enum": [ + "PRESERVE", + "REMOVE" + ], + "type": "string" + }, + "PreserveDevices": { + "enum": [ + "NONE", + "PRESERVE" + ], + "type": "string" + }, + "SecurityDescriptorCopyFlags": { + "enum": [ + "NONE", + "OWNER_DACL", + "OWNER_DACL_SACL" + ], + "type": "string" + }, + "TaskQueueing": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "TransferMode": { + "enum": [ + "CHANGED", + "ALL" + ], + "type": "string" + }, + "Uid": { + "enum": [ + "NONE", + "INT_VALUE", + "NAME", + "BOTH" + ], + "type": "string" + }, + "VerifyMode": { + "enum": [ + "POINT_IN_TIME_CONSISTENT", + "ONLY_FILES_TRANSFERRED", + "NONE" + ], + "type": "string" + } + }, + "type": "object" + }, + "SourceNetworkInterfaceArns": { + "insertionOrder": false, + "items": { + "pattern": "^arn:aws[\\-a-z]{0,}:ec2:[a-z\\-0-9]*:[0-9]{12}:network-interface/eni-[0-9a-f]+$", + "type": "string" + }, + "maxItems": 128, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TaskReportConfig": { + "additionalProperties": false, + "properties": { + "Destination": { + "additionalProperties": false, + "properties": { + "S3": { + "$ref": "#/definitions/TaskReportConfigDestinationS3" + } + }, + "type": "object" + }, + "ObjectVersionIds": { + "enum": [ + "INCLUDE", + "NONE" + ], + "type": "string" + }, + "OutputType": { + "enum": [ + "SUMMARY_ONLY", + "STANDARD" + ], + "type": "string" + }, + "Overrides": { + "additionalProperties": false, + "properties": { + "Deleted": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Skipped": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Transferred": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + }, + "Verified": { + "additionalProperties": false, + "properties": { + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "ReportLevel": { + "enum": [ + "ERRORS_ONLY", + "SUCCESSES_AND_ERRORS" + ], + "type": "string" + } + }, + "required": [ + "Destination", + "OutputType" + ], + "type": "object" + }, + "TaskReportConfigDestinationS3": { + "additionalProperties": false, + "properties": { + "BucketAccessRoleArn": { + "maxLength": 2048, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", + "type": "string" + }, + "S3BucketArn": { + "maxLength": 156, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(s3|s3-outposts):[a-z\\-0-9]*:[0-9]*:.*$", + "type": "string" + }, + "Subdirectory": { + "maxLength": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\p{Zs}]*$", + "type": "string" + } + }, + "type": "object" + }, + "TaskSchedule": { + "additionalProperties": false, + "properties": { + "ScheduleExpression": { + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\ \\_\\*\\?\\,\\|\\^\\-\\/\\#\\s\\(\\)\\+]*$", + "type": "string" + }, + "Status": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/TaskArn" + ], + "properties": { + "CloudWatchLogGroupArn": { + "maxLength": 562, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([^:\\*]*)(:\\*)?$", + "type": "string" + }, + "DestinationLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "DestinationNetworkInterfaceArns": { + "$ref": "#/definitions/DestinationNetworkInterfaceArns" + }, + "Excludes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Includes": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/FilterRule" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "ManifestConfig": { + "$ref": "#/definitions/ManifestConfig" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$", + "type": "string" + }, + "Options": { + "$ref": "#/definitions/Options" + }, + "Schedule": { + "$ref": "#/definitions/TaskSchedule" + }, + "SourceLocationArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$", + "type": "string" + }, + "SourceNetworkInterfaceArns": { + "$ref": "#/definitions/SourceNetworkInterfaceArns" + }, + "Status": { + "enum": [ + "AVAILABLE", + "CREATING", + "QUEUED", + "RUNNING", + "UNAVAILABLE" + ], + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "TaskArn": { + "maxLength": 128, + "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$", + "type": "string" + }, + "TaskReportConfig": { + "$ref": "#/definitions/TaskReportConfig" + } + }, + "readOnlyProperties": [ + "/properties/TaskArn", + "/properties/Status", + "/properties/SourceNetworkInterfaceArns", + "/properties/DestinationNetworkInterfaceArns" + ], + "required": [ + "DestinationLocationArn", + "SourceLocationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::DataSync::Task" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-ec2-securitygroupvpcassociation.json b/src/cfnlint/data/schemas/providers/us_west_2/aws-ec2-securitygroupvpcassociation.json new file mode 100644 index 0000000000..888fcdfed9 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_west_2/aws-ec2-securitygroupvpcassociation.json @@ -0,0 +1,55 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/GroupId", + "/properties/VpcId" + ], + "definitions": { + "SecurityGroupVpcAssociationState": { + "additionalProperties": false, + "enum": [ + "associating", + "associated", + "association-failed", + "disassociating", + "disassociated", + "disassociation-failed" + ], + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/GroupId", + "/properties/VpcId" + ], + "properties": { + "GroupId": { + "type": "string" + }, + "State": { + "$ref": "#/definitions/SecurityGroupVpcAssociationState" + }, + "StateReason": { + "type": "string" + }, + "VpcId": { + "type": "string" + }, + "VpcOwnerId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/VpcOwnerId", + "/properties/State", + "/properties/StateReason" + ], + "required": [ + "GroupId", + "VpcId" + ], + "tagging": { + "taggable": false + }, + "typeName": "AWS::EC2::SecurityGroupVpcAssociation" +}