From 9775cdb0db3a0713b9d1047130081cbe2ca91cc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 14:46:27 -0800 Subject: [PATCH] Update CloudFormation schemas to 2025-02-13 (#3956) * Update CloudFormation schemas to 2025-02-13 --------- Co-authored-by: kddejong <36457093+kddejong@users.noreply.github.com> Co-authored-by: Kevin DeJong --- docs/rules.md | 4 +- .../data/AdditionalSpecs/Policies.json | 13 +- ...5a0d14c62111ff864923fc7b7960dda6.meta.json | 2 +- ...2b6653d7edfe98a64577daae0b481c38.meta.json | 2 +- ...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 +- ...c83164555533634faab47e36a5074fe6.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 | 2 + .../instancetype_enum.json | 93 --- .../aws_rds_dbcluster/engine_version.json | 11 +- .../aws_rds_dbinstance/engine_version.json | 11 +- .../__init__.py | 0 .../boto.json | 10 + .../boto.json | 26 +- .../schemas/providers/af_south_1/__init__.py | 6 +- .../af_south_1/aws-athena-datacatalog.json | 78 ++ .../aws-backup-backupplan.json | 28 - .../aws-cognito-userpooldomain.json | 19 +- .../af_south_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../af_south_1/aws-rds-dbinstance.json | 539 -------------- .../schemas/providers/ap_east_1/__init__.py | 5 +- .../ap_east_1/aws-cognito-userpooldomain.json | 50 ++ .../ap_east_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../ap_east_1/aws-rds-dbinstance.json | 539 -------------- .../aws-s3-accessgrantsinstance.json} | 53 +- .../providers/ap_northeast_1/__init__.py | 7 +- .../aws-emrcontainers-virtualcluster.json | 125 ---- .../ap_northeast_1/aws-ivs-publickey.json | 75 -- ...s-opensearchserverless-securityconfig.json | 158 +++++ .../aws-s3-accessgrantsinstance.json} | 53 +- .../ap_northeast_1/aws-ssm-document.json | 179 ----- .../providers/ap_northeast_2/__init__.py | 19 +- .../aws-athena-datacatalog.json | 78 ++ .../aws-backup-backupplan.json | 28 - .../aws-cognito-userpooldomain.json | 50 ++ .../aws-emrcontainers-virtualcluster.json | 125 ---- ...s-opensearchserverless-securityconfig.json | 2 + .../ap_northeast_2/aws-ssm-document.json | 179 ----- .../providers/ap_northeast_3/__init__.py | 3 +- .../aws-cognito-userpooldomain.json | 50 ++ .../aws-dynamodb-globaltable.json | 669 ------------------ .../ap_northeast_3/aws-rds-dbinstance.json | 539 -------------- .../schemas/providers/ap_south_1/__init__.py | 5 +- .../aws-cognito-userpooldomain.json | 50 ++ .../ap_south_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../ap_south_1/aws-rds-dbinstance.json | 539 -------------- .../ap_south_1/aws-ssm-document.json | 179 ----- .../schemas/providers/ap_south_2/__init__.py | 3 +- .../aws-cognito-userpooldomain.json | 50 ++ .../ap_south_2/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../providers/ap_southeast_1/__init__.py | 1 - .../aws-s3-accessgrantsinstance.json} | 53 +- .../providers/ap_southeast_2/__init__.py | 5 +- .../aws-acmpca-certificateauthority.json | 440 ++++++++++++ .../aws-cognito-userpooldomain.json | 50 ++ .../aws-iotsitewise-gateway.json | 167 ----- .../ap_southeast_2/aws-rds-dbinstance.json | 539 -------------- .../aws-s3-accessgrantsinstance.json} | 55 +- .../providers/ap_southeast_3/__init__.py | 6 +- .../aws-athena-datacatalog.json | 78 ++ .../aws-backup-backupplan.json | 28 - .../aws-cognito-userpooldomain.json | 50 ++ .../aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../aws-ssm-resourcedatasync.json | 135 ---- .../providers/ap_southeast_4/__init__.py | 4 +- .../aws-athena-datacatalog.json | 78 ++ .../ap_southeast_4/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../aws-dynamodb-globaltable.json | 669 ------------------ .../providers/ap_southeast_5/__init__.py | 6 +- .../aws-athena-datacatalog.json | 78 ++ .../ap_southeast_5/aws-backup-backupplan.json | 193 +++++ .../aws-datasync-locationfsxlustre.json | 98 --- .../aws-datasync-locationfsxontap.json | 191 ----- .../aws-datasync-locationfsxopenzfs.json | 139 ---- .../aws-datasync-locationfsxwindows.json | 117 --- .../providers/ap_southeast_7/__init__.py | 5 +- .../ap_southeast_7/aws-backup-backupplan.json | 193 +++++ .../aws-datasync-locationefs.json | 135 ---- .../aws-dynamodb-globaltable.json | 669 ------------------ .../ap_southeast_7/aws-rds-dbinstance.json | 539 -------------- .../aws-route53-hostedzone.json | 108 --- .../providers/ca_central_1/__init__.py | 5 +- .../aws-cognito-userpooldomain.json | 50 ++ .../aws-connect-contactflowversion.json | 0 .../aws-datasync-locationsmb.json | 165 ----- .../aws-dynamodb-globaltable.json | 669 ------------------ .../aws-s3-accessgrantsinstance.json | 72 ++ .../schemas/providers/ca_west_1/__init__.py | 6 +- .../ca_west_1/aws-athena-datacatalog.json | 78 ++ .../ca_west_1/aws-backup-backupplan.json | 193 +++++ .../ca_west_1/aws-cognito-userpooldomain.json | 50 ++ .../aws-glue-crawler.json | 33 - .../ca_west_1/aws-ram-permission.json | 90 --- .../ca_west_1/aws-ram-resourceshare.json | 81 --- .../schemas/providers/cn_north_1/__init__.py | 4 +- .../cn_north_1/aws-backup-backupplan.json | 193 +++++ .../aws-emr-studio.json | 7 +- .../cn_north_1/aws-ssm-resourcedatasync.json | 135 ---- .../providers/cn_northwest_1/__init__.py | 22 +- .../aws-athena-datacatalog.json | 78 ++ .../cn_northwest_1/aws-backup-backupplan.json | 193 +++++ .../cn_northwest_1/aws-emr-studio.json | 183 +++++ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../aws-glue-crawler.json | 33 - .../cn_northwest_1/aws-rds-dbinstance.json | 539 -------------- .../cn_northwest_1/aws-ssm-document.json | 179 ----- .../aws-ssm-resourcedatasync.json | 135 ---- .../providers/eu_central_1/__init__.py | 13 +- .../eu_central_1/aws-cloudtrail-channel.json | 120 ++++ .../aws-cloudtrail-eventdatastore.json | 255 +++++++ .../providers/eu_central_1/aws-ec2-ipam.json | 138 ++++ .../aws-ec2-ipamresourcediscovery.json | 120 ++++ .../eu_central_1/aws-iotsitewise-portal.json | 126 ---- ...s-opensearchserverless-securityconfig.json | 158 +++++ .../eu_central_1/aws-ssm-document.json | 179 ----- .../providers/eu_central_2/__init__.py | 4 +- .../eu_central_2/aws-athena-datacatalog.json | 78 ++ .../eu_central_2/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../aws-emrcontainers-virtualcluster.json | 125 ---- ...s-opensearchserverless-securityconfig.json | 2 + .../schemas/providers/eu_north_1/__init__.py | 18 +- .../aws-cognito-userpooldomain.json | 50 ++ .../eu_north_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../eu_north_1/aws-ssm-document.json | 179 ----- .../schemas/providers/eu_south_1/__init__.py | 5 +- .../eu_south_1/aws-athena-datacatalog.json | 78 ++ .../eu_south_1/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../eu_south_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../schemas/providers/eu_south_2/__init__.py | 3 +- .../aws-cognito-userpooldomain.json | 50 ++ .../eu_south_2/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../schemas/providers/eu_west_1/__init__.py | 4 +- .../eu_west_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../eu_west_1/aws-rds-dbinstance.json | 539 -------------- .../aws-s3-accessgrantsinstance.json | 72 ++ .../schemas/providers/eu_west_2/__init__.py | 25 +- .../eu_west_2/aws-bedrock-prompt.json | 550 -------------- .../eu_west_2/aws-bedrock-promptversion.json | 536 -------------- .../eu_west_2/aws-cognito-userpooldomain.json | 50 ++ .../eu_west_2/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../eu_west_2/aws-rds-dbinstance.json | 539 -------------- .../providers/eu_west_2/aws-ssm-document.json | 179 ----- .../schemas/providers/eu_west_3/__init__.py | 21 +- .../eu_west_3/aws-bedrock-prompt.json | 550 -------------- .../eu_west_3/aws-bedrock-promptversion.json | 536 -------------- .../eu_west_3/aws-cognito-userpooldomain.json | 50 ++ .../eu_west_3/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../eu_west_3/aws-rds-dbinstance.json | 539 -------------- .../providers/eu_west_3/aws-ssm-document.json | 179 ----- .../providers/il_central_1/__init__.py | 5 +- .../il_central_1/aws-athena-datacatalog.json | 78 ++ .../il_central_1/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../aws-glue-crawler.json | 33 - .../providers/me_central_1/__init__.py | 6 +- .../me_central_1/aws-athena-datacatalog.json | 78 ++ .../me_central_1/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../aws-dynamodb-globaltable.json | 669 ------------------ .../me_central_1/aws-emr-studio.json | 183 +++++ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../schemas/providers/me_south_1/__init__.py | 5 +- .../me_south_1/aws-athena-datacatalog.json | 78 ++ .../me_south_1/aws-backup-backupplan.json | 193 +++++ .../aws-cognito-userpooldomain.json | 50 ++ .../me_south_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../schemas/providers/sa_east_1/__init__.py | 5 +- .../sa_east_1/aws-cognito-userpooldomain.json | 50 ++ .../sa_east_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../sa_east_1/aws-rds-dbinstance.json | 539 -------------- .../aws-s3-accessgrantsinstance.json | 72 ++ .../schemas/providers/us_east_1/__init__.py | 1 + .../us_east_1/aws-athena-datacatalog.json | 8 +- .../us_east_1/aws-b2bi-partnership.json | 8 +- .../us_east_1/aws-backup-backupplan.json | 28 + .../us_east_1/aws-cognito-userpooldomain.json | 19 +- .../aws-connect-contactflowversion.json | 54 ++ .../us_east_1/aws-datasync-locationsmb.json | 41 +- .../providers/us_east_1/aws-emr-studio.json | 7 +- .../providers/us_east_1/aws-glue-crawler.json | 33 + ...s-groundstation-dataflowendpointgroup.json | 5 + .../aws-groundstation-missionprofile.json | 11 + .../us_east_1/aws-iotsitewise-gateway.json | 5 - .../us_east_1/aws-ivs-playbackkeypair.json | 2 +- .../us_east_1/aws-ivs-publickey.json | 2 +- ...s-opensearchserverless-securityconfig.json | 2 +- .../providers/us_east_1/aws-sqs-queue.json | 5 +- .../schemas/providers/us_east_2/__init__.py | 4 +- .../us_east_2/aws-b2bi-partnership.json | 272 ------- .../us_east_2/aws-cognito-userpooldomain.json | 50 ++ .../us_east_2/aws-dynamodb-globaltable.json | 669 ------------------ .../us_east_2/aws-rds-dbinstance.json | 539 -------------- .../providers/us_gov_east_1/__init__.py | 5 +- .../us_gov_east_1/aws-athena-datacatalog.json | 78 ++ .../us_gov_east_1/aws-backup-backupplan.json | 193 +++++ .../aws-emrcontainers-virtualcluster.json | 125 ---- ...s-opensearchserverless-securityconfig.json | 2 + .../us_gov_east_1/aws-route53-hostedzone.json | 108 --- .../us_gov_east_1/aws-ssm-document.json | 179 ----- .../providers/us_gov_west_1/__init__.py | 7 +- .../us_gov_west_1/aws-athena-datacatalog.json | 78 ++ .../us_gov_west_1/aws-backup-backupplan.json | 193 +++++ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../aws-iotsitewise-gateway.json | 168 ----- ...s-opensearchserverless-securityconfig.json | 2 + .../us_gov_west_1/aws-ram-permission.json | 90 --- .../us_gov_west_1/aws-ram-resourceshare.json | 81 --- .../us_gov_west_1/aws-route53-hostedzone.json | 108 --- .../schemas/providers/us_west_1/__init__.py | 20 +- .../us_west_1/aws-cognito-userpooldomain.json | 50 ++ .../us_west_1/aws-dynamodb-globaltable.json | 669 ------------------ .../aws-emrcontainers-virtualcluster.json | 125 ---- .../us_west_1/aws-rds-dbinstance.json | 539 -------------- .../aws-s3-accessgrantsinstance.json | 72 ++ .../providers/us_west_1/aws-ssm-document.json | 179 ----- .../schemas/providers/us_west_2/__init__.py | 8 +- .../us_west_2/aws-ivs-publickey.json | 75 -- ...s-opensearchserverless-securityconfig.json | 158 +++++ .../rds/test_db_cluster_engine_version.py | 1 + .../rds/test_db_instance_engine_version.py | 1 + 267 files changed, 7509 insertions(+), 30465 deletions(-) create mode 100644 src/cfnlint/data/schemas/patches/extensions/all/aws_connect_contactflowversion/__init__.py create mode 100644 src/cfnlint/data/schemas/providers/af_south_1/aws-athena-datacatalog.json rename src/cfnlint/data/schemas/providers/{us_west_2 => af_south_1}/aws-backup-backupplan.json (86%) rename src/cfnlint/data/schemas/providers/{eu_central_1 => af_south_1}/aws-cognito-userpooldomain.json (66%) delete mode 100644 src/cfnlint/data/schemas/providers/af_south_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/af_south_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/af_south_1/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-rds-dbinstance.json rename src/cfnlint/data/schemas/providers/{us_west_2/aws-ivs-playbackkeypair.json => ap_east_1/aws-s3-accessgrantsinstance.json} (56%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-publickey.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-opensearchserverless-securityconfig.json rename src/cfnlint/data/schemas/providers/{eu_central_1/aws-ivs-playbackkeypair.json => ap_northeast_1/aws-s3-accessgrantsinstance.json} (56%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-athena-datacatalog.json rename src/cfnlint/data/schemas/providers/{ap_northeast_1 => ap_northeast_2}/aws-backup-backupplan.json (86%) create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-emrcontainers-virtualcluster.json rename src/cfnlint/data/schemas/providers/{ap_northeast_1/aws-ivs-playbackkeypair.json => ap_southeast_1/aws-s3-accessgrantsinstance.json} (56%) create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_2/aws-iotsitewise-gateway.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_2/aws-rds-dbinstance.json rename src/cfnlint/data/schemas/providers/{eu_central_1/aws-ivs-publickey.json => ap_southeast_2/aws-s3-accessgrantsinstance.json} (53%) create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-athena-datacatalog.json rename src/cfnlint/data/schemas/providers/{eu_central_1 => ap_southeast_3}/aws-backup-backupplan.json (86%) create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ssm-resourcedatasync.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-dynamodb-globaltable.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-backup-backupplan.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxlustre.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxontap.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxopenzfs.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxwindows.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_7/aws-backup-backupplan.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_7/aws-datasync-locationefs.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_7/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_7/aws-rds-dbinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_7/aws-route53-hostedzone.json create mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpooldomain.json rename src/cfnlint/data/schemas/providers/{eu_central_1 => ca_central_1}/aws-connect-contactflowversion.json (100%) delete mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-locationsmb.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-dynamodb-globaltable.json create mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-s3-accessgrantsinstance.json create mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpooldomain.json rename src/cfnlint/data/schemas/providers/{eu_central_1 => ca_west_1}/aws-glue-crawler.json (91%) delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-permission.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-resourceshare.json create mode 100644 src/cfnlint/data/schemas/providers/cn_north_1/aws-backup-backupplan.json rename src/cfnlint/data/schemas/providers/{us_west_2 => cn_north_1}/aws-emr-studio.json (97%) delete mode 100644 src/cfnlint/data/schemas/providers/cn_north_1/aws-ssm-resourcedatasync.json create mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emr-studio.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emrcontainers-virtualcluster.json rename src/cfnlint/data/schemas/providers/{cn_north_1 => cn_northwest_1}/aws-glue-crawler.json (91%) delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-document.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-resourcedatasync.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-channel.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-eventdatastore.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipam.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipamresourcediscovery.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-iotsitewise-portal.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-opensearchserverless-securityconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-emrcontainers-virtualcluster.json create mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-emrcontainers-virtualcluster.json create mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-s3-accessgrantsinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-prompt.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-promptversion.json create mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-rds-dbinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-ssm-document.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-prompt.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-promptversion.json create mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-emrcontainers-virtualcluster.json rename src/cfnlint/data/schemas/providers/{us_west_2 => il_central_1}/aws-glue-crawler.json (91%) create mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-dynamodb-globaltable.json create mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-emr-studio.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-emrcontainers-virtualcluster.json create mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-backup-backupplan.json create mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-emrcontainers-virtualcluster.json create mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json create mode 100644 src/cfnlint/data/schemas/providers/us_east_1/aws-connect-contactflowversion.json delete mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-b2bi-partnership.json create mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-backup-backupplan.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-route53-hostedzone.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ssm-document.json create mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-athena-datacatalog.json create mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-backup-backupplan.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iotsitewise-gateway.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-permission.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-resourceshare.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-route53-hostedzone.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-cognito-userpooldomain.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-dynamodb-globaltable.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-emrcontainers-virtualcluster.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbinstance.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-s3-accessgrantsinstance.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-ssm-document.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-publickey.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-opensearchserverless-securityconfig.json diff --git a/docs/rules.md b/docs/rules.md index cf6f74da0a..ab726d9645 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running ## Rules (_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_) -The following **241** rules are applied by this linter: +The following **243** rules are applied by this linter: | Rule ID | Title | Description | Config
(Name:Type:Default) | Source | Tags | | -------- | ----- | ----------- | ---------- | ------ | ---- | @@ -162,6 +162,8 @@ The following **241** rules are applied by this linter: | [E3056](../src/cfnlint/rules/resources/ecs/ServiceHealthCheckGracePeriodSeconds.py) | ECS service using HealthCheckGracePeriodSeconds must also have LoadBalancers specified | When using a HealthCheckGracePeriodSeconds on an ECS service, the service must also have a LoadBalancers specified with at least one LoadBalancer in the array. | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds) | `properties`,`ecs`,`service`,`container` | | [E3057](../src/cfnlint/rules/resources/cloudfront/DistributionTargetOriginId.py) | Validate that CloudFront TargetOriginId is a specified Origin | CloudFront TargetOriginId has to map to an Origin Id that is in the same DistributionConfig | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-targetoriginid) | `properties`,`cloudfront` | | [E3058](../src/cfnlint/rules/resources/properties/RequiredOr.py) | Validate at least one of the properties are required | Make sure at least one of the resource properties are included | | [Source](https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#requiredor) | `resources` | +| [E3501](../src/cfnlint/rules/resources/sqs/QueueProperties.py) | Validate SQS queue properties are valid | Depending on if the queue is FIFO or not the properties and allowed values change. This rule validates properties and values based on the queue type. | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html) | `resources`,`sqs` | +| [E3502](../src/cfnlint/rules/resources/sqs/QueueDLQ.py) | Validate SQS DLQ queues are the same type | SQS queues using DLQ have to have the destination queue as the same type (FIFO or standard) | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html) | `resources`,`sqs` | | [E3503](../src/cfnlint/rules/resources/certificatemanager/DomainValidationOptions.py) | ValidationDomain is superdomain of DomainName | In ValidationDomainOptions, the ValidationDomain must be a superdomain of the DomainName being validated | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain) | `certificate`,`certificatemanager`,`domainvalidationoptions`,`validationdomain` | | [E3504](../src/cfnlint/rules/resources/backup/BackupPlanLifecycleRule.py) | Check minimum 90 period is met between BackupPlan cold and delete | Check that Backup plans with lifecycle rules have >= 90 days between cold and delete | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html) | `properties`,`backup`,`plan`,`lifecycle` | | [E3510](../src/cfnlint/rules/resources/iam/IdentityPolicy.py) | Validate identity based IAM polices | IAM identity polices are embedded JSON in CloudFormation. This rule validates those embedded policies. | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) | `resources`,`iam` | diff --git a/src/cfnlint/data/AdditionalSpecs/Policies.json b/src/cfnlint/data/AdditionalSpecs/Policies.json index 2304bbb470..5897633c16 100644 --- a/src/cfnlint/data/AdditionalSpecs/Policies.json +++ b/src/cfnlint/data/AdditionalSpecs/Policies.json @@ -3289,7 +3289,7 @@ "aws:ResourceTag/${TagKey}", "aws:TagKeys", "datapipeline:PipelineCreator", - "datapipeline:Tag", + "datapipeline:Tag/${TagKey}", "datapipeline:workerGroup" ] }, @@ -5791,6 +5791,7 @@ "DescribeFHIRImportJob", "GetCapabilities", "GetExportedFile", + "GetHistoryByResourceId", "ListFHIRDatastores", "ListFHIRExportJobs", "ListFHIRImportJobs", @@ -5805,7 +5806,8 @@ "StartFHIRImportJob", "TagResource", "UntagResource", - "UpdateResource" + "UpdateResource", + "VersionReadResource" ], "HasResource": true, "StringPrefix": "healthlake", @@ -14457,6 +14459,7 @@ "CompleteAttachedFileUpload", "CreateAgentStatus", "CreateAuthenticationProfile", + "CreateContact", "CreateContactFlow", "CreateContactFlowModule", "CreateContactFlowVersion", @@ -14729,6 +14732,7 @@ "aws:TagKeys", "connect:AssignmentType", "connect:AttributeType", + "connect:ContactInitiationMethod", "connect:FlowType", "connect:InstanceId", "connect:MonitorCapabilities", @@ -14743,14 +14747,17 @@ "ARNFormat": "arn:aws:cases:${Region}:${Account}:domain/${DomainId}", "ARNRegex": "^arn:aws:cases:.+", "Actions": [ + "BatchGetCaseRule", "BatchGetField", "BatchPutFieldOptions", "CreateCase", + "CreateCaseRule", "CreateDomain", "CreateField", "CreateLayout", "CreateRelatedItem", "CreateTemplate", + "DeleteCaseRule", "DeleteDomain", "DeleteField", "DeleteLayout", @@ -14762,6 +14769,7 @@ "GetDomain", "GetLayout", "GetTemplate", + "ListCaseRules", "ListCasesForContact", "ListDomains", "ListFieldOptions", @@ -14775,6 +14783,7 @@ "TagResource", "UntagResource", "UpdateCase", + "UpdateCaseRule", "UpdateField", "UpdateLayout", "UpdateTemplate" diff --git a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json index 23efc025cc..22261160be 100644 --- a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json @@ -1 +1 @@ -{"etag": "\"864f2a70a48935671bfa5a7e6f76139a\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"b571803e12435d3e1e3e10190cf689bc\"", "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 index 80afcf3039..70071680f4 100644 --- a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json @@ -1 +1 @@ -{"etag": "\"23351e4dea45d94535b041c217af7dbb\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"7d686473d36dcc56086187aa5be974db\"", "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 3d4dd5993a..85e2a7935f 100644 --- a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json @@ -1 +1 @@ -{"etag": "\"4196d0766b38916d40c8ba45d3dd11e2\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"e830055a87a5379cfc3708ca05ff8862\"", "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 15d10a6447..ea164fd0f1 100644 --- a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json @@ -1 +1 @@ -{"etag": "\"191a03fb37461e0c365e0ac8df993046\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"0877a72381b1ca95c39a008d598ebdde\"", "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 2dfa3bf66a..cf601b1d65 100644 --- a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json @@ -1 +1 @@ -{"etag": "\"47c48854480a74c614b19bfea43e7bbc\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"e0726954624dcfddb1feb3487eb0a0be\"", "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 a2b48ab377..03881bb7d8 100644 --- a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json @@ -1 +1 @@ -{"etag": "\"606a777988341795f0013f1ba30bf669\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"94102baa9267007c7fb9e390c68a794c\"", "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 69c0dd0a5e..4a77d208a1 100644 --- a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json @@ -1 +1 @@ -{"etag": "\"04636f249d9fb481a8b497b6691b93b5\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"b97baa9009d68753ee72a94a7660baf8\"", "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 255c17e4c5..6e18588c02 100644 --- a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json @@ -1 +1 @@ -{"etag": "\"9b3e5fd1bf5492909e8284880e673deb\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"c99a9666ae5d7f0916a408f0452d36b0\"", "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 adda380d5b..2ab7c75ae4 100644 --- a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json @@ -1 +1 @@ -{"etag": "\"21d0e06c27c3560c216a34850553acb5\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"7ba4843068ca28d9ca62dbd0c62d201f\"", "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 1f983dc348..a394efb769 100644 --- a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json @@ -1 +1 @@ -{"etag": "\"89098228c3edbd07990144dc6219edf2\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d848128af35eb4edc82a46b22acf3a18\"", "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 6d383ae43b..c88b621ccf 100644 --- a/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json @@ -1 +1 @@ -{"etag": "\"db8bd5471baeb50bb693e6c32ed73307\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"c2efb2b268fe7476b574fd8c5c6e7549\"", "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 84cbf48496..cae5fbb99d 100644 --- a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json @@ -1 +1 @@ -{"etag": "\"fdcac60606c8959a8110e8a55d0e5d74\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"1ea83e91c7d45a96e65b12cd633f7795\"", "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 e0636c6dc9..4857ded9a7 100644 --- a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json @@ -1 +1 @@ -{"etag": "\"8374413ba53a2f11922f187f8d338cbd\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"74479f65cb49bc0f2cb653c5d4392d3c\"", "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 e971b63b29..20c56a268e 100644 --- a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json @@ -1 +1 @@ -{"etag": "\"eb2c92280e71b31d63f60ed550816478\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2bf8a3c2c5a4946252800da6de81b703\"", "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 8cb56fe351..d9d1842a9d 100644 --- a/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json @@ -1 +1 @@ -{"etag": "\"a164cc9dd515ad6650b6e8392072e88a\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d189ed615626b146bc0a2a17a89f99cf\"", "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 02ac7a9cc2..507aacb778 100644 --- a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json @@ -1 +1 @@ -{"etag": "\"eb867dcd53f32de0f32cf5f5bd8a8427\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"4a18cf617b62027e95d500c9b46e4946\"", "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 1a803dd5ab..76af6d24cf 100644 --- a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json @@ -1 +1 @@ -{"etag": "\"3ee3352864e00acadcadc82e2013b4f9\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"79a20ef61503f10248ec1f8c897588dd\"", "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 47a8faa479..6fe1c871b1 100644 --- a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json @@ -1 +1 @@ -{"etag": "\"26d599d2eb766163f1593dcd340b365e\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"bff6ed3fbe1965bf4780a68d3861d0be\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/938898214b52d71b96c5ccc34de3b5bdc83164555533634faab47e36a5074fe6.meta.json b/src/cfnlint/data/DownloadsMetadata/938898214b52d71b96c5ccc34de3b5bdc83164555533634faab47e36a5074fe6.meta.json index 32914a1c0b..788356e75d 100644 --- a/src/cfnlint/data/DownloadsMetadata/938898214b52d71b96c5ccc34de3b5bdc83164555533634faab47e36a5074fe6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/938898214b52d71b96c5ccc34de3b5bdc83164555533634faab47e36a5074fe6.meta.json @@ -1 +1 @@ -{"etag": "\"f1ab6ee4025044403523ee51526a1995\"", "url": "https://schema.cloudformation.ap-southeast-7.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"590ded7d4115439e16a096ae5742e983\"", "url": "https://schema.cloudformation.ap-southeast-7.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json index 6c5215199c..5a6777f550 100644 --- a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json @@ -1 +1 @@ -{"etag": "\"09f9d42f7601c287870889b28372aae0\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"daa0d7fd2f30f2e470fe17b9b9f18076\"", "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 5c27eab09c..a0d717da15 100644 --- a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json @@ -1 +1 @@ -{"etag": "\"c1e3c0c1d1081d265b57051774da7a2b\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"972a1e4046cfdd426deb0fe3588c0eee\"", "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 f556135b25..aa37ae521a 100644 --- a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json @@ -1 +1 @@ -{"etag": "\"5ae4b6ab49800bc208cc1a80d6575044\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cd9b95b64f53c1a692fb4e4af23e2e41\"", "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 d593215602..cef767f7bc 100644 --- a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json @@ -1 +1 @@ -{"etag": "\"fa89c80162438caa400885693a63193b\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"992666c2b48f43b671d6c99f61646d41\"", "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 7bdd94f035..68af1f6414 100644 --- a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json @@ -1 +1 @@ -{"etag": "\"3ea72e0432889462046d24abf36eacf5\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"ebd038da3bbedcfe3a2f79d2a141c6d3\"", "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 3552fe252d..c24a7cb887 100644 --- a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json @@ -1 +1 @@ -{"etag": "\"96fc5e6ada04b14fbcc164ec7c4ab804\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"9da93dfe9ce67c1bbc7ea888ad311707\"", "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 4b7fecb32c..24d5453b3a 100644 --- a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json @@ -1 +1 @@ -{"etag": "\"469cef2139cbdd11d3c70990037b6864\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"728e5500b69500dc4075468d376dd865\"", "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 b93c695f0f..ad777dd0db 100644 --- a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json @@ -1 +1 @@ -{"etag": "\"a9116c0275fba1b642d9dc512f985aab\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"4ac0d0423fc6c7a7cfe654c42833edc1\"", "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 d2bc975c78..0f8b1681f9 100644 --- a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json @@ -1 +1 @@ -{"etag": "\"e9106accb296b640df8580b4db02d7de\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"ce631e489e92c944cc95ac9cf417cde1\"", "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 fc1dca3525..ca418a9499 100644 --- a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json @@ -1 +1 @@ -{"etag": "\"396f8ab1c972ddd31e3ffc158aeeb287\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d63a5dfb22f57ff7695da0430cb9f308\"", "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 faabd10b12..2f690dec08 100644 --- a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json @@ -1 +1 @@ -{"etag": "\"6219226ac0e2f126ca45f5664c0a7701\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2cbde0f6c1768785b87fef5eaedfe189\"", "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 23db255c6f..4f8320a946 100644 --- a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json @@ -1 +1 @@ -{"etag": "\"5d83558d6d9e45b5d4d8956ef8ee1606\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"0ec6a3894d8af094712ecab338f8454d\"", "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 416ea95634..26baa1c471 100644 --- a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json @@ -1 +1 @@ -{"etag": "\"c49fda8c83a0864d977c9acfd731cc74\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"090e0240cfcf77131dc465d2e28f5d21\"", "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 02c5258228..853adf08f7 100644 --- a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json @@ -1 +1 @@ -{"etag": "\"5385056a0060458aedc01fbf0d38dff9\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"4006550cf612c5704b704fc11a8b1caa\"", "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 56d4476da8..8879796c25 100644 --- a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json @@ -1 +1 @@ -{"etag": "\"26525a35af8680e02fe4418970851fd1\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6c78ac7511863cc31d82f1e7ec8a73ea\"", "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 48e7feea94..f991e0701d 100644 --- a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json @@ -1 +1 @@ -{"etag": "\"edd78fb90aab7a647448f7147ff65065\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"f6531b3678a1e1ab4cdd0ae5614d0f90\"", "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 20a621e219..788db9e260 100644 --- a/src/cfnlint/data/Serverless/ManagedPolicies.json +++ b/src/cfnlint/data/Serverless/ManagedPolicies.json @@ -258,6 +258,8 @@ "AWSElasticDisasterRecoveryStagingAccountPolicy_v2": "arn:aws:iam::aws:policy/service-role/AWSElasticDisasterRecoveryStagingAccountPolicy_v2", "AWSElasticLoadBalancingClassicServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AWSElasticLoadBalancingClassicServiceRolePolicy", "AWSElasticLoadBalancingServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AWSElasticLoadBalancingServiceRolePolicy", + "AWSElementalMediaConnectFullAccess": "arn:aws:iam::aws:policy/AWSElementalMediaConnectFullAccess", + "AWSElementalMediaConnectReadOnlyAccess": "arn:aws:iam::aws:policy/AWSElementalMediaConnectReadOnlyAccess", "AWSElementalMediaConvertFullAccess": "arn:aws:iam::aws:policy/AWSElementalMediaConvertFullAccess", "AWSElementalMediaConvertReadOnly": "arn:aws:iam::aws:policy/AWSElementalMediaConvertReadOnly", "AWSElementalMediaLiveFullAccess": "arn:aws:iam::aws:policy/AWSElementalMediaLiveFullAccess", diff --git a/src/cfnlint/data/schemas/extensions/aws_amazonmq_broker/instancetype_enum.json b/src/cfnlint/data/schemas/extensions/aws_amazonmq_broker/instancetype_enum.json index 923d41c4e0..4deaa39388 100644 --- a/src/cfnlint/data/schemas/extensions/aws_amazonmq_broker/instancetype_enum.json +++ b/src/cfnlint/data/schemas/extensions/aws_amazonmq_broker/instancetype_enum.json @@ -2,11 +2,8 @@ "_description": "Automatically updated using update_specs_from_pricing", "af-south-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -14,11 +11,8 @@ }, "ap-east-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -27,11 +21,8 @@ "ap-northeast-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -41,11 +32,8 @@ "ap-northeast-2": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -54,11 +42,8 @@ }, "ap-northeast-3": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -67,11 +52,8 @@ "ap-south-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -80,11 +62,8 @@ }, "ap-south-2": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -93,11 +72,8 @@ "ap-southeast-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -107,11 +83,8 @@ "ap-southeast-2": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -120,11 +93,8 @@ }, "ap-southeast-3": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -132,11 +102,8 @@ }, "ap-southeast-4": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -158,11 +125,8 @@ "ca-central-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -171,11 +135,8 @@ }, "ca-west-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -206,11 +167,8 @@ "eu-central-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -219,11 +177,8 @@ }, "eu-central-2": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -231,11 +186,8 @@ }, "eu-north-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -243,11 +195,8 @@ }, "eu-south-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -255,11 +204,8 @@ }, "eu-south-2": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -268,11 +214,8 @@ "eu-west-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -282,11 +225,8 @@ "eu-west-2": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -295,11 +235,8 @@ }, "eu-west-3": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -308,11 +245,8 @@ }, "il-central-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -320,11 +254,8 @@ }, "me-central-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -332,11 +263,8 @@ }, "me-south-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -345,11 +273,8 @@ "sa-east-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -359,11 +284,8 @@ "us-east-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -373,11 +295,8 @@ "us-east-2": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -386,11 +305,8 @@ }, "us-gov-east-1": { "enum": [ - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t3.micro" @@ -399,11 +315,8 @@ "us-gov-west-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -413,11 +326,8 @@ "us-west-1": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", @@ -427,11 +337,8 @@ "us-west-2": { "enum": [ "mq.m4.large", - "mq.m5.16xl", - "mq.m5.24xl", "mq.m5.2xlarge", "mq.m5.4xlarge", - "mq.m5.8xl", "mq.m5.large", "mq.m5.xlarge", "mq.t2.micro", diff --git a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json index 4d82131f9d..e1ef59b0f2 100644 --- a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json +++ b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json @@ -71,7 +71,8 @@ "8.0.mysql_aurora.3.06.1", "8.0.mysql_aurora.3.07.0", "8.0.mysql_aurora.3.07.1", - "8.0.mysql_aurora.3.08.0" + "8.0.mysql_aurora.3.08.0", + "8.0.mysql_aurora.3.08.1" ] } } @@ -170,6 +171,7 @@ "5.7.44-rds.20240408", "5.7.44-rds.20240529", "5.7.44-rds.20240808", + "5.7.44-rds.20250103", "8.0.32", "8.0.33", "8.0.34", @@ -223,11 +225,14 @@ "13.16", "13.17", "13.18", + "13.19", "14.12", "14.13", "14.14", "14.15", + "14.16", "15.10", + "15.11", "15.7", "15.8", "15.9", @@ -235,8 +240,10 @@ "16.4", "16.5", "16.6", + "16.7", "17.1", - "17.2" + "17.2", + "17.3" ] } } diff --git a/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json b/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json index 4f993db9ca..afb16bab8b 100644 --- a/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json +++ b/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json @@ -87,7 +87,8 @@ "8.0.mysql_aurora.3.06.1", "8.0.mysql_aurora.3.07.0", "8.0.mysql_aurora.3.07.1", - "8.0.mysql_aurora.3.08.0" + "8.0.mysql_aurora.3.08.0", + "8.0.mysql_aurora.3.08.1" ] } } @@ -432,6 +433,7 @@ "5.7.44-rds.20240408", "5.7.44-rds.20240529", "5.7.44-rds.20240808", + "5.7.44-rds.20250103", "8.0.32", "8.0.33", "8.0.34", @@ -488,13 +490,16 @@ "13.16", "13.17", "13.18", + "13.19", "14", "14.12", "14.13", "14.14", "14.15", + "14.16", "15", "15.10", + "15.11", "15.7", "15.8", "15.9", @@ -503,9 +508,11 @@ "16.4", "16.5", "16.6", + "16.7", "17", "17.1", - "17.2" + "17.2", + "17.3" ] } } diff --git a/src/cfnlint/data/schemas/patches/extensions/all/aws_connect_contactflowversion/__init__.py b/src/cfnlint/data/schemas/patches/extensions/all/aws_connect_contactflowversion/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cfnlint/data/schemas/patches/extensions/all/aws_groundstation_missionprofile/boto.json b/src/cfnlint/data/schemas/patches/extensions/all/aws_groundstation_missionprofile/boto.json index b16ff77b16..b2d595c840 100644 --- a/src/cfnlint/data/schemas/patches/extensions/all/aws_groundstation_missionprofile/boto.json +++ b/src/cfnlint/data/schemas/patches/extensions/all/aws_groundstation_missionprofile/boto.json @@ -43,5 +43,15 @@ "op": "add", "path": "/definitions/StreamsKmsKey/properties/KmsAliasArn/minLength", "value": 1 + }, + { + "op": "add", + "path": "/definitions/StreamsKmsKey/properties/KmsAliasName/maxLength", + "value": 256 + }, + { + "op": "add", + "path": "/definitions/StreamsKmsKey/properties/KmsAliasName/minLength", + "value": 1 } ] diff --git a/src/cfnlint/data/schemas/patches/extensions/all/aws_opensearchserverless_securityconfig/boto.json b/src/cfnlint/data/schemas/patches/extensions/all/aws_opensearchserverless_securityconfig/boto.json index 9d15768031..8b5c0cac64 100644 --- a/src/cfnlint/data/schemas/patches/extensions/all/aws_opensearchserverless_securityconfig/boto.json +++ b/src/cfnlint/data/schemas/patches/extensions/all/aws_opensearchserverless_securityconfig/boto.json @@ -1,16 +1,18 @@ [ { "op": "add", - "path": "/definitions/IamIdentityCenterGroupAttribute/enum", - "value": [ - "GroupId", - "GroupName" - ] + "path": "/definitions/SamlConfigOptions/properties/SessionTimeout/maximum", + "value": 720 + }, + { + "op": "add", + "path": "/definitions/SamlConfigOptions/properties/SessionTimeout/minimum", + "value": 5 }, { "op": "add", "path": "/definitions/IamIdentityCenterInstanceArn/pattern", - "value": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$" + "value": "arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}" }, { "op": "add", @@ -33,12 +35,10 @@ }, { "op": "add", - "path": "/definitions/SamlConfigOptions/properties/SessionTimeout/maximum", - "value": 720 - }, - { - "op": "add", - "path": "/definitions/SamlConfigOptions/properties/SessionTimeout/minimum", - "value": 5 + "path": "/definitions/IamIdentityCenterGroupAttribute/enum", + "value": [ + "GroupId", + "GroupName" + ] } ] 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 561446abd3..a9c96e5a7f 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py @@ -960,7 +960,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -970,7 +969,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1051,7 +1049,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1143,6 +1140,7 @@ "aws-docdb-dbinstance.json", "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1284,6 +1282,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1492,6 +1491,7 @@ "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-backup-backupplan.json similarity index 86% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-backup-backupplan.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-backup-backupplan.json index 4e2fc66ab6..0cfb3466ba 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-backup-backupplan.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-backup-backupplan.json @@ -68,14 +68,6 @@ "EnableContinuousBackup": { "type": "boolean" }, - "IndexActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/IndexActionsResourceType" - }, - "type": "array", - "uniqueItems": false - }, "Lifecycle": { "$ref": "#/definitions/LifecycleResourceType" }, @@ -125,15 +117,6 @@ ], "type": "object" }, - "IndexActionsResourceType": { - "additionalProperties": false, - "properties": { - "ResourceTypes": { - "$ref": "#/definitions/ResourceTypes" - } - }, - "type": "object" - }, "LifecycleResourceType": { "additionalProperties": false, "if": { @@ -162,17 +145,6 @@ } }, "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ResourceType" - }, - "type": "array", - "uniqueItems": true } }, "primaryIdentifier": [ diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpooldomain.json similarity index 66% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpooldomain.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpooldomain.json index 8222c924aa..3ea51b8a0b 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpooldomain.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpooldomain.json @@ -16,8 +16,7 @@ } }, "primaryIdentifier": [ - "/properties/UserPoolId", - "/properties/Domain" + "/properties/Id" ], "properties": { "CloudFrontDistribution": { @@ -29,6 +28,9 @@ "Domain": { "type": "string" }, + "Id": { + "type": "string" + }, "ManagedLoginVersion": { "type": "integer" }, @@ -37,21 +39,12 @@ } }, "readOnlyProperties": [ + "/properties/Id", "/properties/CloudFrontDistribution" ], "required": [ "UserPoolId", "Domain" ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Cognito::UserPoolDomain", - "writeOnlyProperties": [ - "/properties/ManagedLoginVersion" - ] + "typeName": "AWS::Cognito::UserPoolDomain" } diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py index 4ff7a639c5..00ea825f07 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py @@ -1030,7 +1030,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1092,6 +1091,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1233,6 +1233,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1458,6 +1459,7 @@ "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -1514,7 +1516,6 @@ "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-s3-accessgrant.json", - "aws-s3-accessgrantsinstance.json", "aws-s3-accessgrantslocation.json", "aws-s3-accesspoint.json", "aws-s3-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-playbackkeypair.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-s3-accessgrantsinstance.json similarity index 56% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-playbackkeypair.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-s3-accessgrantsinstance.json index ad9bf6a3f4..fe8f402598 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-playbackkeypair.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-s3-accessgrantsinstance.json @@ -1,21 +1,22 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" + "/properties/Tags" ], "definitions": { + "AccessGrantsInstanceArn": { + "type": "string" + }, + "IdentityCenterArn": { + "type": "string" + }, "Tag": { "additionalProperties": false, "properties": { "Key": { - "maxLength": 128, - "minLength": 1, "type": "string" }, "Value": { - "maxLength": 256, - "minLength": 0, "type": "string" } }, @@ -27,42 +28,39 @@ } }, "primaryIdentifier": [ - "/properties/Arn" + "/properties/AccessGrantsInstanceArn" ], "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" + "AccessGrantsInstanceArn": { + "$ref": "#/definitions/AccessGrantsInstanceArn", + "examples": [ + "arn:aws:s3:us-east-2:479290226168:access-grants/default" + ] }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", + "AccessGrantsInstanceId": { "type": "string" }, - "PublicKeyMaterial": { - "type": "string" + "IdentityCenterArn": { + "$ref": "#/definitions/IdentityCenterArn", + "examples": [ + "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" + ] }, "Tags": { "insertionOrder": false, "items": { "$ref": "#/definitions/Tag" }, - "maxItems": 50, "type": "array", "uniqueItems": true } }, "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" + "/properties/AccessGrantsInstanceArn", + "/properties/AccessGrantsInstanceId" ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", "tagging": { "cloudFormationSystemTags": false, "tagOnCreate": true, @@ -70,8 +68,5 @@ "tagUpdatable": true, "taggable": true }, - "typeName": "AWS::IVS::PlaybackKeyPair", - "writeOnlyProperties": [ - "/properties/PublicKeyMaterial" - ] + "typeName": "AWS::S3::AccessGrantsInstance" } diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py index aef5e6eac6..d709bfa878 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py @@ -1430,6 +1430,7 @@ "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", "aws-autoscalingplans-scalingplan.json", + "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1829,6 +1830,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-entityresolution-idmappingworkflow.json", "aws-entityresolution-idnamespace.json", @@ -2022,7 +2024,9 @@ "aws-ivs-channel.json", "aws-ivs-encoderconfiguration.json", "aws-ivs-ingestconfiguration.json", + "aws-ivs-playbackkeypair.json", "aws-ivs-playbackrestrictionpolicy.json", + "aws-ivs-publickey.json", "aws-ivs-recordingconfiguration.json", "aws-ivs-stage.json", "aws-ivs-storageconfiguration.json", @@ -2208,7 +2212,6 @@ "aws-opensearchserverless-accesspolicy.json", "aws-opensearchserverless-collection.json", "aws-opensearchserverless-lifecyclepolicy.json", - "aws-opensearchserverless-securityconfig.json", "aws-opensearchserverless-securitypolicy.json", "aws-opensearchserverless-vpcendpoint.json", "aws-opensearchservice-application.json", @@ -2351,7 +2354,6 @@ "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-bucketpolicy.json", @@ -2479,6 +2481,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-publickey.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-publickey.json deleted file mode 100644 index fd6cfdbe6b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-publickey.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" - ], - "definitions": { - "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/Arn" - ], - "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:public-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", - "type": "string" - }, - "PublicKeyMaterial": { - "pattern": "-----BEGIN PUBLIC KEY-----\\r?\\n([a-zA-Z0-9+/=\\r\\n]+)\\r?\\n-----END PUBLIC KEY-----(\\r?\\n)?", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::IVS::PublicKey" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-opensearchserverless-securityconfig.json new file mode 100644 index 0000000000..d405d31cee --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-opensearchserverless-securityconfig.json @@ -0,0 +1,158 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/Name" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Type", + "/properties/Name", + "/properties/IamIdentityCenterOptions/InstanceArn" + ], + "definitions": { + "IamIdentityCenterApplicationArn": { + "type": "string" + }, + "IamIdentityCenterConfigOptions": { + "additionalProperties": false, + "properties": { + "ApplicationArn": { + "$ref": "#/definitions/IamIdentityCenterApplicationArn" + }, + "ApplicationDescription": { + "type": "string" + }, + "ApplicationName": { + "type": "string" + }, + "GroupAttribute": { + "$ref": "#/definitions/IamIdentityCenterGroupAttribute" + }, + "InstanceArn": { + "$ref": "#/definitions/IamIdentityCenterInstanceArn" + }, + "UserAttribute": { + "$ref": "#/definitions/IamIdentityCenterUserAttribute" + } + }, + "required": [ + "InstanceArn" + ], + "type": "object" + }, + "IamIdentityCenterGroupAttribute": { + "enum": [ + "GroupId", + "GroupName" + ], + "type": "string" + }, + "IamIdentityCenterInstanceArn": { + "maxLength": 1224, + "minLength": 10, + "pattern": "arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}", + "type": "string" + }, + "IamIdentityCenterUserAttribute": { + "enum": [ + "Email", + "UserId", + "UserName" + ], + "type": "string" + }, + "SamlConfigOptions": { + "additionalProperties": false, + "properties": { + "GroupAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + }, + "Metadata": { + "maxLength": 51200, + "minLength": 1, + "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+", + "type": "string" + }, + "OpenSearchServerlessEntityId": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^aws:opensearch:[0-9]{12}:*", + "type": "string" + }, + "SessionTimeout": { + "maximum": 720, + "minimum": 5, + "type": "integer" + }, + "UserAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + } + }, + "required": [ + "Metadata" + ], + "type": "object" + }, + "SecurityConfigType": { + "enum": [ + "saml", + "iamidentitycenter" + ], + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Description": { + "maxLength": 1000, + "minLength": 1, + "type": "string" + }, + "IamIdentityCenterOptions": { + "$ref": "#/definitions/IamIdentityCenterConfigOptions" + }, + "Id": { + "maxLength": 100, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 32, + "minLength": 3, + "pattern": "^[a-z][a-z0-9-]{2,31}$", + "type": "string" + }, + "SamlOptions": { + "$ref": "#/definitions/SamlConfigOptions" + }, + "Type": { + "$ref": "#/definitions/SecurityConfigType" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/IamIdentityCenterOptions/ApplicationArn", + "/properties/IamIdentityCenterOptions/ApplicationName", + "/properties/IamIdentityCenterOptions/ApplicationDescription" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-opensearchserverless", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::OpenSearchServerless::SecurityConfig", + "writeOnlyProperties": [ + "/properties/Name" + ] +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-playbackkeypair.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-s3-accessgrantsinstance.json similarity index 56% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-playbackkeypair.json rename to src/cfnlint/data/schemas/providers/ap_northeast_1/aws-s3-accessgrantsinstance.json index ad9bf6a3f4..fe8f402598 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-playbackkeypair.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-s3-accessgrantsinstance.json @@ -1,21 +1,22 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" + "/properties/Tags" ], "definitions": { + "AccessGrantsInstanceArn": { + "type": "string" + }, + "IdentityCenterArn": { + "type": "string" + }, "Tag": { "additionalProperties": false, "properties": { "Key": { - "maxLength": 128, - "minLength": 1, "type": "string" }, "Value": { - "maxLength": 256, - "minLength": 0, "type": "string" } }, @@ -27,42 +28,39 @@ } }, "primaryIdentifier": [ - "/properties/Arn" + "/properties/AccessGrantsInstanceArn" ], "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" + "AccessGrantsInstanceArn": { + "$ref": "#/definitions/AccessGrantsInstanceArn", + "examples": [ + "arn:aws:s3:us-east-2:479290226168:access-grants/default" + ] }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", + "AccessGrantsInstanceId": { "type": "string" }, - "PublicKeyMaterial": { - "type": "string" + "IdentityCenterArn": { + "$ref": "#/definitions/IdentityCenterArn", + "examples": [ + "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" + ] }, "Tags": { "insertionOrder": false, "items": { "$ref": "#/definitions/Tag" }, - "maxItems": 50, "type": "array", "uniqueItems": true } }, "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" + "/properties/AccessGrantsInstanceArn", + "/properties/AccessGrantsInstanceId" ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", "tagging": { "cloudFormationSystemTags": false, "tagOnCreate": true, @@ -70,8 +68,5 @@ "tagUpdatable": true, "taggable": true }, - "typeName": "AWS::IVS::PlaybackKeyPair", - "writeOnlyProperties": [ - "/properties/PublicKeyMaterial" - ] + "typeName": "AWS::S3::AccessGrantsInstance" } diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 249192cdd9..9ede31f0df 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py @@ -1009,6 +1009,13 @@ "AWS::SES::ContactList", "AWS::SES::DedicatedIpPool", "AWS::SES::EmailIdentity", + "AWS::SES::MailManagerAddonInstance", + "AWS::SES::MailManagerAddonSubscription", + "AWS::SES::MailManagerArchive", + "AWS::SES::MailManagerIngressPoint", + "AWS::SES::MailManagerRelay", + "AWS::SES::MailManagerRuleSet", + "AWS::SES::MailManagerTrafficPolicy", "AWS::SES::ReceiptFilter", "AWS::SES::ReceiptRule", "AWS::SES::ReceiptRuleSet", @@ -1303,7 +1310,6 @@ "aws-aps-workspace.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -1314,7 +1320,6 @@ "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", "aws-autoscalingplans-scalingplan.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1427,7 +1432,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1688,6 +1692,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-entityresolution-idmappingworkflow.json", "aws-entityresolution-idnamespace.json", @@ -2253,6 +2258,13 @@ "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", "aws-ses-emailidentity.json", + "aws-ses-mailmanageraddoninstance.json", + "aws-ses-mailmanageraddonsubscription.json", + "aws-ses-mailmanagerarchive.json", + "aws-ses-mailmanageringresspoint.json", + "aws-ses-mailmanagerrelay.json", + "aws-ses-mailmanagerruleset.json", + "aws-ses-mailmanagertrafficpolicy.json", "aws-ses-receiptfilter.json", "aws-ses-receiptrule.json", "aws-ses-receiptruleset.json", @@ -2272,6 +2284,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-backup-backupplan.json similarity index 86% rename from src/cfnlint/data/schemas/providers/ap_northeast_1/aws-backup-backupplan.json rename to src/cfnlint/data/schemas/providers/ap_northeast_2/aws-backup-backupplan.json index 4e2fc66ab6..0cfb3466ba 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-backup-backupplan.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-backup-backupplan.json @@ -68,14 +68,6 @@ "EnableContinuousBackup": { "type": "boolean" }, - "IndexActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/IndexActionsResourceType" - }, - "type": "array", - "uniqueItems": false - }, "Lifecycle": { "$ref": "#/definitions/LifecycleResourceType" }, @@ -125,15 +117,6 @@ ], "type": "object" }, - "IndexActionsResourceType": { - "additionalProperties": false, - "properties": { - "ResourceTypes": { - "$ref": "#/definitions/ResourceTypes" - } - }, - "type": "object" - }, "LifecycleResourceType": { "additionalProperties": false, "if": { @@ -162,17 +145,6 @@ } }, "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ResourceType" - }, - "type": "array", - "uniqueItems": true } }, "primaryIdentifier": [ diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-opensearchserverless-securityconfig.json index 4e0b9a6bcd..425ff38269 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-opensearchserverless-securityconfig.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-opensearchserverless-securityconfig.json @@ -26,6 +26,8 @@ "type": "string" }, "SessionTimeout": { + "maximum": 720, + "minimum": 5, "type": "integer" }, "UserAttribute": { diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 2a773151a7..53261c95c5 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py @@ -1019,7 +1019,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1065,6 +1064,7 @@ "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", "aws-dms-replicationtask.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1420,6 +1420,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} 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 a7c8f4cbcc..7bad7cd2ab 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py @@ -1434,7 +1434,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1529,6 +1528,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1678,6 +1678,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -2090,6 +2091,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -2276,6 +2278,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 194c987ff0..5c5eedce4f 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py @@ -843,7 +843,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -886,6 +885,7 @@ "aws-docdb-dbinstance.json", "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1005,6 +1005,7 @@ "aws-emr-instancefleetconfig.json", "aws-emr-instancegroupconfig.json", "aws-emr-step.json", + "aws-emrcontainers-virtualcluster.json", "aws-events-apidestination.json", "aws-events-archive.json", "aws-events-connection.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} 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 a478cf9de9..6fed4956b5 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py @@ -2307,7 +2307,6 @@ "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-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-playbackkeypair.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-s3-accessgrantsinstance.json similarity index 56% rename from src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-playbackkeypair.json rename to src/cfnlint/data/schemas/providers/ap_southeast_1/aws-s3-accessgrantsinstance.json index ad9bf6a3f4..fe8f402598 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ivs-playbackkeypair.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-s3-accessgrantsinstance.json @@ -1,21 +1,22 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" + "/properties/Tags" ], "definitions": { + "AccessGrantsInstanceArn": { + "type": "string" + }, + "IdentityCenterArn": { + "type": "string" + }, "Tag": { "additionalProperties": false, "properties": { "Key": { - "maxLength": 128, - "minLength": 1, "type": "string" }, "Value": { - "maxLength": 256, - "minLength": 0, "type": "string" } }, @@ -27,42 +28,39 @@ } }, "primaryIdentifier": [ - "/properties/Arn" + "/properties/AccessGrantsInstanceArn" ], "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" + "AccessGrantsInstanceArn": { + "$ref": "#/definitions/AccessGrantsInstanceArn", + "examples": [ + "arn:aws:s3:us-east-2:479290226168:access-grants/default" + ] }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", + "AccessGrantsInstanceId": { "type": "string" }, - "PublicKeyMaterial": { - "type": "string" + "IdentityCenterArn": { + "$ref": "#/definitions/IdentityCenterArn", + "examples": [ + "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" + ] }, "Tags": { "insertionOrder": false, "items": { "$ref": "#/definitions/Tag" }, - "maxItems": 50, "type": "array", "uniqueItems": true } }, "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" + "/properties/AccessGrantsInstanceArn", + "/properties/AccessGrantsInstanceId" ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", "tagging": { "cloudFormationSystemTags": false, "tagOnCreate": true, @@ -70,8 +68,5 @@ "tagUpdatable": true, "taggable": true }, - "typeName": "AWS::IVS::PlaybackKeyPair", - "writeOnlyProperties": [ - "/properties/PublicKeyMaterial" - ] + "typeName": "AWS::S3::AccessGrantsInstance" } 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 d76793e6d2..41323f413e 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py @@ -1303,7 +1303,6 @@ "alexa-ask-skill.json", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", - "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -1545,7 +1544,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -2007,6 +2005,7 @@ "aws-iotsitewise-asset.json", "aws-iotsitewise-assetmodel.json", "aws-iotsitewise-dashboard.json", + "aws-iotsitewise-gateway.json", "aws-iotsitewise-portal.json", "aws-iotsitewise-project.json", "aws-iotthingsgraph-flowtemplate.json", @@ -2280,6 +2279,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -2343,7 +2343,6 @@ "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-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json new file mode 100644 index 0000000000..fb1b8893b3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json @@ -0,0 +1,440 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Type", + "/properties/KeyAlgorithm", + "/properties/SigningAlgorithm", + "/properties/Subject", + "/properties/CsrExtensions", + "/properties/KeyStorageSecurityStandard", + "/properties/UsageMode" + ], + "definitions": { + "AccessDescription": { + "additionalProperties": false, + "properties": { + "AccessLocation": { + "$ref": "#/definitions/GeneralName" + }, + "AccessMethod": { + "$ref": "#/definitions/AccessMethod" + } + }, + "required": [ + "AccessMethod", + "AccessLocation" + ], + "type": "object" + }, + "AccessMethod": { + "additionalProperties": false, + "properties": { + "AccessMethodType": { + "$ref": "#/definitions/AccessMethodType" + }, + "CustomObjectIdentifier": { + "$ref": "#/definitions/CustomObjectIdentifier" + } + }, + "type": "object" + }, + "AccessMethodType": { + "type": "string" + }, + "Arn": { + "type": "string" + }, + "CrlConfiguration": { + "additionalProperties": false, + "properties": { + "CrlDistributionPointExtensionConfiguration": { + "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" + }, + "CrlType": { + "type": "string" + }, + "CustomCname": { + "maxLength": 253, + "pattern": "[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*", + "type": "string" + }, + "CustomPath": { + "type": "string" + }, + "Enabled": { + "type": "boolean" + }, + "ExpirationInDays": { + "maximum": 5000, + "minimum": 1, + "type": "integer" + }, + "S3BucketName": { + "maxLength": 255, + "minLength": 3, + "pattern": "[-a-zA-Z0-9._/]+", + "type": "string" + }, + "S3ObjectAcl": { + "enum": [ + "BUCKET_OWNER_FULL_CONTROL", + "PUBLIC_READ" + ], + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "CrlDistributionPointExtensionConfiguration": { + "additionalProperties": false, + "properties": { + "OmitExtension": { + "type": "boolean" + } + }, + "required": [ + "OmitExtension" + ], + "type": "object" + }, + "CsrExtensions": { + "additionalProperties": false, + "properties": { + "KeyUsage": { + "$ref": "#/definitions/KeyUsage" + }, + "SubjectInformationAccess": { + "$ref": "#/definitions/SubjectInformationAccess" + } + }, + "type": "object" + }, + "CustomAttribute": { + "additionalProperties": false, + "properties": { + "ObjectIdentifier": { + "$ref": "#/definitions/CustomObjectIdentifier" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "ObjectIdentifier", + "Value" + ], + "type": "object" + }, + "CustomAttributeList": { + "items": { + "$ref": "#/definitions/CustomAttribute" + }, + "type": "array" + }, + "CustomObjectIdentifier": { + "type": "string" + }, + "DnsName": { + "type": "string" + }, + "EdiPartyName": { + "additionalProperties": false, + "properties": { + "NameAssigner": { + "type": "string" + }, + "PartyName": { + "type": "string" + } + }, + "required": [ + "PartyName" + ], + "type": "object" + }, + "GeneralName": { + "additionalProperties": false, + "properties": { + "DirectoryName": { + "$ref": "#/definitions/Subject" + }, + "DnsName": { + "$ref": "#/definitions/DnsName" + }, + "EdiPartyName": { + "$ref": "#/definitions/EdiPartyName" + }, + "IpAddress": { + "$ref": "#/definitions/IpAddress" + }, + "OtherName": { + "$ref": "#/definitions/OtherName" + }, + "RegisteredId": { + "$ref": "#/definitions/CustomObjectIdentifier" + }, + "Rfc822Name": { + "$ref": "#/definitions/Rfc822Name" + }, + "UniformResourceIdentifier": { + "$ref": "#/definitions/UniformResourceIdentifier" + } + }, + "type": "object" + }, + "IpAddress": { + "type": "string" + }, + "KeyUsage": { + "additionalProperties": false, + "properties": { + "CRLSign": { + "default": false, + "type": "boolean" + }, + "DataEncipherment": { + "default": false, + "type": "boolean" + }, + "DecipherOnly": { + "default": false, + "type": "boolean" + }, + "DigitalSignature": { + "default": false, + "type": "boolean" + }, + "EncipherOnly": { + "default": false, + "type": "boolean" + }, + "KeyAgreement": { + "default": false, + "type": "boolean" + }, + "KeyCertSign": { + "default": false, + "type": "boolean" + }, + "KeyEncipherment": { + "default": false, + "type": "boolean" + }, + "NonRepudiation": { + "default": false, + "type": "boolean" + } + }, + "type": "object" + }, + "OcspConfiguration": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + }, + "OcspCustomCname": { + "maxLength": 253, + "pattern": "[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*", + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "OtherName": { + "additionalProperties": false, + "properties": { + "TypeId": { + "$ref": "#/definitions/CustomObjectIdentifier" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "TypeId", + "Value" + ], + "type": "object" + }, + "RevocationConfiguration": { + "additionalProperties": false, + "properties": { + "CrlConfiguration": { + "$ref": "#/definitions/CrlConfiguration" + }, + "OcspConfiguration": { + "$ref": "#/definitions/OcspConfiguration" + } + }, + "type": "object" + }, + "Rfc822Name": { + "type": "string" + }, + "Subject": { + "additionalProperties": false, + "properties": { + "CommonName": { + "type": "string" + }, + "Country": { + "type": "string" + }, + "CustomAttributes": { + "$ref": "#/definitions/CustomAttributeList" + }, + "DistinguishedNameQualifier": { + "type": "string" + }, + "GenerationQualifier": { + "type": "string" + }, + "GivenName": { + "type": "string" + }, + "Initials": { + "type": "string" + }, + "Locality": { + "type": "string" + }, + "Organization": { + "type": "string" + }, + "OrganizationalUnit": { + "type": "string" + }, + "Pseudonym": { + "type": "string" + }, + "SerialNumber": { + "type": "string" + }, + "State": { + "type": "string" + }, + "Surname": { + "type": "string" + }, + "Title": { + "type": "string" + } + }, + "type": "object" + }, + "SubjectInformationAccess": { + "items": { + "$ref": "#/definitions/AccessDescription" + }, + "type": "array" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)", + "type": "string" + }, + "Value": { + "maxLength": 256, + "pattern": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)", + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + }, + "UniformResourceIdentifier": { + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/Arn" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "CertificateSigningRequest": { + "type": "string" + }, + "CsrExtensions": { + "$ref": "#/definitions/CsrExtensions" + }, + "KeyAlgorithm": { + "type": "string" + }, + "KeyStorageSecurityStandard": { + "enum": [ + "CCPC_LEVEL_1_OR_HIGHER", + "FIPS_140_2_LEVEL_2_OR_HIGHER", + "FIPS_140_2_LEVEL_3_OR_HIGHER" + ], + "type": "string" + }, + "RevocationConfiguration": { + "$ref": "#/definitions/RevocationConfiguration" + }, + "SigningAlgorithm": { + "type": "string" + }, + "Subject": { + "$ref": "#/definitions/Subject" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + "Type": { + "type": "string" + }, + "UsageMode": { + "enum": [ + "GENERAL_PURPOSE", + "SHORT_LIVED_CERTIFICATE" + ], + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Arn", + "/properties/CertificateSigningRequest" + ], + "required": [ + "Type", + "KeyAlgorithm", + "SigningAlgorithm", + "Subject" + ], + "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::ACMPCA::CertificateAuthority", + "writeOnlyProperties": [ + "/properties/Subject", + "/properties/Subject", + "/properties/CsrExtensions", + "/properties/RevocationConfiguration", + "/properties/KeyStorageSecurityStandard" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-iotsitewise-gateway.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-iotsitewise-gateway.json deleted file mode 100644 index c49b0cba99..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-iotsitewise-gateway.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GatewayPlatform", - "/properties/GatewayVersion" - ], - "definitions": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - }, - "GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "$ref": "#/definitions/CapabilityConfiguration" - }, - "CapabilityNamespace": { - "$ref": "#/definitions/CapabilityNamespace" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "GatewayPlatform": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "GreengrassV2" - ] - }, - { - "required": [ - "SiemensIE" - ] - } - ], - "properties": { - "Greengrass": {}, - "GreengrassV2": { - "$ref": "#/definitions/GreengrassV2" - }, - "SiemensIE": { - "$ref": "#/definitions/SiemensIE" - } - }, - "type": "object" - }, - "GatewayVersion": { - "type": "string" - }, - "GreengrassV2": { - "additionalProperties": false, - "properties": { - "CoreDeviceOperatingSystem": { - "enum": [ - "LINUX_AARCH64", - "LINUX_AMD64", - "WINDOWS_AMD64" - ], - "type": "string" - }, - "CoreDeviceThingName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9:_-]+$", - "type": "string" - } - }, - "required": [ - "CoreDeviceThingName" - ], - "type": "object" - }, - "SiemensIE": { - "additionalProperties": false, - "properties": { - "IotCoreThingName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9:_-]+$", - "type": "string" - } - }, - "required": [ - "IotCoreThingName" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/GatewayPlatform/Greengrass" - ], - "primaryIdentifier": [ - "/properties/GatewayId" - ], - "properties": { - "GatewayCapabilitySummaries": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/GatewayCapabilitySummary" - }, - "type": "array", - "uniqueItems": true - }, - "GatewayId": { - "type": "string" - }, - "GatewayName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[^\\u0000-\\u001F\\u007F]+", - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/GatewayPlatform" - }, - "GatewayVersion": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/GatewayId" - ], - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::IoTSiteWise::Gateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-publickey.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-s3-accessgrantsinstance.json similarity index 53% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-publickey.json rename to src/cfnlint/data/schemas/providers/ap_southeast_2/aws-s3-accessgrantsinstance.json index fd6cfdbe6b..fe8f402598 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ivs-publickey.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-s3-accessgrantsinstance.json @@ -1,69 +1,66 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" + "/properties/Tags" ], "definitions": { + "AccessGrantsInstanceArn": { + "type": "string" + }, + "IdentityCenterArn": { + "type": "string" + }, "Tag": { "additionalProperties": false, "properties": { "Key": { - "maxLength": 128, - "minLength": 1, "type": "string" }, "Value": { - "maxLength": 256, - "minLength": 0, "type": "string" } }, "required": [ - "Key", - "Value" + "Value", + "Key" ], "type": "object" } }, "primaryIdentifier": [ - "/properties/Arn" + "/properties/AccessGrantsInstanceArn" ], "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:public-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" + "AccessGrantsInstanceArn": { + "$ref": "#/definitions/AccessGrantsInstanceArn", + "examples": [ + "arn:aws:s3:us-east-2:479290226168:access-grants/default" + ] }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", + "AccessGrantsInstanceId": { "type": "string" }, - "PublicKeyMaterial": { - "pattern": "-----BEGIN PUBLIC KEY-----\\r?\\n([a-zA-Z0-9+/=\\r\\n]+)\\r?\\n-----END PUBLIC KEY-----(\\r?\\n)?", - "type": "string" + "IdentityCenterArn": { + "$ref": "#/definitions/IdentityCenterArn", + "examples": [ + "arn:aws:sso:::instance/ssoins-6987e6a2fc43873b" + ] }, "Tags": { "insertionOrder": false, "items": { "$ref": "#/definitions/Tag" }, - "maxItems": 50, "type": "array", "uniqueItems": true } }, "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" + "/properties/AccessGrantsInstanceArn", + "/properties/AccessGrantsInstanceId" ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3", "tagging": { "cloudFormationSystemTags": false, "tagOnCreate": true, @@ -71,5 +68,5 @@ "tagUpdatable": true, "taggable": true }, - "typeName": "AWS::IVS::PublicKey" + "typeName": "AWS::S3::AccessGrantsInstance" } 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 d8e7af28f7..c589a3d56d 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py @@ -831,7 +831,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -841,7 +840,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-logicallyairgappedbackupvault.json", @@ -914,7 +912,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -953,6 +950,7 @@ "aws-dms-instanceprofile.json", "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1090,6 +1088,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1413,6 +1412,7 @@ "aws-ssm-maintenancewindowtask.json", "aws-ssm-parameter.json", "aws-ssm-patchbaseline.json", + "aws-ssm-resourcedatasync.json", "aws-sso-application.json", "aws-sso-applicationassignment.json", "aws-sso-assignment.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-backupplan.json similarity index 86% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-backup-backupplan.json rename to src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-backupplan.json index 4e2fc66ab6..0cfb3466ba 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-backup-backupplan.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-backupplan.json @@ -68,14 +68,6 @@ "EnableContinuousBackup": { "type": "boolean" }, - "IndexActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/IndexActionsResourceType" - }, - "type": "array", - "uniqueItems": false - }, "Lifecycle": { "$ref": "#/definitions/LifecycleResourceType" }, @@ -125,15 +117,6 @@ ], "type": "object" }, - "IndexActionsResourceType": { - "additionalProperties": false, - "properties": { - "ResourceTypes": { - "$ref": "#/definitions/ResourceTypes" - } - }, - "type": "object" - }, "LifecycleResourceType": { "additionalProperties": false, "if": { @@ -162,17 +145,6 @@ } }, "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ResourceType" - }, - "type": "array", - "uniqueItems": true } }, "primaryIdentifier": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ssm-resourcedatasync.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ssm-resourcedatasync.json deleted file mode 100644 index ed2d5f4d1a..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ssm-resourcedatasync.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KMSKeyArn", - "/properties/SyncFormat", - "/properties/BucketPrefix", - "/properties/SyncName", - "/properties/BucketRegion", - "/properties/BucketName", - "/properties/S3Destination", - "/properties/SyncType" - ], - "definitions": { - "AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "maxItems": 1000, - "minItems": 1, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "enum": [ - "JsonSerDe" - ], - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceType", - "SourceRegions" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SyncName" - ], - "typeName": "AWS::SSM::ResourceDataSync" -} 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 7ad6611692..6c9567a9c6 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py @@ -757,13 +757,11 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-logicallyairgappedbackupvault.json", @@ -833,7 +831,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -872,6 +869,7 @@ "aws-dms-instanceprofile.json", "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} 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 42120e5bf3..d36943e92d 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py @@ -501,13 +501,11 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-batch-computeenvironment.json", @@ -558,6 +556,10 @@ "aws-datasync-agent.json", "aws-datasync-locationazureblob.json", "aws-datasync-locationefs.json", + "aws-datasync-locationfsxlustre.json", + "aws-datasync-locationfsxontap.json", + "aws-datasync-locationfsxopenzfs.json", + "aws-datasync-locationfsxwindows.json", "aws-datasync-locationhdfs.json", "aws-datasync-locationnfs.json", "aws-datasync-locationobjectstorage.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxlustre.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxlustre.json deleted file mode 100644 index ed611f6c49..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxlustre.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FsxFilesystemArn", - "/properties/SecurityGroupArns", - "/properties/Subdirectory" - ], - "definitions": { - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "FsxFilesystemArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$", - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4356, - "pattern": "^(efs|nfs|s3|smb|fsxw|hdfs|fsxl)://[a-zA-Z0-9.:/\\-]+$", - "type": "string" - }, - "SecurityGroupArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri" - ], - "required": [ - "SecurityGroupArns" - ], - "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::LocationFSxLustre", - "writeOnlyProperties": [ - "/properties/Subdirectory", - "/properties/FsxFilesystemArn" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxontap.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxontap.json deleted file mode 100644 index 884f61ef4f..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxontap.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/StorageVirtualMachineArn", - "/properties/SecurityGroupArns", - "/properties/Protocol", - "/properties/Subdirectory" - ], - "definitions": { - "NFS": { - "additionalProperties": false, - "properties": { - "MountOptions": { - "$ref": "#/definitions/NfsMountOptions" - } - }, - "required": [ - "MountOptions" - ], - "type": "object" - }, - "NfsMountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "enum": [ - "AUTOMATIC", - "NFS3", - "NFS4_0", - "NFS4_1" - ], - "type": "string" - } - }, - "type": "object" - }, - "Protocol": { - "additionalProperties": false, - "properties": { - "NFS": { - "$ref": "#/definitions/NFS" - }, - "SMB": { - "$ref": "#/definitions/SMB" - } - }, - "type": "object" - }, - "SMB": { - "additionalProperties": false, - "properties": { - "Domain": { - "maxLength": 253, - "pattern": "^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$", - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/SmbMountOptions" - }, - "Password": { - "maxLength": 104, - "pattern": "^.{0,104}$", - "type": "string" - }, - "User": { - "maxLength": 104, - "pattern": "^[^\\x5B\\x5D\\\\/:;|=,+*?]{1,104}$", - "type": "string" - } - }, - "required": [ - "User", - "Password", - "MountOptions" - ], - "type": "object" - }, - "SmbMountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "enum": [ - "AUTOMATIC", - "SMB2", - "SMB3" - ], - "type": "string" - } - }, - "type": "object" - }, - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "FsxFilesystemArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$", - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4360, - "pattern": "^(efs|nfs|s3|smb|hdfs|fsx[a-z0-9-]+)://[a-zA-Z0-9.:/\\-]+$", - "type": "string" - }, - "Protocol": { - "$ref": "#/definitions/Protocol" - }, - "SecurityGroupArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "StorageVirtualMachineArn": { - "maxLength": 162, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]+:[0-9]{12}:storage-virtual-machine/fs-[0-9a-f]+/svm-[0-9a-f]{17,}$", - "type": "string" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri", - "/properties/FsxFilesystemArn" - ], - "required": [ - "SecurityGroupArns", - "StorageVirtualMachineArn" - ], - "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::LocationFSxONTAP", - "writeOnlyProperties": [ - "/properties/Protocol", - "/properties/Subdirectory" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxopenzfs.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxopenzfs.json deleted file mode 100644 index 9c08ccee03..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxopenzfs.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FsxFilesystemArn", - "/properties/SecurityGroupArns", - "/properties/Protocol", - "/properties/Subdirectory" - ], - "definitions": { - "MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "enum": [ - "AUTOMATIC", - "NFS3", - "NFS4_0", - "NFS4_1" - ], - "type": "string" - } - }, - "type": "object" - }, - "NFS": { - "additionalProperties": false, - "properties": { - "MountOptions": { - "$ref": "#/definitions/MountOptions" - } - }, - "required": [ - "MountOptions" - ], - "type": "object" - }, - "Protocol": { - "additionalProperties": false, - "properties": { - "NFS": { - "$ref": "#/definitions/NFS" - } - }, - "type": "object" - }, - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "FsxFilesystemArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$", - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4356, - "pattern": "^(efs|nfs|s3|smb|fsxw|hdfs|fsxl|fsxz)://[a-zA-Z0-9.:/\\-]+$", - "type": "string" - }, - "Protocol": { - "$ref": "#/definitions/Protocol" - }, - "SecurityGroupArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri" - ], - "required": [ - "SecurityGroupArns", - "Protocol" - ], - "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::LocationFSxOpenZFS", - "writeOnlyProperties": [ - "/properties/Subdirectory", - "/properties/FsxFilesystemArn" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxwindows.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxwindows.json deleted file mode 100644 index 0829f8df88..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-datasync-locationfsxwindows.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Domain", - "/properties/FsxFilesystemArn", - "/properties/Password", - "/properties/SecurityGroupArns", - "/properties/Subdirectory", - "/properties/User" - ], - "definitions": { - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "Domain": { - "maxLength": 253, - "pattern": "^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$", - "type": "string" - }, - "FsxFilesystemArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]*:[0-9]{12}:file-system/fs-.*$", - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4356, - "pattern": "^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\\-]+$", - "type": "string" - }, - "Password": { - "maxLength": 104, - "pattern": "^.{0,104}$", - "type": "string" - }, - "SecurityGroupArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/.*$", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "User": { - "maxLength": 104, - "pattern": "^[^\\x5B\\x5D\\\\/:;|=,+*?]{1,104}$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri" - ], - "required": [ - "User", - "SecurityGroupArns" - ], - "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::LocationFSxWindows", - "writeOnlyProperties": [ - "/properties/Password", - "/properties/Subdirectory", - "/properties/FsxFilesystemArn" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_7/__init__.py index 4f6417e761..65b4d2a431 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_7/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_7/__init__.py @@ -405,7 +405,6 @@ "aws-arczonalshift-zonalautoshiftconfiguration.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-batch-computeenvironment.json", @@ -442,6 +441,7 @@ "aws-config-deliverychannel.json", "aws-datasync-agent.json", "aws-datasync-locationazureblob.json", + "aws-datasync-locationefs.json", "aws-datasync-locationhdfs.json", "aws-datasync-locationnfs.json", "aws-datasync-locationobjectstorage.json", @@ -449,6 +449,7 @@ "aws-datasync-locationsmb.json", "aws-datasync-task.json", "aws-dlm-lifecyclepolicy.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-dhcpoptions.json", @@ -596,6 +597,7 @@ "aws-organizations-resourcepolicy.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbsecuritygroup.json", "aws-rds-dbsecuritygroupingress.json", @@ -618,6 +620,7 @@ "aws-rolesanywhere-crl.json", "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", + "aws-route53-hostedzone.json", "aws-route53-recordset.json", "aws-route53-recordsetgroup.json", "aws-route53resolver-resolverconfig.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-datasync-locationefs.json b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-datasync-locationefs.json deleted file mode 100644 index 939005e2b1..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-datasync-locationefs.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Ec2Config", - "/properties/EfsFilesystemArn", - "/properties/Subdirectory", - "/properties/FileSystemAccessRoleArn", - "/properties/InTransitEncryption", - "/properties/AccessPointArn" - ], - "definitions": { - "Ec2Config": { - "additionalProperties": false, - "properties": { - "SecurityGroupArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/.*$", - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "SubnetArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:subnet/.*$", - "type": "string" - } - }, - "required": [ - "SecurityGroupArns", - "SubnetArn" - ], - "type": "object" - }, - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "AccessPointArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]+:[0-9]{12}:access-point/fsap-[0-9a-f]{8,40}$", - "type": "string" - }, - "Ec2Config": { - "$ref": "#/definitions/Ec2Config" - }, - "EfsFilesystemArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]*:[0-9]{12}:file-system/fs-.*$", - "type": "string" - }, - "FileSystemAccessRoleArn": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$", - "type": "string" - }, - "InTransitEncryption": { - "enum": [ - "NONE", - "TLS1_2" - ], - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4356, - "pattern": "^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9.\\-/]+$", - "type": "string" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri" - ], - "required": [ - "Ec2Config" - ], - "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::LocationEFS", - "writeOnlyProperties": [ - "/properties/EfsFilesystemArn", - "/properties/Subdirectory" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-route53-hostedzone.json b/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-route53-hostedzone.json deleted file mode 100644 index d54fb1df1c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_7/aws-route53-hostedzone.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCRegion", - "VPCId" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/HostedZoneTag" - }, - "type": "array", - "uniqueItems": false - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NameServers": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/VPC" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/NameServers" - ], - "required": [ - "Name" - ], - "typeName": "AWS::Route53::HostedZone" -} 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 813e5cb5ee..1b0d181370 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py @@ -247,6 +247,7 @@ "AWS::Connect::ApprovedOrigin", "AWS::Connect::ContactFlow", "AWS::Connect::ContactFlowModule", + "AWS::Connect::ContactFlowVersion", "AWS::Connect::EmailAddress", "AWS::Connect::EvaluationForm", "AWS::Connect::HoursOfOperation", @@ -1384,7 +1385,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1458,6 +1458,7 @@ "aws-datasync-locationnfs.json", "aws-datasync-locationobjectstorage.json", "aws-datasync-locations3.json", + "aws-datasync-locationsmb.json", "aws-datasync-storagesystem.json", "aws-datasync-task.json", "aws-datazone-datasource.json", @@ -1495,6 +1496,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -2070,7 +2072,6 @@ "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-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-connect-contactflowversion.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-connect-contactflowversion.json similarity index 100% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-connect-contactflowversion.json rename to src/cfnlint/data/schemas/providers/ca_central_1/aws-connect-contactflowversion.json diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-locationsmb.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-locationsmb.json deleted file mode 100644 index f551ed5d45..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-datasync-locationsmb.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "enum": [ - "AUTOMATIC", - "SMB1", - "SMB2_0", - "SMB2", - "SMB3" - ], - "type": "string" - } - }, - "type": "object" - }, - "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" - } - }, - "primaryIdentifier": [ - "/properties/LocationArn" - ], - "properties": { - "AgentArns": { - "insertionOrder": false, - "items": { - "maxLength": 128, - "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$", - "type": "string" - }, - "maxItems": 4, - "minItems": 1, - "type": "array" - }, - "AuthenticationType": { - "enum": [ - "NTLM", - "KERBEROS" - ], - "type": "string" - }, - "DnsIpAddresses": { - "default": null, - "insertionOrder": true, - "items": { - "maxLength": 15, - "minLength": 7, - "pattern": "\\A(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}\\Z", - "type": "string" - }, - "maxItems": 2, - "type": "array" - }, - "Domain": { - "maxLength": 253, - "pattern": "^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$", - "type": "string" - }, - "KerberosKeytab": { - "maxLength": 87384, - "type": "string" - }, - "KerberosKrb5Conf": { - "maxLength": 174764, - "type": "string" - }, - "KerberosPrincipal": { - "maxLength": 256, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "LocationArn": { - "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" - }, - "LocationUri": { - "maxLength": 4356, - "pattern": "^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\\-]+$", - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/MountOptions", - "default": { - "Version": "AUTOMATIC" - } - }, - "Password": { - "maxLength": 104, - "pattern": "^.{0,104}$", - "type": "string" - }, - "ServerHostname": { - "maxLength": 255, - "pattern": "^(([a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9\\-]*[A-Za-z0-9])$", - "type": "string" - }, - "Subdirectory": { - "maxLength": 4096, - "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "User": { - "maxLength": 104, - "pattern": "^[^\\x5B\\x5D\\\\/:;|=,+*?]{1,104}$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocationArn", - "/properties/LocationUri" - ], - "required": [ - "AgentArns" - ], - "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::LocationSMB", - "writeOnlyProperties": [ - "/properties/Password", - "/properties/Subdirectory", - "/properties/ServerHostname", - "/properties/KerberosKeytab", - "/properties/KerberosKrb5Conf" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-s3-accessgrantsinstance.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-s3-accessgrantsinstance.json new file mode 100644 index 0000000000..fe8f402598 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-s3-accessgrantsinstance.json @@ -0,0 +1,72 @@ +{ + "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": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::S3::AccessGrantsInstance" +} 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 591355c84d..13a68537e5 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py @@ -663,13 +663,11 @@ "aws-applicationinsights-application.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-batch-computeenvironment.json", @@ -727,7 +725,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -896,7 +893,6 @@ "aws-globalaccelerator-listener.json", "aws-glue-classifier.json", "aws-glue-connection.json", - "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", @@ -1013,6 +1009,8 @@ "aws-organizations-resourcepolicy.json", "aws-pcaconnectorscep-challenge.json", "aws-pcaconnectorscep-connector.json", + "aws-ram-permission.json", + "aws-ram-resourceshare.json", "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-glue-crawler.json similarity index 91% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-glue-crawler.json rename to src/cfnlint/data/schemas/providers/ca_west_1/aws-glue-crawler.json index 99a01b2edc..0c794468c5 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-glue-crawler.json +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-glue-crawler.json @@ -65,32 +65,6 @@ }, "type": "object" }, - "HudiTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "MaximumTraversalDepth": { - "type": "integer" - }, - "Paths": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, "IcebergTarget": { "additionalProperties": false, "properties": { @@ -268,13 +242,6 @@ "type": "array", "uniqueItems": false }, - "HudiTargets": { - "items": { - "$ref": "#/definitions/HudiTarget" - }, - "type": "array", - "uniqueItems": false - }, "IcebergTargets": { "items": { "$ref": "#/definitions/IcebergTarget" diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-permission.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-permission.json deleted file mode 100644 index 6f8b814dc0..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-permission.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ResourceType", - "/properties/PolicyTemplate" - ], - "definitions": { - "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/Arn" - ], - "properties": { - "Arn": { - "type": "string" - }, - "IsResourceTypeDefault": { - "type": "boolean" - }, - "Name": { - "maxLength": 36, - "minLength": 1, - "pattern": "[\\w.-]*", - "type": "string" - }, - "PermissionType": { - "type": "string" - }, - "PolicyTemplate": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ResourceType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "Version": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Version", - "/properties/IsResourceTypeDefault", - "/properties/PermissionType" - ], - "required": [ - "Name", - "ResourceType", - "PolicyTemplate" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ram", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RAM::Permission" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-resourceshare.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-resourceshare.json deleted file mode 100644 index e55421c92f..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ram-resourceshare.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Arn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Sources": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn" - ], - "required": [ - "Name" - ], - "typeName": "AWS::RAM::ResourceShare" -} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py b/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py index 480e507059..343569d3dd 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py @@ -811,7 +811,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-batch-computeenvironment.json", @@ -1022,7 +1021,6 @@ "aws-emr-instancegroupconfig.json", "aws-emr-securityconfiguration.json", "aws-emr-step.json", - "aws-emr-studio.json", "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-archive.json", @@ -1048,6 +1046,7 @@ "aws-gamelift-matchmakingruleset.json", "aws-gamelift-script.json", "aws-glue-classifier.json", + "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", @@ -1357,6 +1356,7 @@ "aws-ssm-maintenancewindowtask.json", "aws-ssm-parameter.json", "aws-ssm-patchbaseline.json", + "aws-ssm-resourcedatasync.json", "aws-sso-application.json", "aws-sso-applicationassignment.json", "aws-sso-assignment.json", diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-emr-studio.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-emr-studio.json similarity index 97% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-emr-studio.json rename to src/cfnlint/data/schemas/providers/cn_north_1/aws-emr-studio.json index f6b1a4ea55..c33ba42dce 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-emr-studio.json +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-emr-studio.json @@ -175,10 +175,9 @@ ], "tagging": { "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false }, "typeName": "AWS::EMR::Studio" } diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-ssm-resourcedatasync.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-ssm-resourcedatasync.json deleted file mode 100644 index ed2d5f4d1a..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-ssm-resourcedatasync.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KMSKeyArn", - "/properties/SyncFormat", - "/properties/BucketPrefix", - "/properties/SyncName", - "/properties/BucketRegion", - "/properties/BucketName", - "/properties/S3Destination", - "/properties/SyncType" - ], - "definitions": { - "AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "maxItems": 1000, - "minItems": 1, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "enum": [ - "JsonSerDe" - ], - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceType", - "SourceRegions" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SyncName" - ], - "typeName": "AWS::SSM::ResourceDataSync" -} 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 b406af187c..dcc6680708 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py @@ -166,6 +166,7 @@ "AWS::DMS::Certificate", "AWS::DMS::Endpoint", "AWS::DMS::EventSubscription", + "AWS::DMS::ReplicationConfig", "AWS::DMS::ReplicationInstance", "AWS::DMS::ReplicationSubnetGroup", "AWS::DMS::ReplicationTask", @@ -177,6 +178,7 @@ "AWS::DataBrew::Schedule", "AWS::DataPipeline::Pipeline", "AWS::DataSync::Agent", + "AWS::DataSync::LocationAzureBlob", "AWS::DataSync::LocationEFS", "AWS::DataSync::LocationFSxLustre", "AWS::DataSync::LocationFSxWindows", @@ -478,6 +480,11 @@ "AWS::MediaConvert::JobTemplate", "AWS::MediaConvert::Preset", "AWS::MediaConvert::Queue", + "AWS::MemoryDB::ACL", + "AWS::MemoryDB::Cluster", + "AWS::MemoryDB::ParameterGroup", + "AWS::MemoryDB::SubnetGroup", + "AWS::MemoryDB::User", "AWS::Neptune::DBCluster", "AWS::Neptune::DBClusterParameterGroup", "AWS::Neptune::DBInstance", @@ -755,7 +762,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -765,7 +771,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-batch-computeenvironment.json", @@ -831,6 +836,7 @@ "aws-databrew-ruleset.json", "aws-databrew-schedule.json", "aws-datasync-agent.json", + "aws-datasync-locationazureblob.json", "aws-datasync-locationefs.json", "aws-datasync-locationfsxlustre.json", "aws-datasync-locationfsxwindows.json", @@ -848,6 +854,7 @@ "aws-dms-certificate.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", "aws-dms-replicationtask.json", @@ -973,7 +980,7 @@ "aws-emr-instancegroupconfig.json", "aws-emr-securityconfiguration.json", "aws-emr-step.json", - "aws-emr-studio.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-archive.json", "aws-events-eventbus.json", @@ -998,7 +1005,6 @@ "aws-gamelift-matchmakingruleset.json", "aws-gamelift-script.json", "aws-glue-classifier.json", - "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", @@ -1112,6 +1118,11 @@ "aws-mediaconvert-jobtemplate.json", "aws-mediaconvert-preset.json", "aws-mediaconvert-queue.json", + "aws-memorydb-acl.json", + "aws-memorydb-cluster.json", + "aws-memorydb-parametergroup.json", + "aws-memorydb-subnetgroup.json", + "aws-memorydb-user.json", "aws-msk-batchscramsecret.json", "aws-msk-cluster.json", "aws-msk-clusterpolicy.json", @@ -1146,6 +1157,7 @@ "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -1252,11 +1264,13 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", "aws-ssm-parameter.json", "aws-ssm-patchbaseline.json", + "aws-ssm-resourcedatasync.json", "aws-sso-application.json", "aws-sso-applicationassignment.json", "aws-sso-assignment.json", diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emr-studio.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emr-studio.json new file mode 100644 index 0000000000..c33ba42dce --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emr-studio.json @@ -0,0 +1,183 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/AuthMode", + "/properties/EngineSecurityGroupId", + "/properties/ServiceRole", + "/properties/UserRole", + "/properties/VpcId", + "/properties/WorkspaceSecurityGroupId", + "/properties/TrustedIdentityPropagationEnabled", + "/properties/IdcUserAssignment", + "/properties/IdcInstanceArn", + "/properties/EncryptionKeyArn" + ], + "definitions": { + "Arn": { + "maxLength": 10280, + "pattern": "^arn:aws(-(cn|us-gov|iso-f|iso-e))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$", + "type": "string" + }, + "SubnetId": { + "pattern": "^(subnet-[a-f0-9]{13})|(subnet-[a-f0-9]{8})\\Z", + "type": "string" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "pattern": "[a-zA-Z+-=._:/]+$", + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "documentationUrl": "https://docs.aws.amazon.com/emr/latest/APIReference/API_CreateStudio.html", + "primaryIdentifier": [ + "/properties/StudioId" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "AuthMode": { + "enum": [ + "SSO", + "IAM" + ], + "type": "string" + }, + "DefaultS3Location": { + "maxLength": 10280, + "minLength": 6, + "pattern": "^s3://.*", + "type": "string" + }, + "Description": { + "maxLength": 256, + "minLength": 0, + "type": "string" + }, + "EncryptionKeyArn": { + "$ref": "#/definitions/Arn" + }, + "EngineSecurityGroupId": { + "maxLength": 256, + "minLength": 4, + "pattern": "^sg-[a-zA-Z0-9\\-._]+$", + "type": "string" + }, + "IdcInstanceArn": { + "maxLength": 2048, + "minLength": 20, + "type": "string" + }, + "IdcUserAssignment": { + "enum": [ + "REQUIRED", + "OPTIONAL" + ], + "type": "string" + }, + "IdpAuthUrl": { + "maxLength": 4096, + "pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$", + "type": "string" + }, + "IdpRelayStateParameterName": { + "maxLength": 256, + "minLength": 0, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "[a-zA-Z0-9_-]+", + "type": "string" + }, + "ServiceRole": { + "$ref": "#/definitions/Arn" + }, + "StudioId": { + "maxLength": 256, + "minLength": 4, + "pattern": "^es-[0-9A-Z]+", + "type": "string" + }, + "SubnetIds": { + "items": { + "$ref": "#/definitions/SubnetId" + }, + "minItems": 1, + "type": "array" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "TrustedIdentityPropagationEnabled": { + "type": "boolean" + }, + "Url": { + "maxLength": 4096, + "pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$", + "type": "string" + }, + "UserRole": { + "$ref": "#/definitions/Arn" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "maxLength": 256, + "pattern": "^(vpc-[0-9a-f]{8}|vpc-[0-9a-f]{17})$", + "type": "string" + }, + "WorkspaceSecurityGroupId": { + "maxLength": 256, + "pattern": "^sg-[a-zA-Z0-9\\-._]+$", + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/StudioId", + "/properties/Arn", + "/properties/Url" + ], + "required": [ + "AuthMode", + "EngineSecurityGroupId", + "Name", + "ServiceRole", + "SubnetIds", + "VpcId", + "WorkspaceSecurityGroupId", + "DefaultS3Location" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::EMR::Studio" +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-glue-crawler.json similarity index 91% rename from src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json rename to src/cfnlint/data/schemas/providers/cn_northwest_1/aws-glue-crawler.json index 99a01b2edc..0c794468c5 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-glue-crawler.json @@ -65,32 +65,6 @@ }, "type": "object" }, - "HudiTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "MaximumTraversalDepth": { - "type": "integer" - }, - "Paths": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, "IcebergTarget": { "additionalProperties": false, "properties": { @@ -268,13 +242,6 @@ "type": "array", "uniqueItems": false }, - "HudiTargets": { - "items": { - "$ref": "#/definitions/HudiTarget" - }, - "type": "array", - "uniqueItems": false - }, "IcebergTargets": { "items": { "$ref": "#/definitions/IcebergTarget" diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-resourcedatasync.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-resourcedatasync.json deleted file mode 100644 index ed2d5f4d1a..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-ssm-resourcedatasync.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/KMSKeyArn", - "/properties/SyncFormat", - "/properties/BucketPrefix", - "/properties/SyncName", - "/properties/BucketRegion", - "/properties/BucketName", - "/properties/S3Destination", - "/properties/SyncType" - ], - "definitions": { - "AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "maxItems": 1000, - "minItems": 1, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "enum": [ - "JsonSerDe" - ], - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceType", - "SourceRegions" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SyncName" - ], - "typeName": "AWS::SSM::ResourceDataSync" -} 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 4ed2a8ba94..9dd736e3a0 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py @@ -1446,6 +1446,7 @@ "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", "aws-autoscalingplans-scalingplan.json", + "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1526,9 +1527,7 @@ "aws-cloudfront-responseheaderspolicy.json", "aws-cloudfront-streamingdistribution.json", "aws-cloudfront-vpcorigin.json", - "aws-cloudtrail-channel.json", "aws-cloudtrail-dashboard.json", - "aws-cloudtrail-eventdatastore.json", "aws-cloudtrail-resourcepolicy.json", "aws-cloudtrail-trail.json", "aws-cloudwatch-alarm.json", @@ -1566,6 +1565,7 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", + "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1589,6 +1589,7 @@ "aws-connect-approvedorigin.json", "aws-connect-contactflow.json", "aws-connect-contactflowmodule.json", + "aws-connect-contactflowversion.json", "aws-connect-emailaddress.json", "aws-connect-evaluationform.json", "aws-connect-hoursofoperation.json", @@ -1715,11 +1716,9 @@ "aws-ec2-instance.json", "aws-ec2-instanceconnectendpoint.json", "aws-ec2-internetgateway.json", - "aws-ec2-ipam.json", "aws-ec2-ipamallocation.json", "aws-ec2-ipampool.json", "aws-ec2-ipampoolcidr.json", - "aws-ec2-ipamresourcediscovery.json", "aws-ec2-ipamresourcediscoveryassociation.json", "aws-ec2-ipamscope.json", "aws-ec2-keypair.json", @@ -1896,6 +1895,7 @@ "aws-globalaccelerator-listener.json", "aws-glue-classifier.json", "aws-glue-connection.json", + "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", @@ -2022,6 +2022,7 @@ "aws-iotsitewise-assetmodel.json", "aws-iotsitewise-dashboard.json", "aws-iotsitewise-gateway.json", + "aws-iotsitewise-portal.json", "aws-iotsitewise-project.json", "aws-iottwinmaker-componenttype.json", "aws-iottwinmaker-entity.json", @@ -2040,7 +2041,9 @@ "aws-ivs-channel.json", "aws-ivs-encoderconfiguration.json", "aws-ivs-ingestconfiguration.json", + "aws-ivs-playbackkeypair.json", "aws-ivs-playbackrestrictionpolicy.json", + "aws-ivs-publickey.json", "aws-ivs-recordingconfiguration.json", "aws-ivs-stage.json", "aws-ivs-storageconfiguration.json", @@ -2223,7 +2226,6 @@ "aws-opensearchserverless-accesspolicy.json", "aws-opensearchserverless-collection.json", "aws-opensearchserverless-lifecyclepolicy.json", - "aws-opensearchserverless-securityconfig.json", "aws-opensearchserverless-securitypolicy.json", "aws-opensearchserverless-vpcendpoint.json", "aws-opensearchservice-application.json", @@ -2501,6 +2503,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-channel.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-channel.json new file mode 100644 index 0000000000..414af46590 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-channel.json @@ -0,0 +1,120 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Source" + ], + "definitions": { + "ChannelArn": { + "maxLength": 256, + "minLength": 3, + "pattern": "(^[a-zA-Z0-9._/\\-:]+$)", + "type": "string" + }, + "ChannelName": { + "maxLength": 128, + "minLength": 3, + "pattern": "(^[a-zA-Z0-9._\\-]+$)", + "type": "string" + }, + "Destination": { + "additionalProperties": false, + "properties": { + "Location": { + "maxLength": 1024, + "minLength": 3, + "pattern": "(^[a-zA-Z0-9._/\\-:]+$)", + "type": "string" + }, + "Type": { + "enum": [ + "EVENT_DATA_STORE" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Location" + ], + "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" + }, + "Timestamp": { + "type": "string" + }, + "UUID": { + "maxLength": 36, + "minLength": 36, + "pattern": "(^[a-f0-9\\-]+$)", + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/ChannelArn" + ], + "properties": { + "ChannelArn": { + "$ref": "#/definitions/ChannelArn" + }, + "Destinations": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Destination" + }, + "maxItems": 10, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "Name": { + "$ref": "#/definitions/ChannelName" + }, + "Source": { + "maxLength": 256, + "minLength": 1, + "pattern": "(.*)", + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 200, + "type": "array", + "uniqueItems": false + } + }, + "readOnlyProperties": [ + "/properties/ChannelArn" + ], + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudtrail.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::CloudTrail::Channel" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-eventdatastore.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-eventdatastore.json new file mode 100644 index 0000000000..a4b164141f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-cloudtrail-eventdatastore.json @@ -0,0 +1,255 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedEventSelector": { + "additionalProperties": false, + "properties": { + "FieldSelectors": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/AdvancedFieldSelector" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "Name": { + "maxLength": 1000, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "FieldSelectors" + ], + "type": "object" + }, + "AdvancedFieldSelector": { + "additionalProperties": false, + "properties": { + "EndsWith": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "Equals": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "Field": { + "maxLength": 1000, + "minLength": 1, + "pattern": "([\\w|\\d|\\.|_]+)", + "type": "string" + }, + "NotEndsWith": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "NotEquals": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "NotStartsWith": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + }, + "StartsWith": { + "insertionOrder": false, + "items": { + "maxLength": 2048, + "minLength": 1, + "pattern": "(.+)", + "type": "string" + }, + "minItems": 1, + "type": "array", + "uniqueItems": true + } + }, + "required": [ + "Field" + ], + "type": "object" + }, + "InsightSelector": { + "additionalProperties": false, + "properties": { + "InsightType": { + "enum": [ + "ApiCallRateInsight", + "ApiErrorRateInsight" + ], + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "Timestamp": { + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/EventDataStoreArn" + ], + "properties": { + "AdvancedEventSelectors": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/AdvancedEventSelector" + }, + "type": "array", + "uniqueItems": true + }, + "BillingMode": { + "enum": [ + "EXTENDABLE_RETENTION_PRICING", + "FIXED_RETENTION_PRICING" + ], + "type": "string" + }, + "CreatedTimestamp": { + "$ref": "#/definitions/Timestamp" + }, + "EventDataStoreArn": { + "type": "string" + }, + "FederationEnabled": { + "type": "boolean" + }, + "FederationRoleArn": { + "type": "string" + }, + "IngestionEnabled": { + "type": "boolean" + }, + "InsightSelectors": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/InsightSelector" + }, + "type": "array", + "uniqueItems": true + }, + "InsightsDestination": { + "maxLength": 256, + "minLength": 3, + "pattern": "^[a-zA-Z0-9._/\\-:]+$", + "type": "string" + }, + "KmsKeyId": { + "maxLength": 350, + "minLength": 1, + "pattern": "^[a-zA-Z0-9._/\\-:]+$", + "type": "string" + }, + "MultiRegionEnabled": { + "type": "boolean" + }, + "Name": { + "maxLength": 128, + "minLength": 3, + "pattern": "^[a-zA-Z0-9._\\-]+$", + "type": "string" + }, + "OrganizationEnabled": { + "type": "boolean" + }, + "RetentionPeriod": { + "maximum": 3653, + "minimum": 7, + "type": "integer" + }, + "Status": { + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "TerminationProtectionEnabled": { + "type": "boolean" + }, + "UpdatedTimestamp": { + "$ref": "#/definitions/Timestamp" + } + }, + "propertyTransform": { + "/properties/KmsKeyId": "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", KmsKeyId])" + }, + "readOnlyProperties": [ + "/properties/EventDataStoreArn", + "/properties/CreatedTimestamp", + "/properties/UpdatedTimestamp", + "/properties/Status" + ], + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudtrail.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::CloudTrail::EventDataStore" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipam.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipam.json new file mode 100644 index 0000000000..577618fbf2 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipam.json @@ -0,0 +1,138 @@ +{ + "additionalProperties": false, + "definitions": { + "IpamOperatingRegion": { + "additionalProperties": false, + "properties": { + "RegionName": { + "type": "string" + } + }, + "required": [ + "RegionName" + ], + "type": "object" + }, + "IpamOrganizationalUnitExclusion": { + "additionalProperties": false, + "properties": { + "OrganizationsEntityPath": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "OrganizationsEntityPath" + ], + "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/IpamId" + ], + "properties": { + "Arn": { + "type": "string" + }, + "DefaultResourceDiscoveryAssociationId": { + "type": "string" + }, + "DefaultResourceDiscoveryId": { + "type": "string" + }, + "DefaultResourceDiscoveryOrganizationalUnitExclusions": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/IpamOrganizationalUnitExclusion" + }, + "type": "array", + "uniqueItems": true + }, + "Description": { + "type": "string" + }, + "EnablePrivateGua": { + "type": "boolean" + }, + "IpamId": { + "type": "string" + }, + "OperatingRegions": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/IpamOperatingRegion" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "PrivateDefaultScopeId": { + "type": "string" + }, + "PublicDefaultScopeId": { + "maxLength": 255, + "type": "string" + }, + "ResourceDiscoveryAssociationCount": { + "type": "integer" + }, + "ScopeCount": { + "type": "integer" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "Tier": { + "enum": [ + "free", + "advanced" + ], + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/IpamId", + "/properties/Arn", + "/properties/PublicDefaultScopeId", + "/properties/PrivateDefaultScopeId", + "/properties/ScopeCount", + "/properties/ResourceDiscoveryAssociationCount", + "/properties/DefaultResourceDiscoveryId", + "/properties/DefaultResourceDiscoveryAssociationId" + ], + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ipam.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::EC2::IPAM" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipamresourcediscovery.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipamresourcediscovery.json new file mode 100644 index 0000000000..69fcb90d96 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-ipamresourcediscovery.json @@ -0,0 +1,120 @@ +{ + "additionalProperties": false, + "definitions": { + "IpamOperatingRegion": { + "additionalProperties": false, + "properties": { + "RegionName": { + "type": "string" + } + }, + "required": [ + "RegionName" + ], + "type": "object" + }, + "IpamResourceDiscoveryOrganizationalUnitExclusion": { + "additionalProperties": false, + "properties": { + "OrganizationsEntityPath": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "OrganizationsEntityPath" + ], + "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/IpamResourceDiscoveryId" + ], + "properties": { + "Description": { + "type": "string" + }, + "IpamResourceDiscoveryArn": { + "type": "string" + }, + "IpamResourceDiscoveryId": { + "type": "string" + }, + "IpamResourceDiscoveryRegion": { + "type": "string" + }, + "IsDefault": { + "type": "boolean" + }, + "OperatingRegions": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/IpamOperatingRegion" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + }, + "OrganizationalUnitExclusions": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/IpamResourceDiscoveryOrganizationalUnitExclusion" + }, + "type": "array", + "uniqueItems": true + }, + "OwnerId": { + "type": "string" + }, + "State": { + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "propertyTransform": {}, + "readOnlyProperties": [ + "/properties/IpamResourceDiscoveryId", + "/properties/IpamResourceDiscoveryArn", + "/properties/OwnerId", + "/properties/IpamResourceDiscoveryRegion", + "/properties/IsDefault", + "/properties/State" + ], + "required": [], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ipam.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::EC2::IPAMResourceDiscovery" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-iotsitewise-portal.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-iotsitewise-portal.json deleted file mode 100644 index 9810dde21c..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-iotsitewise-portal.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/PortalArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PortalAuthMode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/PortalId" - ], - "properties": { - "Alarms": { - "additionalProperties": false, - "properties": { - "AlarmRoleArn": { - "maxLength": 1600, - "minLength": 1, - "pattern": "^arn:aws(-cn|-us-gov)?:[a-zA-Z0-9-:\\/_\\.\\+=,@]+$", - "type": "string" - }, - "NotificationLambdaArn": { - "maxLength": 1600, - "minLength": 1, - "pattern": "^arn:aws(-cn|-us-gov)?:[a-zA-Z0-9-:\\/_\\.]+$", - "type": "string" - } - }, - "type": "object" - }, - "NotificationSenderEmail": { - "maxLength": 255, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_\\-\\.\\+]+@[a-zA-Z0-9_\\-\\.\\+]+\\.[a-zA-Z]{2,}$", - "type": "string" - }, - "PortalArn": { - "type": "string" - }, - "PortalAuthMode": { - "enum": [ - "IAM", - "SSO" - ], - "type": "string" - }, - "PortalClientId": { - "type": "string" - }, - "PortalContactEmail": { - "maxLength": 255, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_\\-\\.\\+]+@[a-zA-Z0-9_\\-\\.\\+]+\\.[a-zA-Z]{2,}$", - "type": "string" - }, - "PortalDescription": { - "maxLength": 2048, - "minLength": 1, - "pattern": "[^\\u0000-\\u001F\\u007F]+", - "type": "string" - }, - "PortalId": { - "type": "string" - }, - "PortalName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[^\\u0000-\\u001F\\u007F]+", - "type": "string" - }, - "PortalStartUrl": { - "type": "string" - }, - "RoleArn": { - "maxLength": 1600, - "minLength": 1, - "pattern": "^arn:aws(-cn|-us-gov)?:[a-zA-Z0-9-:\\/_\\.\\+=,@]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/PortalArn", - "/properties/PortalClientId", - "/properties/PortalId", - "/properties/PortalStartUrl" - ], - "required": [ - "PortalContactEmail", - "PortalName", - "RoleArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-iotsitewise.git", - "taggable": true, - "typeName": "AWS::IoTSiteWise::Portal", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-opensearchserverless-securityconfig.json new file mode 100644 index 0000000000..d405d31cee --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-opensearchserverless-securityconfig.json @@ -0,0 +1,158 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/Name" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Type", + "/properties/Name", + "/properties/IamIdentityCenterOptions/InstanceArn" + ], + "definitions": { + "IamIdentityCenterApplicationArn": { + "type": "string" + }, + "IamIdentityCenterConfigOptions": { + "additionalProperties": false, + "properties": { + "ApplicationArn": { + "$ref": "#/definitions/IamIdentityCenterApplicationArn" + }, + "ApplicationDescription": { + "type": "string" + }, + "ApplicationName": { + "type": "string" + }, + "GroupAttribute": { + "$ref": "#/definitions/IamIdentityCenterGroupAttribute" + }, + "InstanceArn": { + "$ref": "#/definitions/IamIdentityCenterInstanceArn" + }, + "UserAttribute": { + "$ref": "#/definitions/IamIdentityCenterUserAttribute" + } + }, + "required": [ + "InstanceArn" + ], + "type": "object" + }, + "IamIdentityCenterGroupAttribute": { + "enum": [ + "GroupId", + "GroupName" + ], + "type": "string" + }, + "IamIdentityCenterInstanceArn": { + "maxLength": 1224, + "minLength": 10, + "pattern": "arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}", + "type": "string" + }, + "IamIdentityCenterUserAttribute": { + "enum": [ + "Email", + "UserId", + "UserName" + ], + "type": "string" + }, + "SamlConfigOptions": { + "additionalProperties": false, + "properties": { + "GroupAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + }, + "Metadata": { + "maxLength": 51200, + "minLength": 1, + "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+", + "type": "string" + }, + "OpenSearchServerlessEntityId": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^aws:opensearch:[0-9]{12}:*", + "type": "string" + }, + "SessionTimeout": { + "maximum": 720, + "minimum": 5, + "type": "integer" + }, + "UserAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + } + }, + "required": [ + "Metadata" + ], + "type": "object" + }, + "SecurityConfigType": { + "enum": [ + "saml", + "iamidentitycenter" + ], + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Description": { + "maxLength": 1000, + "minLength": 1, + "type": "string" + }, + "IamIdentityCenterOptions": { + "$ref": "#/definitions/IamIdentityCenterConfigOptions" + }, + "Id": { + "maxLength": 100, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 32, + "minLength": 3, + "pattern": "^[a-z][a-z0-9-]{2,31}$", + "type": "string" + }, + "SamlOptions": { + "$ref": "#/definitions/SamlConfigOptions" + }, + "Type": { + "$ref": "#/definitions/SecurityConfigType" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/IamIdentityCenterOptions/ApplicationArn", + "/properties/IamIdentityCenterOptions/ApplicationName", + "/properties/IamIdentityCenterOptions/ApplicationDescription" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-opensearchserverless", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::OpenSearchServerless::SecurityConfig", + "writeOnlyProperties": [ + "/properties/Name" + ] +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py b/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py index b6dfaa65d3..996b293723 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py @@ -795,7 +795,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -805,7 +804,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-logicallyairgappedbackupvault.json", @@ -884,7 +882,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1046,6 +1043,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-events-apidestination.json", "aws-events-archive.json", "aws-events-connection.json", diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opensearchserverless-securityconfig.json index 4e0b9a6bcd..425ff38269 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-opensearchserverless-securityconfig.json +++ b/src/cfnlint/data/schemas/providers/eu_central_2/aws-opensearchserverless-securityconfig.json @@ -26,6 +26,8 @@ "type": "string" }, "SessionTimeout": { + "maximum": 720, + "minimum": 5, "type": "integer" }, "UserAttribute": { diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py b/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py index 54072d05a5..9fc6ff10dc 100644 --- a/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py @@ -853,6 +853,13 @@ "AWS::SES::ContactList", "AWS::SES::DedicatedIpPool", "AWS::SES::EmailIdentity", + "AWS::SES::MailManagerAddonInstance", + "AWS::SES::MailManagerAddonSubscription", + "AWS::SES::MailManagerArchive", + "AWS::SES::MailManagerIngressPoint", + "AWS::SES::MailManagerRelay", + "AWS::SES::MailManagerRuleSet", + "AWS::SES::MailManagerTrafficPolicy", "AWS::SES::ReceiptFilter", "AWS::SES::ReceiptRule", "AWS::SES::ReceiptRuleSet", @@ -1234,7 +1241,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1305,6 +1311,7 @@ "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", "aws-dms-replicationtask.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1453,6 +1460,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1934,6 +1942,13 @@ "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", "aws-ses-emailidentity.json", + "aws-ses-mailmanageraddoninstance.json", + "aws-ses-mailmanageraddonsubscription.json", + "aws-ses-mailmanagerarchive.json", + "aws-ses-mailmanageringresspoint.json", + "aws-ses-mailmanagerrelay.json", + "aws-ses-mailmanagerruleset.json", + "aws-ses-mailmanagertrafficpolicy.json", "aws-ses-receiptfilter.json", "aws-ses-receiptrule.json", "aws-ses-receiptruleset.json", @@ -1954,6 +1969,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_north_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py b/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py index f75949f34b..0e6960ce09 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py @@ -916,7 +916,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -926,7 +925,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1011,7 +1009,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1071,6 +1068,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1215,6 +1213,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_south_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} 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 d50340d8f0..a4ab8e6b06 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py @@ -891,7 +891,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -934,6 +933,7 @@ "aws-docdb-dbinstance.json", "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1061,6 +1061,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_south_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} 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 69d8906936..6bb708f06a 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py @@ -1624,6 +1624,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1774,6 +1775,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-entityresolution-idmappingworkflow.json", "aws-entityresolution-idnamespace.json", @@ -2256,6 +2258,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -2326,7 +2329,6 @@ "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-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-s3-accessgrantsinstance.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-s3-accessgrantsinstance.json new file mode 100644 index 0000000000..fe8f402598 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_west_1/aws-s3-accessgrantsinstance.json @@ -0,0 +1,72 @@ +{ + "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": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::S3::AccessGrantsInstance" +} 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 00e2b6790a..8b677873ae 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_2/__init__.py @@ -123,6 +123,7 @@ "AWS::AutoScaling::ScheduledAction", "AWS::AutoScaling::WarmPool", "AWS::AutoScalingPlans::ScalingPlan", + "AWS::BCMDataExports::Export", "AWS::Backup::BackupPlan", "AWS::Backup::BackupSelection", "AWS::Backup::BackupVault", @@ -269,6 +270,7 @@ "AWS::Connect::ApprovedOrigin", "AWS::Connect::ContactFlow", "AWS::Connect::ContactFlowModule", + "AWS::Connect::ContactFlowVersion", "AWS::Connect::EmailAddress", "AWS::Connect::EvaluationForm", "AWS::Connect::HoursOfOperation", @@ -1003,6 +1005,13 @@ "AWS::SES::ContactList", "AWS::SES::DedicatedIpPool", "AWS::SES::EmailIdentity", + "AWS::SES::MailManagerAddonInstance", + "AWS::SES::MailManagerAddonSubscription", + "AWS::SES::MailManagerArchive", + "AWS::SES::MailManagerIngressPoint", + "AWS::SES::MailManagerRelay", + "AWS::SES::MailManagerRuleSet", + "AWS::SES::MailManagerTrafficPolicy", "AWS::SES::ReceiptFilter", "AWS::SES::ReceiptRule", "AWS::SES::ReceiptRuleSet", @@ -1345,6 +1354,7 @@ "aws-batch-jobdefinition.json", "aws-batch-jobqueue.json", "aws-batch-schedulingpolicy.json", + "aws-bcmdataexports-export.json", "aws-bedrock-agent.json", "aws-bedrock-agentalias.json", "aws-bedrock-applicationinferenceprofile.json", @@ -1355,6 +1365,8 @@ "aws-bedrock-guardrail.json", "aws-bedrock-guardrailversion.json", "aws-bedrock-knowledgebase.json", + "aws-bedrock-prompt.json", + "aws-bedrock-promptversion.json", "aws-budgets-budget.json", "aws-budgets-budgetsaction.json", "aws-cassandra-keyspace.json", @@ -1451,7 +1463,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1475,6 +1486,7 @@ "aws-connect-approvedorigin.json", "aws-connect-contactflow.json", "aws-connect-contactflowmodule.json", + "aws-connect-contactflowversion.json", "aws-connect-emailaddress.json", "aws-connect-evaluationform.json", "aws-connect-hoursofoperation.json", @@ -1568,6 +1580,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1717,6 +1730,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-entityresolution-idmappingworkflow.json", "aws-entityresolution-idnamespace.json", @@ -2108,6 +2122,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -2268,6 +2283,13 @@ "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", "aws-ses-emailidentity.json", + "aws-ses-mailmanageraddoninstance.json", + "aws-ses-mailmanageraddonsubscription.json", + "aws-ses-mailmanagerarchive.json", + "aws-ses-mailmanageringresspoint.json", + "aws-ses-mailmanagerrelay.json", + "aws-ses-mailmanagerruleset.json", + "aws-ses-mailmanagertrafficpolicy.json", "aws-ses-receiptfilter.json", "aws-ses-receiptrule.json", "aws-ses-receiptruleset.json", @@ -2287,6 +2309,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-prompt.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-prompt.json deleted file mode 100644 index 3ecdce91a2..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-prompt.json +++ /dev/null @@ -1,550 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AnyToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "AutoToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "ChatPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Messages": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Message" - }, - "minItems": 0, - "type": "array" - }, - "System": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SystemContentBlock" - }, - "minItems": 0, - "type": "array" - }, - "ToolConfiguration": { - "$ref": "#/definitions/ToolConfiguration" - } - }, - "required": [ - "Messages" - ], - "type": "object" - }, - "ContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "ConversationRole": { - "enum": [ - "user", - "assistant" - ], - "type": "string" - }, - "Message": { - "additionalProperties": false, - "properties": { - "Content": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ContentBlock" - }, - "minItems": 1, - "type": "array" - }, - "Role": { - "$ref": "#/definitions/ConversationRole" - } - }, - "required": [ - "Role", - "Content" - ], - "type": "object" - }, - "PromptAgentResource": { - "additionalProperties": false, - "properties": { - "AgentIdentifier": { - "maxLength": 2048, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$", - "type": "string" - } - }, - "required": [ - "AgentIdentifier" - ], - "type": "object" - }, - "PromptGenAiResource": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Agent": { - "$ref": "#/definitions/PromptAgentResource" - } - }, - "required": [ - "Agent" - ], - "title": "Agent", - "type": "object" - } - ] - }, - "PromptInferenceConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/PromptModelInferenceConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "PromptInputVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - } - }, - "type": "object" - }, - "PromptModelInferenceConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 4096, - "minimum": 0, - "type": "number" - }, - "StopSequences": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "maxItems": 4, - "minItems": 0, - "type": "array" - }, - "Temperature": { - "maximum": 1, - "minimum": 0, - "type": "number" - }, - "TopP": { - "maximum": 1, - "minimum": 0, - "type": "number" - } - }, - "type": "object" - }, - "PromptTemplateConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/TextPromptTemplateConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Chat": { - "$ref": "#/definitions/ChatPromptTemplateConfiguration" - } - }, - "required": [ - "Chat" - ], - "title": "Chat", - "type": "object" - } - ] - }, - "PromptTemplateType": { - "enum": [ - "TEXT", - "CHAT" - ], - "type": "string" - }, - "PromptVariant": { - "additionalProperties": false, - "properties": { - "GenAiResource": { - "$ref": "#/definitions/PromptGenAiResource" - }, - "InferenceConfiguration": { - "$ref": "#/definitions/PromptInferenceConfiguration" - }, - "ModelId": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "TemplateConfiguration": { - "$ref": "#/definitions/PromptTemplateConfiguration" - }, - "TemplateType": { - "$ref": "#/definitions/PromptTemplateType" - } - }, - "required": [ - "Name", - "TemplateType", - "TemplateConfiguration" - ], - "type": "object" - }, - "SpecificToolChoice": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SystemContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "TagsMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9\\s._:/=+@-]*$": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", - "type": "string" - } - }, - "type": "object" - }, - "TextPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Text": { - "maxLength": 200000, - "minLength": 1, - "type": "string" - }, - "TextS3Location": { - "$ref": "#/definitions/TextS3Location" - } - }, - "required": [], - "type": "object" - }, - "TextS3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "maxLength": 63, - "minLength": 3, - "pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$", - "type": "string" - }, - "Key": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "Version": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "Tool": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "ToolSpec": { - "$ref": "#/definitions/ToolSpecification" - } - }, - "required": [ - "ToolSpec" - ], - "title": "ToolSpec", - "type": "object" - } - ] - }, - "ToolChoice": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Auto": { - "$ref": "#/definitions/AutoToolChoice" - } - }, - "required": [ - "Auto" - ], - "title": "Auto", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Any": { - "$ref": "#/definitions/AnyToolChoice" - } - }, - "required": [ - "Any" - ], - "title": "Any", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Tool": { - "$ref": "#/definitions/SpecificToolChoice" - } - }, - "required": [ - "Tool" - ], - "title": "Tool", - "type": "object" - } - ] - }, - "ToolConfiguration": { - "additionalProperties": false, - "properties": { - "ToolChoice": { - "$ref": "#/definitions/ToolChoice" - }, - "Tools": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tool" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Tools" - ], - "type": "object" - }, - "ToolInputSchema": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Json": { - "type": "object" - } - }, - "required": [ - "Json" - ], - "title": "Json", - "type": "object" - } - ] - }, - "ToolSpecification": { - "additionalProperties": false, - "properties": { - "Description": { - "minLength": 1, - "type": "string" - }, - "InputSchema": { - "$ref": "#/definitions/ToolInputSchema" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name", - "InputSchema" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})$", - "type": "string" - }, - "CreatedAt": { - "format": "date-time", - "type": "string" - }, - "CustomerEncryptionKeyArn": { - "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" - }, - "DefaultVariant": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/TagsMap" - }, - "UpdatedAt": { - "format": "date-time", - "type": "string" - }, - "Variants": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptVariant" - }, - "maxItems": 1, - "minItems": 0, - "type": "array" - }, - "Version": { - "maxLength": 5, - "minLength": 5, - "pattern": "^DRAFT$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreatedAt", - "/properties/Id", - "/properties/UpdatedAt", - "/properties/Version" - ], - "required": [ - "Name" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Bedrock::Prompt", - "writeOnlyProperties": [ - "/properties/Variants/*/TemplateConfiguration/Text/TextS3Location" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-promptversion.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-promptversion.json deleted file mode 100644 index f5567eb98f..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-bedrock-promptversion.json +++ /dev/null @@ -1,536 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PromptArn", - "/properties/Description", - "/properties/Tags" - ], - "definitions": { - "AnyToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "AutoToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "ChatPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Messages": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Message" - }, - "minItems": 0, - "type": "array" - }, - "System": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SystemContentBlock" - }, - "minItems": 0, - "type": "array" - }, - "ToolConfiguration": { - "$ref": "#/definitions/ToolConfiguration" - } - }, - "required": [ - "Messages" - ], - "type": "object" - }, - "ContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "ConversationRole": { - "enum": [ - "user", - "assistant" - ], - "type": "string" - }, - "Message": { - "additionalProperties": false, - "properties": { - "Content": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ContentBlock" - }, - "minItems": 1, - "type": "array" - }, - "Role": { - "$ref": "#/definitions/ConversationRole" - } - }, - "required": [ - "Role", - "Content" - ], - "type": "object" - }, - "PromptAgentResource": { - "additionalProperties": false, - "properties": { - "AgentIdentifier": { - "maxLength": 2048, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$", - "type": "string" - } - }, - "required": [ - "AgentIdentifier" - ], - "type": "object" - }, - "PromptGenAiResource": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Agent": { - "$ref": "#/definitions/PromptAgentResource" - } - }, - "required": [ - "Agent" - ], - "title": "Agent", - "type": "object" - } - ] - }, - "PromptInferenceConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/PromptModelInferenceConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "PromptInputVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - } - }, - "type": "object" - }, - "PromptModelInferenceConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 4096, - "minimum": 0, - "type": "number" - }, - "StopSequences": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "maxItems": 4, - "minItems": 0, - "type": "array" - }, - "Temperature": { - "maximum": 1, - "minimum": 0, - "type": "number" - }, - "TopP": { - "maximum": 1, - "minimum": 0, - "type": "number" - } - }, - "type": "object" - }, - "PromptTemplateConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/TextPromptTemplateConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Chat": { - "$ref": "#/definitions/ChatPromptTemplateConfiguration" - } - }, - "required": [ - "Chat" - ], - "title": "Chat", - "type": "object" - } - ] - }, - "PromptTemplateType": { - "enum": [ - "TEXT", - "CHAT" - ], - "type": "string" - }, - "PromptVariant": { - "additionalProperties": false, - "properties": { - "GenAiResource": { - "$ref": "#/definitions/PromptGenAiResource" - }, - "InferenceConfiguration": { - "$ref": "#/definitions/PromptInferenceConfiguration" - }, - "ModelId": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "TemplateConfiguration": { - "$ref": "#/definitions/PromptTemplateConfiguration" - }, - "TemplateType": { - "$ref": "#/definitions/PromptTemplateType" - } - }, - "required": [ - "Name", - "TemplateType", - "TemplateConfiguration" - ], - "type": "object" - }, - "SpecificToolChoice": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SystemContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "TagsMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9\\s._:/=+@-]*$": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", - "type": "string" - } - }, - "type": "object" - }, - "TextPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Text": { - "maxLength": 200000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "type": "object" - }, - "Tool": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "ToolSpec": { - "$ref": "#/definitions/ToolSpecification" - } - }, - "required": [ - "ToolSpec" - ], - "title": "ToolSpec", - "type": "object" - } - ] - }, - "ToolChoice": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Auto": { - "$ref": "#/definitions/AutoToolChoice" - } - }, - "required": [ - "Auto" - ], - "title": "Auto", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Any": { - "$ref": "#/definitions/AnyToolChoice" - } - }, - "required": [ - "Any" - ], - "title": "Any", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Tool": { - "$ref": "#/definitions/SpecificToolChoice" - } - }, - "required": [ - "Tool" - ], - "title": "Tool", - "type": "object" - } - ] - }, - "ToolConfiguration": { - "additionalProperties": false, - "properties": { - "ToolChoice": { - "$ref": "#/definitions/ToolChoice" - }, - "Tools": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tool" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Tools" - ], - "type": "object" - }, - "ToolInputSchema": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Json": { - "type": "object" - } - }, - "required": [ - "Json" - ], - "title": "Json", - "type": "object" - } - ] - }, - "ToolSpecification": { - "additionalProperties": false, - "properties": { - "Description": { - "minLength": 1, - "type": "string" - }, - "InputSchema": { - "$ref": "#/definitions/ToolInputSchema" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name", - "InputSchema" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}:[0-9]{1,20})$", - "type": "string" - }, - "CreatedAt": { - "format": "date-time", - "type": "string" - }, - "CustomerEncryptionKeyArn": { - "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" - }, - "DefaultVariant": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "PromptArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})$", - "type": "string" - }, - "PromptId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/TagsMap" - }, - "UpdatedAt": { - "format": "date-time", - "type": "string" - }, - "Variants": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptVariant" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - }, - "Version": { - "maxLength": 5, - "minLength": 1, - "pattern": "^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreatedAt", - "/properties/PromptId", - "/properties/UpdatedAt", - "/properties/Version", - "/properties/Name", - "/properties/DefaultVariant", - "/properties/Variants", - "/properties/CustomerEncryptionKeyArn" - ], - "required": [ - "PromptArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-bedrock-prompts", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": false, - "taggable": true - }, - "typeName": "AWS::Bedrock::PromptVersion" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_west_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_2/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/eu_west_2/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_2/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 26751904bc..4d5b3e1376 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_3/__init__.py @@ -821,6 +821,13 @@ "AWS::SES::ContactList", "AWS::SES::DedicatedIpPool", "AWS::SES::EmailIdentity", + "AWS::SES::MailManagerAddonInstance", + "AWS::SES::MailManagerAddonSubscription", + "AWS::SES::MailManagerArchive", + "AWS::SES::MailManagerIngressPoint", + "AWS::SES::MailManagerRelay", + "AWS::SES::MailManagerRuleSet", + "AWS::SES::MailManagerTrafficPolicy", "AWS::SES::ReceiptFilter", "AWS::SES::ReceiptRule", "AWS::SES::ReceiptRuleSet", @@ -1130,6 +1137,8 @@ "aws-bedrock-guardrail.json", "aws-bedrock-guardrailversion.json", "aws-bedrock-knowledgebase.json", + "aws-bedrock-prompt.json", + "aws-bedrock-promptversion.json", "aws-budgets-budget.json", "aws-budgets-budgetsaction.json", "aws-cassandra-keyspace.json", @@ -1215,7 +1224,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1282,6 +1290,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1426,6 +1435,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1719,6 +1729,7 @@ "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -1873,6 +1884,13 @@ "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", "aws-ses-emailidentity.json", + "aws-ses-mailmanageraddoninstance.json", + "aws-ses-mailmanageraddonsubscription.json", + "aws-ses-mailmanagerarchive.json", + "aws-ses-mailmanageringresspoint.json", + "aws-ses-mailmanagerrelay.json", + "aws-ses-mailmanagerruleset.json", + "aws-ses-mailmanagertrafficpolicy.json", "aws-ses-receiptfilter.json", "aws-ses-receiptrule.json", "aws-ses-receiptruleset.json", @@ -1892,6 +1910,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-prompt.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-prompt.json deleted file mode 100644 index 3ecdce91a2..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-prompt.json +++ /dev/null @@ -1,550 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AnyToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "AutoToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "ChatPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Messages": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Message" - }, - "minItems": 0, - "type": "array" - }, - "System": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SystemContentBlock" - }, - "minItems": 0, - "type": "array" - }, - "ToolConfiguration": { - "$ref": "#/definitions/ToolConfiguration" - } - }, - "required": [ - "Messages" - ], - "type": "object" - }, - "ContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "ConversationRole": { - "enum": [ - "user", - "assistant" - ], - "type": "string" - }, - "Message": { - "additionalProperties": false, - "properties": { - "Content": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ContentBlock" - }, - "minItems": 1, - "type": "array" - }, - "Role": { - "$ref": "#/definitions/ConversationRole" - } - }, - "required": [ - "Role", - "Content" - ], - "type": "object" - }, - "PromptAgentResource": { - "additionalProperties": false, - "properties": { - "AgentIdentifier": { - "maxLength": 2048, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$", - "type": "string" - } - }, - "required": [ - "AgentIdentifier" - ], - "type": "object" - }, - "PromptGenAiResource": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Agent": { - "$ref": "#/definitions/PromptAgentResource" - } - }, - "required": [ - "Agent" - ], - "title": "Agent", - "type": "object" - } - ] - }, - "PromptInferenceConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/PromptModelInferenceConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "PromptInputVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - } - }, - "type": "object" - }, - "PromptModelInferenceConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 4096, - "minimum": 0, - "type": "number" - }, - "StopSequences": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "maxItems": 4, - "minItems": 0, - "type": "array" - }, - "Temperature": { - "maximum": 1, - "minimum": 0, - "type": "number" - }, - "TopP": { - "maximum": 1, - "minimum": 0, - "type": "number" - } - }, - "type": "object" - }, - "PromptTemplateConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/TextPromptTemplateConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Chat": { - "$ref": "#/definitions/ChatPromptTemplateConfiguration" - } - }, - "required": [ - "Chat" - ], - "title": "Chat", - "type": "object" - } - ] - }, - "PromptTemplateType": { - "enum": [ - "TEXT", - "CHAT" - ], - "type": "string" - }, - "PromptVariant": { - "additionalProperties": false, - "properties": { - "GenAiResource": { - "$ref": "#/definitions/PromptGenAiResource" - }, - "InferenceConfiguration": { - "$ref": "#/definitions/PromptInferenceConfiguration" - }, - "ModelId": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "TemplateConfiguration": { - "$ref": "#/definitions/PromptTemplateConfiguration" - }, - "TemplateType": { - "$ref": "#/definitions/PromptTemplateType" - } - }, - "required": [ - "Name", - "TemplateType", - "TemplateConfiguration" - ], - "type": "object" - }, - "SpecificToolChoice": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SystemContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "TagsMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9\\s._:/=+@-]*$": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", - "type": "string" - } - }, - "type": "object" - }, - "TextPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Text": { - "maxLength": 200000, - "minLength": 1, - "type": "string" - }, - "TextS3Location": { - "$ref": "#/definitions/TextS3Location" - } - }, - "required": [], - "type": "object" - }, - "TextS3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "maxLength": 63, - "minLength": 3, - "pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$", - "type": "string" - }, - "Key": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "Version": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "Tool": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "ToolSpec": { - "$ref": "#/definitions/ToolSpecification" - } - }, - "required": [ - "ToolSpec" - ], - "title": "ToolSpec", - "type": "object" - } - ] - }, - "ToolChoice": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Auto": { - "$ref": "#/definitions/AutoToolChoice" - } - }, - "required": [ - "Auto" - ], - "title": "Auto", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Any": { - "$ref": "#/definitions/AnyToolChoice" - } - }, - "required": [ - "Any" - ], - "title": "Any", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Tool": { - "$ref": "#/definitions/SpecificToolChoice" - } - }, - "required": [ - "Tool" - ], - "title": "Tool", - "type": "object" - } - ] - }, - "ToolConfiguration": { - "additionalProperties": false, - "properties": { - "ToolChoice": { - "$ref": "#/definitions/ToolChoice" - }, - "Tools": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tool" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Tools" - ], - "type": "object" - }, - "ToolInputSchema": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Json": { - "type": "object" - } - }, - "required": [ - "Json" - ], - "title": "Json", - "type": "object" - } - ] - }, - "ToolSpecification": { - "additionalProperties": false, - "properties": { - "Description": { - "minLength": 1, - "type": "string" - }, - "InputSchema": { - "$ref": "#/definitions/ToolInputSchema" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name", - "InputSchema" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})$", - "type": "string" - }, - "CreatedAt": { - "format": "date-time", - "type": "string" - }, - "CustomerEncryptionKeyArn": { - "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" - }, - "DefaultVariant": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "Id": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/TagsMap" - }, - "UpdatedAt": { - "format": "date-time", - "type": "string" - }, - "Variants": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptVariant" - }, - "maxItems": 1, - "minItems": 0, - "type": "array" - }, - "Version": { - "maxLength": 5, - "minLength": 5, - "pattern": "^DRAFT$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreatedAt", - "/properties/Id", - "/properties/UpdatedAt", - "/properties/Version" - ], - "required": [ - "Name" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Bedrock::Prompt", - "writeOnlyProperties": [ - "/properties/Variants/*/TemplateConfiguration/Text/TextS3Location" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-promptversion.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-promptversion.json deleted file mode 100644 index f5567eb98f..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-bedrock-promptversion.json +++ /dev/null @@ -1,536 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PromptArn", - "/properties/Description", - "/properties/Tags" - ], - "definitions": { - "AnyToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "AutoToolChoice": { - "additionalProperties": false, - "type": "object" - }, - "ChatPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Messages": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Message" - }, - "minItems": 0, - "type": "array" - }, - "System": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SystemContentBlock" - }, - "minItems": 0, - "type": "array" - }, - "ToolConfiguration": { - "$ref": "#/definitions/ToolConfiguration" - } - }, - "required": [ - "Messages" - ], - "type": "object" - }, - "ContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "ConversationRole": { - "enum": [ - "user", - "assistant" - ], - "type": "string" - }, - "Message": { - "additionalProperties": false, - "properties": { - "Content": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ContentBlock" - }, - "minItems": 1, - "type": "array" - }, - "Role": { - "$ref": "#/definitions/ConversationRole" - } - }, - "required": [ - "Role", - "Content" - ], - "type": "object" - }, - "PromptAgentResource": { - "additionalProperties": false, - "properties": { - "AgentIdentifier": { - "maxLength": 2048, - "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$", - "type": "string" - } - }, - "required": [ - "AgentIdentifier" - ], - "type": "object" - }, - "PromptGenAiResource": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Agent": { - "$ref": "#/definitions/PromptAgentResource" - } - }, - "required": [ - "Agent" - ], - "title": "Agent", - "type": "object" - } - ] - }, - "PromptInferenceConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/PromptModelInferenceConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "PromptInputVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - } - }, - "type": "object" - }, - "PromptModelInferenceConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTokens": { - "maximum": 4096, - "minimum": 0, - "type": "number" - }, - "StopSequences": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "maxItems": 4, - "minItems": 0, - "type": "array" - }, - "Temperature": { - "maximum": 1, - "minimum": 0, - "type": "number" - }, - "TopP": { - "maximum": 1, - "minimum": 0, - "type": "number" - } - }, - "type": "object" - }, - "PromptTemplateConfiguration": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "$ref": "#/definitions/TextPromptTemplateConfiguration" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Chat": { - "$ref": "#/definitions/ChatPromptTemplateConfiguration" - } - }, - "required": [ - "Chat" - ], - "title": "Chat", - "type": "object" - } - ] - }, - "PromptTemplateType": { - "enum": [ - "TEXT", - "CHAT" - ], - "type": "string" - }, - "PromptVariant": { - "additionalProperties": false, - "properties": { - "GenAiResource": { - "$ref": "#/definitions/PromptGenAiResource" - }, - "InferenceConfiguration": { - "$ref": "#/definitions/PromptInferenceConfiguration" - }, - "ModelId": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "TemplateConfiguration": { - "$ref": "#/definitions/PromptTemplateConfiguration" - }, - "TemplateType": { - "$ref": "#/definitions/PromptTemplateType" - } - }, - "required": [ - "Name", - "TemplateType", - "TemplateConfiguration" - ], - "type": "object" - }, - "SpecificToolChoice": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "SystemContentBlock": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Text": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "title": "Text", - "type": "object" - } - ] - }, - "TagsMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9\\s._:/=+@-]*$": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$", - "type": "string" - } - }, - "type": "object" - }, - "TextPromptTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "InputVariables": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptInputVariable" - }, - "maxItems": 5, - "minItems": 0, - "type": "array" - }, - "Text": { - "maxLength": 200000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Text" - ], - "type": "object" - }, - "Tool": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "ToolSpec": { - "$ref": "#/definitions/ToolSpecification" - } - }, - "required": [ - "ToolSpec" - ], - "title": "ToolSpec", - "type": "object" - } - ] - }, - "ToolChoice": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Auto": { - "$ref": "#/definitions/AutoToolChoice" - } - }, - "required": [ - "Auto" - ], - "title": "Auto", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Any": { - "$ref": "#/definitions/AnyToolChoice" - } - }, - "required": [ - "Any" - ], - "title": "Any", - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "Tool": { - "$ref": "#/definitions/SpecificToolChoice" - } - }, - "required": [ - "Tool" - ], - "title": "Tool", - "type": "object" - } - ] - }, - "ToolConfiguration": { - "additionalProperties": false, - "properties": { - "ToolChoice": { - "$ref": "#/definitions/ToolChoice" - }, - "Tools": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tool" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "Tools" - ], - "type": "object" - }, - "ToolInputSchema": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "Json": { - "type": "object" - } - }, - "required": [ - "Json" - ], - "title": "Json", - "type": "object" - } - ] - }, - "ToolSpecification": { - "additionalProperties": false, - "properties": { - "Description": { - "minLength": 1, - "type": "string" - }, - "InputSchema": { - "$ref": "#/definitions/ToolInputSchema" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$", - "type": "string" - } - }, - "required": [ - "Name", - "InputSchema" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}:[0-9]{1,20})$", - "type": "string" - }, - "CreatedAt": { - "format": "date-time", - "type": "string" - }, - "CustomerEncryptionKeyArn": { - "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" - }, - "DefaultVariant": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "Description": { - "maxLength": 200, - "minLength": 1, - "type": "string" - }, - "Name": { - "pattern": "^([0-9a-zA-Z][_-]?){1,100}$", - "type": "string" - }, - "PromptArn": { - "maxLength": 2048, - "minLength": 1, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})$", - "type": "string" - }, - "PromptId": { - "pattern": "^[0-9a-zA-Z]{10}$", - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/TagsMap" - }, - "UpdatedAt": { - "format": "date-time", - "type": "string" - }, - "Variants": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PromptVariant" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - }, - "Version": { - "maxLength": 5, - "minLength": 1, - "pattern": "^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreatedAt", - "/properties/PromptId", - "/properties/UpdatedAt", - "/properties/Version", - "/properties/Name", - "/properties/DefaultVariant", - "/properties/Variants", - "/properties/CustomerEncryptionKeyArn" - ], - "required": [ - "PromptArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-bedrock-prompts", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": false, - "taggable": true - }, - "typeName": "AWS::Bedrock::PromptVersion" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_west_3/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/eu_west_3/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 d0cdf2f02c..381c59c7c6 100644 --- a/src/cfnlint/data/schemas/providers/il_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/il_central_1/__init__.py @@ -793,13 +793,11 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-logicallyairgappedbackupvault.json", @@ -868,7 +866,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1038,6 +1035,7 @@ "aws-emr-instancegroupconfig.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-events-eventbus.json", "aws-events-eventbuspolicy.json", "aws-events-rule.json", @@ -1054,7 +1052,6 @@ "aws-globalaccelerator-listener.json", "aws-glue-classifier.json", "aws-glue-connection.json", - "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/il_central_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/il_central_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/il_central_1/aws-glue-crawler.json similarity index 91% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-glue-crawler.json rename to src/cfnlint/data/schemas/providers/il_central_1/aws-glue-crawler.json index 99a01b2edc..0c794468c5 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-glue-crawler.json +++ b/src/cfnlint/data/schemas/providers/il_central_1/aws-glue-crawler.json @@ -65,32 +65,6 @@ }, "type": "object" }, - "HudiTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "MaximumTraversalDepth": { - "type": "integer" - }, - "Paths": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, "IcebergTarget": { "additionalProperties": false, "properties": { @@ -268,13 +242,6 @@ "type": "array", "uniqueItems": false }, - "HudiTargets": { - "items": { - "$ref": "#/definitions/HudiTarget" - }, - "type": "array", - "uniqueItems": false - }, "IcebergTargets": { "items": { "$ref": "#/definitions/IcebergTarget" 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 6c2266f5ac..36e390a879 100644 --- a/src/cfnlint/data/schemas/providers/me_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/me_central_1/__init__.py @@ -823,7 +823,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -833,7 +832,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-logicallyairgappedbackupvault.json", @@ -904,7 +902,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -948,6 +945,7 @@ "aws-docdb-dbinstance.json", "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1075,8 +1073,8 @@ "aws-emr-instancegroupconfig.json", "aws-emr-securityconfiguration.json", "aws-emr-step.json", - "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-emr-studio.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-emr-studio.json new file mode 100644 index 0000000000..c33ba42dce --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_central_1/aws-emr-studio.json @@ -0,0 +1,183 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/AuthMode", + "/properties/EngineSecurityGroupId", + "/properties/ServiceRole", + "/properties/UserRole", + "/properties/VpcId", + "/properties/WorkspaceSecurityGroupId", + "/properties/TrustedIdentityPropagationEnabled", + "/properties/IdcUserAssignment", + "/properties/IdcInstanceArn", + "/properties/EncryptionKeyArn" + ], + "definitions": { + "Arn": { + "maxLength": 10280, + "pattern": "^arn:aws(-(cn|us-gov|iso-f|iso-e))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$", + "type": "string" + }, + "SubnetId": { + "pattern": "^(subnet-[a-f0-9]{13})|(subnet-[a-f0-9]{8})\\Z", + "type": "string" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "pattern": "[a-zA-Z+-=._:/]+$", + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "documentationUrl": "https://docs.aws.amazon.com/emr/latest/APIReference/API_CreateStudio.html", + "primaryIdentifier": [ + "/properties/StudioId" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "AuthMode": { + "enum": [ + "SSO", + "IAM" + ], + "type": "string" + }, + "DefaultS3Location": { + "maxLength": 10280, + "minLength": 6, + "pattern": "^s3://.*", + "type": "string" + }, + "Description": { + "maxLength": 256, + "minLength": 0, + "type": "string" + }, + "EncryptionKeyArn": { + "$ref": "#/definitions/Arn" + }, + "EngineSecurityGroupId": { + "maxLength": 256, + "minLength": 4, + "pattern": "^sg-[a-zA-Z0-9\\-._]+$", + "type": "string" + }, + "IdcInstanceArn": { + "maxLength": 2048, + "minLength": 20, + "type": "string" + }, + "IdcUserAssignment": { + "enum": [ + "REQUIRED", + "OPTIONAL" + ], + "type": "string" + }, + "IdpAuthUrl": { + "maxLength": 4096, + "pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$", + "type": "string" + }, + "IdpRelayStateParameterName": { + "maxLength": 256, + "minLength": 0, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "pattern": "[a-zA-Z0-9_-]+", + "type": "string" + }, + "ServiceRole": { + "$ref": "#/definitions/Arn" + }, + "StudioId": { + "maxLength": 256, + "minLength": 4, + "pattern": "^es-[0-9A-Z]+", + "type": "string" + }, + "SubnetIds": { + "items": { + "$ref": "#/definitions/SubnetId" + }, + "minItems": 1, + "type": "array" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "TrustedIdentityPropagationEnabled": { + "type": "boolean" + }, + "Url": { + "maxLength": 4096, + "pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$", + "type": "string" + }, + "UserRole": { + "$ref": "#/definitions/Arn" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "maxLength": 256, + "pattern": "^(vpc-[0-9a-f]{8}|vpc-[0-9a-f]{17})$", + "type": "string" + }, + "WorkspaceSecurityGroupId": { + "maxLength": 256, + "pattern": "^sg-[a-zA-Z0-9\\-._]+$", + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/StudioId", + "/properties/Arn", + "/properties/Url" + ], + "required": [ + "AuthMode", + "EngineSecurityGroupId", + "Name", + "ServiceRole", + "SubnetIds", + "VpcId", + "WorkspaceSecurityGroupId", + "DefaultS3Location" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::EMR::Studio" +} diff --git a/src/cfnlint/data/schemas/providers/me_central_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/me_central_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/me_central_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} 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 0893a23d5e..a93d88d2a3 100644 --- a/src/cfnlint/data/schemas/providers/me_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/me_south_1/__init__.py @@ -919,7 +919,6 @@ "aws-appsync-sourceapiassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", @@ -929,7 +928,6 @@ "aws-autoscaling-scalingpolicy.json", "aws-autoscaling-scheduledaction.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1014,7 +1012,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1064,6 +1061,7 @@ "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", "aws-dms-replicationtask.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1205,6 +1203,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_south_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_south_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/me_south_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/me_south_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/me_south_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/me_south_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} 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 4f686bf237..6d7501b336 100644 --- a/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/sa_east_1/__init__.py @@ -1262,7 +1262,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1340,6 +1339,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1488,6 +1488,7 @@ "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1794,6 +1795,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -1854,7 +1856,6 @@ "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-bucketpolicy.json", diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/sa_east_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} 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 new file mode 100644 index 0000000000..fe8f402598 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/sa_east_1/aws-s3-accessgrantsinstance.json @@ -0,0 +1,72 @@ +{ + "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": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::S3::AccessGrantsInstance" +} diff --git a/src/cfnlint/data/schemas/providers/us_east_1/__init__.py b/src/cfnlint/data/schemas/providers/us_east_1/__init__.py index d7e7e74d0b..adc907fc93 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_east_1/__init__.py @@ -282,6 +282,7 @@ "AWS::Connect::ApprovedOrigin", "AWS::Connect::ContactFlow", "AWS::Connect::ContactFlowModule", + "AWS::Connect::ContactFlowVersion", "AWS::Connect::EmailAddress", "AWS::Connect::EvaluationForm", "AWS::Connect::HoursOfOperation", diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-athena-datacatalog.json index 6829a6cc66..93fbb6fe03 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-athena-datacatalog.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-athena-datacatalog.json @@ -73,6 +73,12 @@ "Type" ], "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", - "taggable": true, + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, "typeName": "AWS::Athena::DataCatalog" } diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-b2bi-partnership.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-b2bi-partnership.json index f537d7ff3f..baf042027b 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-b2bi-partnership.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-b2bi-partnership.json @@ -91,13 +91,13 @@ "ApplicationReceiverCode": { "maxLength": 15, "minLength": 2, - "pattern": "^[a-zA-Z0-9]*$", + "pattern": "^[a-zA-Z0-9 ]*$", "type": "string" }, "ApplicationSenderCode": { "maxLength": 15, "minLength": 2, - "pattern": "^[a-zA-Z0-9]*$", + "pattern": "^[a-zA-Z0-9 ]*$", "type": "string" }, "ResponsibleAgencyCode": { @@ -121,7 +121,7 @@ "ReceiverId": { "maxLength": 15, "minLength": 15, - "pattern": "^[a-zA-Z0-9]*$", + "pattern": "^[a-zA-Z0-9 ]*$", "type": "string" }, "ReceiverIdQualifier": { @@ -138,7 +138,7 @@ "SenderId": { "maxLength": 15, "minLength": 15, - "pattern": "^[a-zA-Z0-9]*$", + "pattern": "^[a-zA-Z0-9 ]*$", "type": "string" }, "SenderIdQualifier": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json index 0cfb3466ba..4e2fc66ab6 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-backup-backupplan.json @@ -68,6 +68,14 @@ "EnableContinuousBackup": { "type": "boolean" }, + "IndexActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/IndexActionsResourceType" + }, + "type": "array", + "uniqueItems": false + }, "Lifecycle": { "$ref": "#/definitions/LifecycleResourceType" }, @@ -117,6 +125,15 @@ ], "type": "object" }, + "IndexActionsResourceType": { + "additionalProperties": false, + "properties": { + "ResourceTypes": { + "$ref": "#/definitions/ResourceTypes" + } + }, + "type": "object" + }, "LifecycleResourceType": { "additionalProperties": false, "if": { @@ -145,6 +162,17 @@ } }, "type": "object" + }, + "ResourceType": { + "type": "string" + }, + "ResourceTypes": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/ResourceType" + }, + "type": "array", + "uniqueItems": true } }, "primaryIdentifier": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpooldomain.json index 3ea51b8a0b..8222c924aa 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpooldomain.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-cognito-userpooldomain.json @@ -16,7 +16,8 @@ } }, "primaryIdentifier": [ - "/properties/Id" + "/properties/UserPoolId", + "/properties/Domain" ], "properties": { "CloudFrontDistribution": { @@ -28,9 +29,6 @@ "Domain": { "type": "string" }, - "Id": { - "type": "string" - }, "ManagedLoginVersion": { "type": "integer" }, @@ -39,12 +37,21 @@ } }, "readOnlyProperties": [ - "/properties/Id", "/properties/CloudFrontDistribution" ], "required": [ "UserPoolId", "Domain" ], - "typeName": "AWS::Cognito::UserPoolDomain" + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::UserPoolDomain", + "writeOnlyProperties": [ + "/properties/ManagedLoginVersion" + ] } diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-contactflowversion.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-contactflowversion.json new file mode 100644 index 0000000000..b653ae1065 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-connect-contactflowversion.json @@ -0,0 +1,54 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/ContactFlowId", + "/properties/Description" + ], + "definitions": {}, + "primaryIdentifier": [ + "/properties/ContactFlowVersionARN" + ], + "properties": { + "ContactFlowId": { + "maxLength": 500, + "minLength": 1, + "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]+:[0-9]{12}:instance/[-a-zA-Z0-9]+/contact-flow/[-a-zA-Z0-9]+$", + "type": "string" + }, + "ContactFlowVersionARN": { + "maxLength": 500, + "minLength": 1, + "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]+:[0-9]{12}:instance/[-a-zA-Z0-9]+/contact-flow/[-a-zA-Z0-9]+:[0-9]+$", + "type": "string" + }, + "Description": { + "maxLength": 500, + "type": "string" + }, + "FlowContentSha256": { + "maxLength": 64, + "minLength": 1, + "pattern": "^[a-zA-Z0-9]{64}$", + "type": "string" + }, + "Version": { + "type": "integer" + } + }, + "readOnlyProperties": [ + "/properties/ContactFlowVersionARN", + "/properties/Version", + "/properties/FlowContentSha256" + ], + "required": [ + "ContactFlowId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Connect::ContactFlowVersion" +} diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-locationsmb.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-locationsmb.json index 7e7c70155d..f551ed5d45 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-locationsmb.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-datasync-locationsmb.json @@ -1,8 +1,5 @@ { "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ServerHostname" - ], "definitions": { "MountOptions": { "additionalProperties": false, @@ -58,11 +55,44 @@ "minItems": 1, "type": "array" }, + "AuthenticationType": { + "enum": [ + "NTLM", + "KERBEROS" + ], + "type": "string" + }, + "DnsIpAddresses": { + "default": null, + "insertionOrder": true, + "items": { + "maxLength": 15, + "minLength": 7, + "pattern": "\\A(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}\\Z", + "type": "string" + }, + "maxItems": 2, + "type": "array" + }, "Domain": { "maxLength": 253, "pattern": "^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$", "type": "string" }, + "KerberosKeytab": { + "maxLength": 87384, + "type": "string" + }, + "KerberosKrb5Conf": { + "maxLength": 174764, + "type": "string" + }, + "KerberosPrincipal": { + "maxLength": 256, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, "LocationArn": { "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}$", @@ -114,7 +144,6 @@ "/properties/LocationUri" ], "required": [ - "User", "AgentArns" ], "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git", @@ -129,6 +158,8 @@ "writeOnlyProperties": [ "/properties/Password", "/properties/Subdirectory", - "/properties/ServerHostname" + "/properties/ServerHostname", + "/properties/KerberosKeytab", + "/properties/KerberosKrb5Conf" ] } diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-studio.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-studio.json index c33ba42dce..f6b1a4ea55 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-studio.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-emr-studio.json @@ -175,9 +175,10 @@ ], "tagging": { "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true }, "typeName": "AWS::EMR::Studio" } diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json index 0c794468c5..99a01b2edc 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-glue-crawler.json @@ -65,6 +65,32 @@ }, "type": "object" }, + "HudiTarget": { + "additionalProperties": false, + "properties": { + "ConnectionName": { + "type": "string" + }, + "Exclusions": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "MaximumTraversalDepth": { + "type": "integer" + }, + "Paths": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + } + }, + "type": "object" + }, "IcebergTarget": { "additionalProperties": false, "properties": { @@ -242,6 +268,13 @@ "type": "array", "uniqueItems": false }, + "HudiTargets": { + "items": { + "$ref": "#/definitions/HudiTarget" + }, + "type": "array", + "uniqueItems": false + }, "IcebergTargets": { "items": { "$ref": "#/definitions/IcebergTarget" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-dataflowendpointgroup.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-dataflowendpointgroup.json index ee49356be6..42a5f53bca 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-dataflowendpointgroup.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-dataflowendpointgroup.json @@ -1,5 +1,10 @@ { "additionalProperties": false, + "createOnlyProperties": [ + "/properties/EndpointDetails", + "/properties/ContactPrePassDurationSeconds", + "/properties/ContactPostPassDurationSeconds" + ], "definitions": { "AgentStatus": { "enum": [ diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-missionprofile.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-missionprofile.json index 244bea72f1..adef9438c2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-missionprofile.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-groundstation-missionprofile.json @@ -27,6 +27,11 @@ "required": [ "KmsAliasArn" ] + }, + { + "required": [ + "KmsAliasName" + ] } ], "properties": { @@ -36,6 +41,12 @@ "pattern": "^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$", "type": "string" }, + "KmsAliasName": { + "maxLength": 256, + "minLength": 1, + "pattern": "^alias/[a-zA-Z0-9:/_-]+$", + "type": "string" + }, "KmsKeyArn": { "pattern": "^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$", "type": "string" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotsitewise-gateway.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotsitewise-gateway.json index d60f31e1cb..c49b0cba99 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-iotsitewise-gateway.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-iotsitewise-gateway.json @@ -29,11 +29,6 @@ "GatewayPlatform": { "additionalProperties": false, "oneOf": [ - { - "required": [ - "Greengrass" - ] - }, { "required": [ "GreengrassV2" diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-playbackkeypair.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-playbackkeypair.json index e105471df6..ad9bf6a3f4 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-playbackkeypair.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-playbackkeypair.json @@ -15,7 +15,7 @@ }, "Value": { "maxLength": 256, - "minLength": 1, + "minLength": 0, "type": "string" } }, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-publickey.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-publickey.json index c1358b0715..fd6cfdbe6b 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-publickey.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-ivs-publickey.json @@ -15,7 +15,7 @@ }, "Value": { "maxLength": 256, - "minLength": 1, + "minLength": 0, "type": "string" } }, diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchserverless-securityconfig.json index 58e151c877..12feac0940 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchserverless-securityconfig.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-opensearchserverless-securityconfig.json @@ -51,7 +51,7 @@ "IamIdentityCenterInstanceArn": { "maxLength": 1224, "minLength": 10, - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$", + "pattern": "arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}", "type": "string" }, "IamIdentityCenterUserAttribute": { diff --git a/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queue.json b/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queue.json index 03d61ee231..37ed6d228e 100644 --- a/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queue.json +++ b/src/cfnlint/data/schemas/providers/us_east_1/aws-sqs-queue.json @@ -91,7 +91,10 @@ "type": "integer" } }, - "type": "object" + "type": [ + "object", + "string" + ] }, "SqsManagedSseEnabled": { "type": "boolean" 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 72edd38aa6..0e3017e4a2 100644 --- a/src/cfnlint/data/schemas/providers/us_east_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_east_2/__init__.py @@ -1327,6 +1327,7 @@ "aws-autoscaling-warmpool.json", "aws-autoscalingplans-scalingplan.json", "aws-b2bi-capability.json", + "aws-b2bi-partnership.json", "aws-b2bi-profile.json", "aws-b2bi-transformer.json", "aws-backup-backupplan.json", @@ -1451,7 +1452,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1544,6 +1544,7 @@ "aws-docdb-dbsubnetgroup.json", "aws-docdb-eventsubscription.json", "aws-docdbelastic-cluster.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -2105,6 +2106,7 @@ "aws-rds-customdbengineversion.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-b2bi-partnership.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-b2bi-partnership.json deleted file mode 100644 index baf042027b..0000000000 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-b2bi-partnership.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Email", - "/properties/Phone", - "/properties/ProfileId" - ], - "definitions": { - "CapabilityOptions": { - "additionalProperties": false, - "properties": { - "OutboundEdi": { - "$ref": "#/definitions/OutboundEdiOptions" - } - }, - "type": "object" - }, - "OutboundEdiOptions": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "X12": { - "$ref": "#/definitions/X12Envelope" - } - }, - "required": [ - "X12" - ], - "title": "X12", - "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" - }, - "X12Delimiters": { - "additionalProperties": false, - "properties": { - "ComponentSeparator": { - "maxLength": 1, - "minLength": 1, - "pattern": "^[!&'()*+,\\-./:;?=%@\\[\\]_{}|<>~^`\"]$", - "type": "string" - }, - "DataElementSeparator": { - "maxLength": 1, - "minLength": 1, - "pattern": "^[!&'()*+,\\-./:;?=%@\\[\\]_{}|<>~^`\"]$", - "type": "string" - }, - "SegmentTerminator": { - "maxLength": 1, - "minLength": 1, - "pattern": "^[!&'()*+,\\-./:;?=%@\\[\\]_{}|<>~^`\"]$", - "type": "string" - } - }, - "type": "object" - }, - "X12Envelope": { - "additionalProperties": false, - "properties": { - "Common": { - "$ref": "#/definitions/X12OutboundEdiHeaders" - } - }, - "type": "object" - }, - "X12FunctionalGroupHeaders": { - "additionalProperties": false, - "properties": { - "ApplicationReceiverCode": { - "maxLength": 15, - "minLength": 2, - "pattern": "^[a-zA-Z0-9 ]*$", - "type": "string" - }, - "ApplicationSenderCode": { - "maxLength": 15, - "minLength": 2, - "pattern": "^[a-zA-Z0-9 ]*$", - "type": "string" - }, - "ResponsibleAgencyCode": { - "maxLength": 2, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - } - }, - "type": "object" - }, - "X12InterchangeControlHeaders": { - "additionalProperties": false, - "properties": { - "AcknowledgmentRequestedCode": { - "maxLength": 1, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "ReceiverId": { - "maxLength": 15, - "minLength": 15, - "pattern": "^[a-zA-Z0-9 ]*$", - "type": "string" - }, - "ReceiverIdQualifier": { - "maxLength": 2, - "minLength": 2, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "RepetitionSeparator": { - "maxLength": 1, - "minLength": 1, - "type": "string" - }, - "SenderId": { - "maxLength": 15, - "minLength": 15, - "pattern": "^[a-zA-Z0-9 ]*$", - "type": "string" - }, - "SenderIdQualifier": { - "maxLength": 2, - "minLength": 2, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "UsageIndicatorCode": { - "maxLength": 1, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - } - }, - "type": "object" - }, - "X12OutboundEdiHeaders": { - "additionalProperties": false, - "properties": { - "Delimiters": { - "$ref": "#/definitions/X12Delimiters" - }, - "FunctionalGroupHeaders": { - "$ref": "#/definitions/X12FunctionalGroupHeaders" - }, - "InterchangeControlHeaders": { - "$ref": "#/definitions/X12InterchangeControlHeaders" - }, - "ValidateEdi": { - "type": "boolean" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/PartnershipId" - ], - "properties": { - "Capabilities": { - "items": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_-]+$", - "type": "string" - }, - "type": "array" - }, - "CapabilityOptions": { - "$ref": "#/definitions/CapabilityOptions" - }, - "CreatedAt": { - "format": "date-time", - "type": "string" - }, - "Email": { - "maxLength": 254, - "minLength": 5, - "pattern": "^[\\w\\.\\-]+@[\\w\\.\\-]+$", - "type": "string" - }, - "ModifiedAt": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 254, - "minLength": 1, - "type": "string" - }, - "PartnershipArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "PartnershipId": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_-]+$", - "type": "string" - }, - "Phone": { - "maxLength": 22, - "minLength": 7, - "pattern": "^\\+?([0-9 \\t\\-()\\/]{7,})(?:\\s*(?:#|x\\.?|ext\\.?|extension) \\t*(\\d+))?$", - "type": "string" - }, - "ProfileId": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_-]+$", - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - }, - "TradingPartnerId": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_-]+$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CreatedAt", - "/properties/ModifiedAt", - "/properties/PartnershipArn", - "/properties/PartnershipId", - "/properties/TradingPartnerId" - ], - "required": [ - "Capabilities", - "Email", - "Name", - "ProfileId" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::B2BI::Partnership" -} diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_east_2/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/us_east_2/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} 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 39c4c21ab2..47e7998f08 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 @@ -777,13 +777,11 @@ "aws-appstream-entitlement.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -991,6 +989,7 @@ "aws-emr-cluster.json", "aws-emr-instancefleetconfig.json", "aws-emr-instancegroupconfig.json", + "aws-emrcontainers-virtualcluster.json", "aws-events-archive.json", "aws-events-eventbuspolicy.json", "aws-eventschemas-discoverer.json", @@ -1185,6 +1184,7 @@ "aws-rolesanywhere-crl.json", "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", + "aws-route53-hostedzone.json", "aws-route53-recordset.json", "aws-route53-recordsetgroup.json", "aws-route53profiles-profile.json", @@ -1275,6 +1275,7 @@ "aws-sqs-queue.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchserverless-securityconfig.json index 4e0b9a6bcd..425ff38269 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchserverless-securityconfig.json +++ b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-opensearchserverless-securityconfig.json @@ -26,6 +26,8 @@ "type": "string" }, "SessionTimeout": { + "maximum": 720, + "minimum": 5, "type": "integer" }, "UserAttribute": { diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-route53-hostedzone.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-route53-hostedzone.json deleted file mode 100644 index d022e2c27e..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-route53-hostedzone.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCRegion", - "VPCId" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/HostedZoneTag" - }, - "type": "array", - "uniqueItems": false - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NameServers": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/VPC" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/NameServers", - "/properties/Id" - ], - "required": [ - "Name" - ], - "typeName": "AWS::Route53::HostedZone" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 01bc7f7d69..69c6be3eb9 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 @@ -899,13 +899,11 @@ "aws-appstream-stackfleetassociation.json", "aws-arczonalshift-autoshiftobservernotificationstatus.json", "aws-arczonalshift-zonalautoshiftconfiguration.json", - "aws-athena-datacatalog.json", "aws-athena-namedquery.json", "aws-athena-preparedstatement.json", "aws-athena-workgroup.json", "aws-autoscaling-autoscalinggroup.json", "aws-autoscaling-warmpool.json", - "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1152,6 +1150,7 @@ "aws-emr-cluster.json", "aws-emr-instancefleetconfig.json", "aws-emr-instancegroupconfig.json", + "aws-emrcontainers-virtualcluster.json", "aws-events-archive.json", "aws-events-eventbuspolicy.json", "aws-eventschemas-discoverer.json", @@ -1259,6 +1258,7 @@ "aws-iotsitewise-asset.json", "aws-iotsitewise-assetmodel.json", "aws-iotsitewise-dashboard.json", + "aws-iotsitewise-gateway.json", "aws-iotsitewise-project.json", "aws-iottwinmaker-componenttype.json", "aws-iottwinmaker-entity.json", @@ -1374,6 +1374,8 @@ "aws-quicksight-template.json", "aws-quicksight-theme.json", "aws-quicksight-vpcconnection.json", + "aws-ram-permission.json", + "aws-ram-resourceshare.json", "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", @@ -1405,6 +1407,7 @@ "aws-rolesanywhere-crl.json", "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", + "aws-route53-hostedzone.json", "aws-route53-recordset.json", "aws-route53-recordsetgroup.json", "aws-route53profiles-profile.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-athena-datacatalog.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-athena-datacatalog.json new file mode 100644 index 0000000000..6829a6cc66 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-athena-datacatalog.json @@ -0,0 +1,78 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Description": { + "maxLength": 1024, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 256, + "minLength": 1, + "type": "string" + }, + "Parameters": { + "additionalProperties": false, + "patternProperties": { + ".*": { + "maxLength": 51200, + "type": "string" + } + }, + "type": "object" + }, + "Tags": { + "$ref": "#/definitions/Tags" + }, + "Type": { + "enum": [ + "LAMBDA", + "GLUE", + "HIVE" + ], + "type": "string" + } + }, + "required": [ + "Name", + "Type" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git", + "taggable": true, + "typeName": "AWS::Athena::DataCatalog" +} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-backup-backupplan.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-backup-backupplan.json new file mode 100644 index 0000000000..0cfb3466ba --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-backup-backupplan.json @@ -0,0 +1,193 @@ +{ + "additionalProperties": false, + "definitions": { + "AdvancedBackupSettingResourceType": { + "additionalProperties": false, + "properties": { + "BackupOptions": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "ResourceType": { + "pattern": "^[a-zA-Z0-9\\-\\_\\.]{1,50}$", + "type": "string" + } + }, + "required": [ + "BackupOptions", + "ResourceType" + ], + "type": "object" + }, + "BackupPlanResourceType": { + "additionalProperties": false, + "properties": { + "AdvancedBackupSettings": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AdvancedBackupSettingResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "BackupPlanName": { + "type": "string" + }, + "BackupPlanRule": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/BackupRuleResourceType" + }, + "type": "array", + "uniqueItems": false + } + }, + "required": [ + "BackupPlanName", + "BackupPlanRule" + ], + "type": "object" + }, + "BackupRuleResourceType": { + "additionalProperties": false, + "properties": { + "CompletionWindowMinutes": { + "type": "number" + }, + "CopyActions": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/CopyActionResourceType" + }, + "type": "array", + "uniqueItems": false + }, + "EnableContinuousBackup": { + "type": "boolean" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + }, + "RecoveryPointTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "RuleName": { + "type": "string" + }, + "ScheduleExpression": { + "type": "string" + }, + "ScheduleExpressionTimezone": { + "type": "string" + }, + "StartWindowMinutes": { + "type": "number" + }, + "TargetBackupVault": { + "type": "string" + } + }, + "required": [ + "TargetBackupVault", + "RuleName" + ], + "type": "object" + }, + "CopyActionResourceType": { + "additionalProperties": false, + "properties": { + "DestinationBackupVaultArn": { + "type": "string" + }, + "Lifecycle": { + "$ref": "#/definitions/LifecycleResourceType" + } + }, + "required": [ + "DestinationBackupVaultArn" + ], + "type": "object" + }, + "LifecycleResourceType": { + "additionalProperties": false, + "if": { + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + } + }, + "required": [ + "DeleteAfterDays", + "MoveToColdStorageAfterDays" + ] + }, + "properties": { + "DeleteAfterDays": { + "type": "number" + }, + "MoveToColdStorageAfterDays": { + "type": "number" + }, + "OptInToArchiveForSupportedResources": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/BackupPlanId" + ], + "properties": { + "BackupPlan": { + "$ref": "#/definitions/BackupPlanResourceType" + }, + "BackupPlanArn": { + "type": "string" + }, + "BackupPlanId": { + "type": "string" + }, + "BackupPlanTags": { + "additionalProperties": false, + "patternProperties": { + "^.{1,128}$": { + "type": "string" + } + }, + "type": "object" + }, + "VersionId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/BackupPlanId", + "/properties/VersionId", + "/properties/BackupPlanArn" + ], + "required": [ + "BackupPlan" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/BackupPlanTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Backup::BackupPlan" +} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iotsitewise-gateway.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iotsitewise-gateway.json deleted file mode 100644 index 7c5588d787..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-iotsitewise-gateway.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GatewayPlatform" - ], - "definitions": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - }, - "GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "$ref": "#/definitions/CapabilityConfiguration" - }, - "CapabilityNamespace": { - "$ref": "#/definitions/CapabilityNamespace" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "GatewayPlatform": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "Greengrass" - ] - }, - { - "required": [ - "GreengrassV2" - ] - }, - { - "required": [ - "SiemensIE" - ] - } - ], - "properties": { - "Greengrass": { - "$ref": "#/definitions/Greengrass" - }, - "GreengrassV2": { - "$ref": "#/definitions/GreengrassV2" - }, - "SiemensIE": { - "$ref": "#/definitions/SiemensIE" - } - }, - "type": "object" - }, - "Greengrass": { - "additionalProperties": false, - "properties": { - "GroupArn": { - "type": "string" - } - }, - "required": [ - "GroupArn" - ], - "type": "object" - }, - "GreengrassV2": { - "additionalProperties": false, - "properties": { - "CoreDeviceThingName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9:_-]+$", - "type": "string" - } - }, - "required": [ - "CoreDeviceThingName" - ], - "type": "object" - }, - "SiemensIE": { - "additionalProperties": false, - "properties": { - "IotCoreThingName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9:_-]+$", - "type": "string" - } - }, - "required": [ - "IotCoreThingName" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/GatewayId" - ], - "properties": { - "GatewayCapabilitySummaries": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/GatewayCapabilitySummary" - }, - "type": "array", - "uniqueItems": true - }, - "GatewayId": { - "type": "string" - }, - "GatewayName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[^\\u0000-\\u001F\\u007F]+", - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/GatewayPlatform" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/GatewayId" - ], - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::IoTSiteWise::Gateway" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchserverless-securityconfig.json index 4e0b9a6bcd..425ff38269 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchserverless-securityconfig.json +++ b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-opensearchserverless-securityconfig.json @@ -26,6 +26,8 @@ "type": "string" }, "SessionTimeout": { + "maximum": 720, + "minimum": 5, "type": "integer" }, "UserAttribute": { diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-permission.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-permission.json deleted file mode 100644 index 6f8b814dc0..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-permission.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name", - "/properties/ResourceType", - "/properties/PolicyTemplate" - ], - "definitions": { - "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/Arn" - ], - "properties": { - "Arn": { - "type": "string" - }, - "IsResourceTypeDefault": { - "type": "boolean" - }, - "Name": { - "maxLength": 36, - "minLength": 1, - "pattern": "[\\w.-]*", - "type": "string" - }, - "PermissionType": { - "type": "string" - }, - "PolicyTemplate": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "ResourceType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "Version": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Version", - "/properties/IsResourceTypeDefault", - "/properties/PermissionType" - ], - "required": [ - "Name", - "ResourceType", - "PolicyTemplate" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ram", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RAM::Permission" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-resourceshare.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-resourceshare.json deleted file mode 100644 index e55421c92f..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-ram-resourceshare.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Arn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Sources": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn" - ], - "required": [ - "Name" - ], - "typeName": "AWS::RAM::ResourceShare" -} diff --git a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-route53-hostedzone.json b/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-route53-hostedzone.json deleted file mode 100644 index d022e2c27e..0000000000 --- a/src/cfnlint/data/schemas/providers/us_gov_west_1/aws-route53-hostedzone.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCRegion", - "VPCId" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/HostedZoneTag" - }, - "type": "array", - "uniqueItems": false - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NameServers": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/VPC" - }, - "type": "array", - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/NameServers", - "/properties/Id" - ], - "required": [ - "Name" - ], - "typeName": "AWS::Route53::HostedZone" -} 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 214d6beaaf..6dacea5959 100644 --- a/src/cfnlint/data/schemas/providers/us_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_west_1/__init__.py @@ -787,6 +787,13 @@ "AWS::SES::ContactList", "AWS::SES::DedicatedIpPool", "AWS::SES::EmailIdentity", + "AWS::SES::MailManagerAddonInstance", + "AWS::SES::MailManagerAddonSubscription", + "AWS::SES::MailManagerArchive", + "AWS::SES::MailManagerIngressPoint", + "AWS::SES::MailManagerRelay", + "AWS::SES::MailManagerRuleSet", + "AWS::SES::MailManagerTrafficPolicy", "AWS::SES::ReceiptFilter", "AWS::SES::ReceiptRule", "AWS::SES::ReceiptRuleSet", @@ -1163,7 +1170,6 @@ "aws-cognito-managedloginbranding.json", "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", - "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", "aws-cognito-userpoolresourceserver.json", @@ -1224,6 +1230,7 @@ "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", "aws-dms-replicationtask.json", + "aws-dynamodb-globaltable.json", "aws-dynamodb-table.json", "aws-ec2-capacityreservation.json", "aws-ec2-capacityreservationfleet.json", @@ -1372,6 +1379,7 @@ "aws-emr-step.json", "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", + "aws-emrcontainers-virtualcluster.json", "aws-emrserverless-application.json", "aws-events-apidestination.json", "aws-events-archive.json", @@ -1639,6 +1647,7 @@ "aws-rbin-rule.json", "aws-rds-dbcluster.json", "aws-rds-dbclusterparametergroup.json", + "aws-rds-dbinstance.json", "aws-rds-dbparametergroup.json", "aws-rds-dbproxy.json", "aws-rds-dbproxyendpoint.json", @@ -1700,7 +1709,6 @@ "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-bucketpolicy.json", @@ -1795,6 +1803,13 @@ "aws-ses-contactlist.json", "aws-ses-dedicatedippool.json", "aws-ses-emailidentity.json", + "aws-ses-mailmanageraddoninstance.json", + "aws-ses-mailmanageraddonsubscription.json", + "aws-ses-mailmanagerarchive.json", + "aws-ses-mailmanageringresspoint.json", + "aws-ses-mailmanagerrelay.json", + "aws-ses-mailmanagerruleset.json", + "aws-ses-mailmanagertrafficpolicy.json", "aws-ses-receiptfilter.json", "aws-ses-receiptrule.json", "aws-ses-receiptruleset.json", @@ -1814,6 +1829,7 @@ "aws-sqs-queueinlinepolicy.json", "aws-sqs-queuepolicy.json", "aws-ssm-association.json", + "aws-ssm-document.json", "aws-ssm-maintenancewindow.json", "aws-ssm-maintenancewindowtarget.json", "aws-ssm-maintenancewindowtask.json", diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-cognito-userpooldomain.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-cognito-userpooldomain.json new file mode 100644 index 0000000000..3ea51b8a0b --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-cognito-userpooldomain.json @@ -0,0 +1,50 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId", + "/properties/Domain" + ], + "definitions": { + "CustomDomainConfigType": { + "additionalProperties": false, + "properties": { + "CertificateArn": { + "type": "string" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "CloudFrontDistribution": { + "type": "string" + }, + "CustomDomainConfig": { + "$ref": "#/definitions/CustomDomainConfigType" + }, + "Domain": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "ManagedLoginVersion": { + "type": "integer" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/CloudFrontDistribution" + ], + "required": [ + "UserPoolId", + "Domain" + ], + "typeName": "AWS::Cognito::UserPoolDomain" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-dynamodb-globaltable.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-dynamodb-globaltable.json deleted file mode 100644 index 3013cf2dff..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-dynamodb-globaltable.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/Arn" - ], - [ - "/properties/StreamArn" - ] - ], - "additionalProperties": false, - "allOf": [ - { - "if": { - "required": [ - "LocalSecondaryIndexes" - ], - "type": "object" - }, - "then": { - "properties": { - "AttributeDefinitions": { - "minItems": 2 - }, - "KeySchema": { - "minItems": 2 - } - }, - "type": "object" - } - } - ], - "createOnlyProperties": [ - "/properties/LocalSecondaryIndexes", - "/properties/TableName", - "/properties/KeySchema" - ], - "definitions": { - "AttributeDefinition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "AttributeType": { - "enum": [ - "B", - "N", - "S" - ], - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeType" - ], - "type": "object" - }, - "CapacityAutoScalingSettings": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "minimum": 1, - "type": "integer" - }, - "MinCapacity": { - "minimum": 1, - "type": "integer" - }, - "SeedCapacity": { - "minimum": 1, - "type": "integer" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/TargetTrackingScalingPolicyConfiguration" - } - }, - "required": [ - "MinCapacity", - "MaxCapacity", - "TargetTrackingScalingPolicyConfiguration" - ], - "type": "object" - }, - "ContributorInsightsSpecification": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "GlobalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "Projection": { - "$ref": "#/definitions/Projection" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "KeySchema": { - "items": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyType": { - "enum": [ - "HASH", - "RANGE" - ], - "type": "string" - } - }, - "required": [ - "KeyType", - "AttributeName" - ], - "type": "object" - }, - "prefixItems": [ - { - "properties": { - "KeyType": { - "const": "HASH", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - { - "properties": { - "KeyType": { - "const": "RANGE", - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - } - ], - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "KinesisStreamSpecification": { - "additionalProperties": false, - "properties": { - "ApproximateCreationDateTimePrecision": { - "enum": [ - "MICROSECOND", - "MILLISECOND" - ], - "type": "string" - }, - "StreamArn": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - } - }, - "required": [ - "StreamArn" - ], - "type": "object" - }, - "LocalSecondaryIndex": { - "additionalProperties": false, - "properties": { - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 2 - }, - "Projection": { - "$ref": "#/definitions/Projection" - } - }, - "required": [ - "IndexName", - "Projection", - "KeySchema" - ], - "type": "object" - }, - "PointInTimeRecoverySpecification": { - "additionalProperties": false, - "dependencies": { - "RecoveryPeriodInDays": [ - "PointInTimeRecoveryEnabled" - ] - }, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - }, - "RecoveryPeriodInDays": { - "maximum": 35, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "Projection": { - "additionalProperties": false, - "properties": { - "NonKeyAttributes": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "maxItems": 20, - "type": "array", - "uniqueItems": true - }, - "ProjectionType": { - "type": "string" - } - }, - "type": "object" - }, - "ReadOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxReadRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReadProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - }, - "ReadCapacityUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "ReplicaGlobalSecondaryIndexSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "IndexName": { - "maxLength": 255, - "minLength": 3, - "type": "string" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - } - }, - "required": [ - "IndexName" - ], - "type": "object" - }, - "ReplicaSSESpecification": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyId": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/KeyId", - "typeName": "AWS::KMS::Key" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/AliasName", - "typeName": "AWS::KMS::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "KMSMasterKeyId" - ], - "type": "object" - }, - "ReplicaSpecification": { - "additionalProperties": false, - "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/ContributorInsightsSpecification" - }, - "DeletionProtectionEnabled": { - "type": "boolean" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array", - "uniqueItems": true - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/KinesisStreamSpecification" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "ReadOnDemandThroughputSettings": { - "$ref": "#/definitions/ReadOnDemandThroughputSettings" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/ReadProvisionedThroughputSettings" - }, - "Region": { - "type": "string" - }, - "ReplicaStreamSpecification": { - "$ref": "#/definitions/ReplicaStreamSpecification" - }, - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - }, - "SSESpecification": { - "$ref": "#/definitions/ReplicaSSESpecification" - }, - "TableClass": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "ReplicaStreamSpecification": { - "additionalProperties": false, - "properties": { - "ResourcePolicy": { - "$ref": "#/definitions/ResourcePolicy" - } - }, - "required": [ - "ResourcePolicy" - ], - "type": "object" - }, - "ResourcePolicy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { - "enum": [ - "AES256", - "KMS" - ], - "type": "string" - } - }, - "required": [ - "SSEEnabled" - ], - "type": "object" - }, - "StreamSpecification": { - "additionalProperties": false, - "properties": { - "StreamViewType": { - "type": "string" - } - }, - "required": [ - "StreamViewType" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "minimum": 0, - "type": "integer" - }, - "ScaleOutCooldown": { - "minimum": 0, - "type": "integer" - }, - "TargetValue": { - "format": "double", - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "TimeToLiveSpecification": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "WarmThroughput": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "ReadUnitsPerSecond" - ] - }, - { - "required": [ - "WriteUnitsPerSecond" - ] - } - ], - "properties": { - "ReadUnitsPerSecond": { - "minimum": 1, - "type": "integer" - }, - "WriteUnitsPerSecond": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteOnDemandThroughputSettings": { - "additionalProperties": false, - "properties": { - "MaxWriteRequestUnits": { - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - }, - "WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/CapacityAutoScalingSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/TableName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AttributeDefinitions": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttributeDefinition" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true, - "uniqueKeys": [ - "AttributeName" - ] - }, - "BillingMode": { - "type": "string" - }, - "GlobalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/GlobalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "KeySchema": { - "$ref": "#/definitions/KeySchema", - "maxItems": 2, - "minItems": 1 - }, - "LocalSecondaryIndexes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/LocalSecondaryIndex" - }, - "type": "array", - "uniqueItems": true - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/PointInTimeRecoverySpecification" - }, - "Replicas": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ReplicaSpecification" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SSESpecification": { - "$ref": "#/definitions/SSESpecification" - }, - "StreamArn": { - "type": "string" - }, - "StreamSpecification": { - "$ref": "#/definitions/StreamSpecification" - }, - "TableId": { - "type": "string" - }, - "TableName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/TimeToLiveSpecification" - }, - "WarmThroughput": { - "$ref": "#/definitions/WarmThroughput" - }, - "WriteOnDemandThroughputSettings": { - "$ref": "#/definitions/WriteOnDemandThroughputSettings" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/WriteProvisionedThroughputSettings" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/StreamArn", - "/properties/TableId" - ], - "required": [ - "KeySchema", - "AttributeDefinitions", - "Replicas" - ], - "typeName": "AWS::DynamoDB::GlobalTable", - "writeOnlyProperties": [ - "/properties/Replicas/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/Replicas/*/GlobalSecondaryIndexes/*/ReadProvisionedThroughputSettings/ReadCapacityAutoScalingSettings/SeedCapacity", - "/properties/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity", - "/properties/GlobalSecondaryIndexes/*/WriteProvisionedThroughputSettings/WriteCapacityAutoScalingSettings/SeedCapacity" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-emrcontainers-virtualcluster.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-emrcontainers-virtualcluster.json deleted file mode 100644 index 6cc8bb0dbe..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-emrcontainers-virtualcluster.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ContainerProvider", - "/properties/Name" - ], - "definitions": { - "ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "maxLength": 100, - "minLength": 1, - "pattern": "^[0-9A-Za-z][A-Za-z0-9\\-_]*", - "type": "string" - }, - "Info": { - "$ref": "#/definitions/ContainerInfo" - }, - "Type": { - "enum": [ - "EKS" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Id", - "Info" - ], - "type": "object" - }, - "EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "maxLength": 63, - "minLength": 1, - "pattern": "[a-z0-9]([-a-z0-9]*[a-z0-9])?", - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "ContainerProvider": { - "$ref": "#/definitions/ContainerProvider" - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id" - ], - "required": [ - "Name", - "ContainerProvider" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EMRContainers::VirtualCluster" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbinstance.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbinstance.json deleted file mode 100644 index f23890b7aa..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-rds-dbinstance.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/AutoMinorVersionUpgrade", - "/properties/AvailabilityZone", - "/properties/BackupRetentionPeriod", - "/properties/DBClusterSnapshotIdentifier", - "/properties/DBParameterGroupName", - "/properties/DBSnapshotIdentifier", - "/properties/Engine", - "/properties/MultiAZ", - "/properties/PerformanceInsightsKMSKeyId", - "/properties/PreferredMaintenanceWindow", - "/properties/RestoreTime", - "/properties/SourceDBClusterIdentifier", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/StorageType", - "/properties/UseLatestRestorableTime" - ], - "createOnlyProperties": [ - "/properties/CharacterSetName", - "/properties/CustomIAMInstanceProfile", - "/properties/DBClusterIdentifier", - "/properties/DBInstanceIdentifier", - "/properties/DBName", - "/properties/DBSubnetGroupName", - "/properties/DBSystemId", - "/properties/KmsKeyId", - "/properties/MasterUsername", - "/properties/NcharCharacterSetName", - "/properties/SourceRegion", - "/properties/StorageEncrypted", - "/properties/Timezone" - ], - "definitions": { - "CertificateDetails": { - "additionalProperties": false, - "properties": { - "CAIdentifier": { - "type": "string" - }, - "ValidTill": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "MasterUserSecret": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "enum": [ - "coreCount", - "threadsPerCore" - ], - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - } - }, - "dependencies": { - "KmsKeyId": { - "properties": { - "StorageEncrypted": { - "enum": [ - "true", - "True", - true - ] - } - }, - "required": [ - "StorageEncrypted" - ] - } - }, - "dependentExcluded": { - "SourceDBInstanceIdentifier": [ - "CharacterSetName", - "MasterUserPassword", - "MasterUsername", - "StorageEncrypted" - ] - }, - "deprecatedProperties": [ - "/properties/TdeCredentialArn", - "/properties/TdeCredentialPassword" - ], - "primaryIdentifier": [ - "/properties/DBInstanceIdentifier" - ], - "properties": { - "AllocatedStorage": { - "pattern": "^[0-9]*$", - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticBackupReplicationKmsKeyId": { - "type": "string" - }, - "AutomaticBackupReplicationRegion": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "maximum": 35, - "minimum": 0, - "type": "integer" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CertificateDetails": { - "$ref": "#/definitions/CertificateDetails" - }, - "CertificateRotationRestart": { - "type": "boolean" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "CustomIAMInstanceProfile": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterSnapshotIdentifier": { - "type": "string" - }, - "DBInstanceArn": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "maxLength": 63, - "minLength": 1, - "pattern": "^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DBSystemId": { - "type": "string" - }, - "DatabaseInsightsMode": { - "enum": [ - "advanced", - "standard" - ], - "type": "string" - }, - "DbiResourceId": { - "type": "string" - }, - "DedicatedLogVolume": { - "type": "boolean" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainAuthSecretArn": { - "type": "string" - }, - "DomainDnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainFqdn": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "DomainOu": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Endpoint": { - "$ref": "#/definitions/Endpoint" - }, - "Engine": { - "type": "string" - }, - "EngineLifecycleSupport": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "integer" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "ManageMasterUserPassword": { - "type": "boolean" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUserSecret": { - "$ref": "#/definitions/MasterUserSecret" - }, - "MasterUsername": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,127}$", - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "integer" - }, - "MonitoringInterval": { - "type": "integer" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "NcharCharacterSetName": { - "type": "string" - }, - "NetworkType": { - "type": "string" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "enum": [ - 7, - 31, - 62, - 93, - 124, - 155, - 186, - 217, - 248, - 279, - 310, - 341, - 372, - 403, - 434, - 465, - 496, - 527, - 558, - 589, - 620, - 651, - 682, - 713, - 731 - ], - "type": "integer" - }, - "Port": { - "pattern": "^\\d*$", - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "maximum": 15, - "minimum": 0, - "type": "integer" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ReplicaMode": { - "enum": [ - "mounted", - "open-read-only" - ], - "type": "string" - }, - "RestoreTime": { - "format": "date-time", - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceDBInstanceAutomatedBackupsArn": { - "type": "string" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceDbiResourceId": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageThroughput": { - "type": "integer" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TdeCredentialArn": { - "type": "string" - }, - "TdeCredentialPassword": { - "type": "string" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "propertyTransform": { - "/properties/DBClusterIdentifier": "$lowercase(DBClusterIdentifier)", - "/properties/DBClusterSnapshotIdentifier": "$lowercase(DBClusterSnapshotIdentifier)", - "/properties/DBInstanceIdentifier": "$lowercase(DBInstanceIdentifier)", - "/properties/DBName": "$lowercase(DBName) $OR $uppercase(DBName)", - "/properties/DBParameterGroupName": "$lowercase(DBParameterGroupName)", - "/properties/DBSnapshotIdentifier": "$lowercase(DBSnapshotIdentifier)", - "/properties/DBSubnetGroupName": "$lowercase(DBSubnetGroupName)", - "/properties/DBSystemId": "$uppercase(DBSystemId)", - "/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/OptionGroupName": "$lowercase(OptionGroupName)", - "/properties/PerformanceInsightsKMSKeyId": "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])", - "/properties/PreferredMaintenanceWindow": "$lowercase(PreferredMaintenanceWindow)", - "/properties/SourceDBInstanceAutomatedBackupsArn": "$lowercase(SourceDBInstanceAutomatedBackupsArn)", - "/properties/SourceDBInstanceIdentifier": "$lowercase(SourceDBInstanceIdentifier)", - "/properties/StorageType": "$lowercase(StorageType)" - }, - "readOnlyProperties": [ - "/properties/Endpoint/Address", - "/properties/Endpoint/Port", - "/properties/Endpoint/HostedZoneId", - "/properties/DbiResourceId", - "/properties/DBInstanceArn", - "/properties/MasterUserSecret/SecretArn", - "/properties/CertificateDetails/CAIdentifier", - "/properties/CertificateDetails/ValidTill", - "/properties/DatabaseInsightsMode" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RDS::DBInstance", - "writeOnlyProperties": [ - "/properties/AllowMajorVersionUpgrade", - "/properties/AutomaticBackupReplicationKmsKeyId", - "/properties/CertificateRotationRestart", - "/properties/DBSnapshotIdentifier", - "/properties/DeleteAutomatedBackups", - "/properties/MasterUserPassword", - "/properties/RestoreTime", - "/properties/SourceDBInstanceAutomatedBackupsArn", - "/properties/SourceDBInstanceIdentifier", - "/properties/SourceDbiResourceId", - "/properties/SourceRegion", - "/properties/TdeCredentialPassword", - "/properties/UseDefaultProcessorFeatures", - "/properties/UseLatestRestorableTime" - ] -} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-s3-accessgrantsinstance.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-s3-accessgrantsinstance.json new file mode 100644 index 0000000000..fe8f402598 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_west_1/aws-s3-accessgrantsinstance.json @@ -0,0 +1,72 @@ +{ + "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": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::S3::AccessGrantsInstance" +} diff --git a/src/cfnlint/data/schemas/providers/us_west_1/aws-ssm-document.json b/src/cfnlint/data/schemas/providers/us_west_1/aws-ssm-document.json deleted file mode 100644 index 5ddf027f7a..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_1/aws-ssm-document.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/Content", - "/properties/Attachments", - "/properties/VersionName", - "/properties/DocumentFormat", - "/properties/TargetType", - "/properties/Requires" - ], - "createOnlyProperties": [ - "/properties/Name", - "/properties/DocumentType" - ], - "definitions": { - "AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "enum": [ - "SourceUrl", - "S3FileUrl", - "AttachmentReference" - ], - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Values": { - "insertionOrder": false, - "items": { - "maxLength": 100000, - "minLength": 1, - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "maxLength": 200, - "pattern": "^[a-zA-Z0-9_\\-.:/]{3,200}$", - "type": "string" - }, - "Version": { - "maxLength": 8, - "pattern": "([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)", - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Attachments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AttachmentsSource" - }, - "maxItems": 20, - "minItems": 0, - "type": "array" - }, - "Content": { - "minLength": 1, - "type": [ - "object", - "string" - ] - }, - "DocumentFormat": { - "default": "JSON", - "enum": [ - "YAML", - "JSON", - "TEXT" - ], - "type": "string" - }, - "DocumentType": { - "enum": [ - "ApplicationConfiguration", - "ApplicationConfigurationSchema", - "Automation", - "Automation.ChangeTemplate", - "ChangeCalendar", - "CloudFormation", - "Command", - "DeploymentStrategy", - "Package", - "Policy", - "ProblemAnalysis", - "ProblemAnalysisTemplate", - "Session" - ], - "type": "string" - }, - "Name": { - "pattern": "^[a-zA-Z0-9_\\-.]{3,128}$", - "type": "string" - }, - "Requires": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DocumentRequires" - }, - "minItems": 1, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 1000, - "type": "array" - }, - "TargetType": { - "maxLength": 200, - "pattern": "^\\/[\\w\\.\\-\\:\\/]*$", - "type": "string" - }, - "UpdateMethod": { - "default": "Replace", - "enum": [ - "Replace", - "NewVersion" - ], - "type": "string" - }, - "VersionName": { - "pattern": "^[a-zA-Z0-9_\\-.]{1,128}$", - "type": "string" - } - }, - "required": [ - "Content" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ssm", - "tagging": { - "taggable": true - }, - "typeName": "AWS::SSM::Document", - "writeOnlyProperties": [ - "/properties/UpdateMethod", - "/properties/Attachments" - ] -} 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 8266bf879d..98d42fc283 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/us_west_2/__init__.py @@ -275,6 +275,7 @@ "AWS::Connect::ApprovedOrigin", "AWS::Connect::ContactFlow", "AWS::Connect::ContactFlowModule", + "AWS::Connect::ContactFlowVersion", "AWS::Connect::EmailAddress", "AWS::Connect::EvaluationForm", "AWS::Connect::HoursOfOperation", @@ -1492,6 +1493,7 @@ "aws-b2bi-partnership.json", "aws-b2bi-profile.json", "aws-b2bi-transformer.json", + "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", "aws-backup-framework.json", @@ -1637,6 +1639,7 @@ "aws-connect-approvedorigin.json", "aws-connect-contactflow.json", "aws-connect-contactflowmodule.json", + "aws-connect-contactflowversion.json", "aws-connect-emailaddress.json", "aws-connect-evaluationform.json", "aws-connect-hoursofoperation.json", @@ -1891,6 +1894,7 @@ "aws-emr-instancegroupconfig.json", "aws-emr-securityconfiguration.json", "aws-emr-step.json", + "aws-emr-studio.json", "aws-emr-studiosessionmapping.json", "aws-emr-walworkspace.json", "aws-emrcontainers-virtualcluster.json", @@ -1953,6 +1957,7 @@ "aws-globalaccelerator-listener.json", "aws-glue-classifier.json", "aws-glue-connection.json", + "aws-glue-crawler.json", "aws-glue-customentitytype.json", "aws-glue-database.json", "aws-glue-datacatalogencryptionsettings.json", @@ -2095,7 +2100,9 @@ "aws-ivs-channel.json", "aws-ivs-encoderconfiguration.json", "aws-ivs-ingestconfiguration.json", + "aws-ivs-playbackkeypair.json", "aws-ivs-playbackrestrictionpolicy.json", + "aws-ivs-publickey.json", "aws-ivs-recordingconfiguration.json", "aws-ivs-stage.json", "aws-ivs-storageconfiguration.json", @@ -2290,7 +2297,6 @@ "aws-opensearchserverless-accesspolicy.json", "aws-opensearchserverless-collection.json", "aws-opensearchserverless-lifecyclepolicy.json", - "aws-opensearchserverless-securityconfig.json", "aws-opensearchserverless-securitypolicy.json", "aws-opensearchserverless-vpcendpoint.json", "aws-opensearchservice-application.json", diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-publickey.json b/src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-publickey.json deleted file mode 100644 index fd6cfdbe6b..0000000000 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-ivs-publickey.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PublicKeyMaterial", - "/properties/Name" - ], - "definitions": { - "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/Arn" - ], - "properties": { - "Arn": { - "maxLength": 128, - "minLength": 1, - "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:public-key/[a-zA-Z0-9-]+$", - "type": "string" - }, - "Fingerprint": { - "type": "string" - }, - "Name": { - "maxLength": 128, - "minLength": 0, - "pattern": "^[a-zA-Z0-9-_]*$", - "type": "string" - }, - "PublicKeyMaterial": { - "pattern": "-----BEGIN PUBLIC KEY-----\\r?\\n([a-zA-Z0-9+/=\\r\\n]+)\\r?\\n-----END PUBLIC KEY-----(\\r?\\n)?", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Fingerprint" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::IVS::PublicKey" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-opensearchserverless-securityconfig.json b/src/cfnlint/data/schemas/providers/us_west_2/aws-opensearchserverless-securityconfig.json new file mode 100644 index 0000000000..d405d31cee --- /dev/null +++ b/src/cfnlint/data/schemas/providers/us_west_2/aws-opensearchserverless-securityconfig.json @@ -0,0 +1,158 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/Name" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Type", + "/properties/Name", + "/properties/IamIdentityCenterOptions/InstanceArn" + ], + "definitions": { + "IamIdentityCenterApplicationArn": { + "type": "string" + }, + "IamIdentityCenterConfigOptions": { + "additionalProperties": false, + "properties": { + "ApplicationArn": { + "$ref": "#/definitions/IamIdentityCenterApplicationArn" + }, + "ApplicationDescription": { + "type": "string" + }, + "ApplicationName": { + "type": "string" + }, + "GroupAttribute": { + "$ref": "#/definitions/IamIdentityCenterGroupAttribute" + }, + "InstanceArn": { + "$ref": "#/definitions/IamIdentityCenterInstanceArn" + }, + "UserAttribute": { + "$ref": "#/definitions/IamIdentityCenterUserAttribute" + } + }, + "required": [ + "InstanceArn" + ], + "type": "object" + }, + "IamIdentityCenterGroupAttribute": { + "enum": [ + "GroupId", + "GroupName" + ], + "type": "string" + }, + "IamIdentityCenterInstanceArn": { + "maxLength": 1224, + "minLength": 10, + "pattern": "arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}", + "type": "string" + }, + "IamIdentityCenterUserAttribute": { + "enum": [ + "Email", + "UserId", + "UserName" + ], + "type": "string" + }, + "SamlConfigOptions": { + "additionalProperties": false, + "properties": { + "GroupAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + }, + "Metadata": { + "maxLength": 51200, + "minLength": 1, + "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+", + "type": "string" + }, + "OpenSearchServerlessEntityId": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^aws:opensearch:[0-9]{12}:*", + "type": "string" + }, + "SessionTimeout": { + "maximum": 720, + "minimum": 5, + "type": "integer" + }, + "UserAttribute": { + "maxLength": 2048, + "minLength": 1, + "pattern": "[\\w+=,.@-]+", + "type": "string" + } + }, + "required": [ + "Metadata" + ], + "type": "object" + }, + "SecurityConfigType": { + "enum": [ + "saml", + "iamidentitycenter" + ], + "type": "string" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Description": { + "maxLength": 1000, + "minLength": 1, + "type": "string" + }, + "IamIdentityCenterOptions": { + "$ref": "#/definitions/IamIdentityCenterConfigOptions" + }, + "Id": { + "maxLength": 100, + "minLength": 1, + "type": "string" + }, + "Name": { + "maxLength": 32, + "minLength": 3, + "pattern": "^[a-z][a-z0-9-]{2,31}$", + "type": "string" + }, + "SamlOptions": { + "$ref": "#/definitions/SamlConfigOptions" + }, + "Type": { + "$ref": "#/definitions/SecurityConfigType" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/IamIdentityCenterOptions/ApplicationArn", + "/properties/IamIdentityCenterOptions/ApplicationName", + "/properties/IamIdentityCenterOptions/ApplicationDescription" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-opensearchserverless", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::OpenSearchServerless::SecurityConfig", + "writeOnlyProperties": [ + "/properties/Name" + ] +} diff --git a/test/unit/rules/resources/rds/test_db_cluster_engine_version.py b/test/unit/rules/resources/rds/test_db_cluster_engine_version.py index f1e2ddc030..3f241e2c97 100644 --- a/test/unit/rules/resources/rds/test_db_cluster_engine_version.py +++ b/test/unit/rules/resources/rds/test_db_cluster_engine_version.py @@ -71,6 +71,7 @@ def rule(): ( "'foo' is not one of ['5.7.44', '5.7.44-rds.20240408', " "'5.7.44-rds.20240529', '5.7.44-rds.20240808', " + "'5.7.44-rds.20250103', " "'8.0.32', '8.0.33', '8.0.34', " "'8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', " "'8.4.3']" diff --git a/test/unit/rules/resources/rds/test_db_instance_engine_version.py b/test/unit/rules/resources/rds/test_db_instance_engine_version.py index b218a80eb6..7dabe78933 100644 --- a/test/unit/rules/resources/rds/test_db_instance_engine_version.py +++ b/test/unit/rules/resources/rds/test_db_instance_engine_version.py @@ -80,6 +80,7 @@ def rule(): ( "'foo' is not one of ['5.7.44', '5.7.44-rds.20240408', " "'5.7.44-rds.20240529', '5.7.44-rds.20240808', " + "'5.7.44-rds.20250103', " "'8.0.32', '8.0.33', '8.0.34', '8.0.35', " "'8.0.36', '8.0.37', '8.0.39', '8.0.40', " "'8.4.3']"