From 3fe3cdfb13208f35ab7a408d1ff611e97ab08a2f Mon Sep 17 00:00:00 2001 From: kddejong <36457093+kddejong@users.noreply.github.com> Date: Fri, 20 Sep 2024 00:40:20 +0000 Subject: [PATCH] Update CloudFormation schemas to 2024-09-20 --- docs/rules.md | 3 +- ...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 +- ...98ac34d4109512e0e0947ef752dcb9c9.meta.json | 2 +- ...7e4a4542365d35fd75466abcf306eeca.meta.json | 2 +- ...69b7533eabab32ecfc0a00cb19e55a5f.meta.json | 2 +- ...e783fe32b6bb6b13774c32fcca1d303a.meta.json | 2 +- ...05f2567698dfdfa979bf0ccdb68cb856.meta.json | 2 +- ...92030ae5c03d7451980a15735e557edb.meta.json | 2 +- ...6bb7f975b606f8db57532faddfcdd8c8.meta.json | 2 +- ...73ff097c685cda0a63c08a6416dc58ed.meta.json | 2 +- ...25c8d66a1f84939600616bab42579541.meta.json | 2 +- ...972142778e1ff452383ede2ad4bac3d7.meta.json | 2 +- ...26b315ef6f38515840537c02de23abe2.meta.json | 2 +- ...cf908a34e6b4c3fb3e97e2b584f651ca.meta.json | 2 +- ...318c41c71c21b0a17d4f68d82c5aee21.meta.json | 2 +- ...6cd7e4ced378cacdb93f76ed227b5c5d.meta.json | 2 +- ...b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json | 2 +- ...b2d398fe33547eed780b9b70f10eb4a2.meta.json | 2 +- ...e50a1638ffe0a5dba0d8805c190a05f8.meta.json | 2 +- ...3b69878d351cffd417dc9a457df808af.meta.json | 2 +- .../schemas/providers/ap_east_1/__init__.py | 8 +- .../aws-applicationinsights-application.json | 606 ---------- .../ap_east_1/aws-cognito-userpooldomain.json | 43 - .../aws-cognito-userpoolresourceserver.json | 58 - ...ito-userpooluicustomizationattachment.json | 32 - .../providers/ap_east_1/aws-glue-job.json | 150 --- .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../ap_east_1/aws-synthetics-canary.json | 298 +++++ .../providers/ap_northeast_1/__init__.py | 5 +- .../ap_northeast_1/aws-cognito-userpool.json | 512 -------- .../aws-iam-instanceprofile.json | 44 + .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../ap_northeast_1/aws-synthetics-canary.json | 298 +++++ .../providers/ap_northeast_2/__init__.py | 4 + .../aws-applicationinsights-application.json | 606 ---------- .../ap_northeast_2/aws-glue-job.json | 150 --- .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../providers/ap_northeast_3/__init__.py | 4 +- .../aws-backup-restoretestingplan.json | 127 -- .../aws-iam-instanceprofile.json | 44 + .../aws-lambda-eventsourcemapping.json | 335 ------ .../ap_northeast_3/aws-synthetics-canary.json | 298 +++++ .../schemas/providers/ap_south_1/__init__.py | 2 - .../ap_south_1/aws-iam-instanceprofile.json | 44 + .../ap_south_1/aws-synthetics-canary.json | 298 +++++ .../schemas/providers/ap_south_2/__init__.py | 5 +- .../aws-applicationinsights-application.json | 606 ---------- .../aws-backup-restoretestingplan.json | 127 -- .../ap_south_2/aws-ec2-vpcendpoint.json | 66 -- .../aws-lambda-eventsourcemapping.json | 335 ------ ...rkfirewall-tlsinspectionconfiguration.json | 0 .../providers/ap_southeast_1/__init__.py | 4 +- .../aws-applicationinsights-application.json | 606 ---------- .../aws-fms-policy.json | 4 +- .../ap_southeast_1/aws-glue-job.json | 150 --- .../ap_southeast_1/aws-synthetics-canary.json | 298 +++++ .../providers/ap_southeast_3/__init__.py | 7 +- .../aws-applicationinsights-application.json | 606 ---------- .../aws-backup-restoretestingplan.json | 127 -- .../aws-cognito-userpoolresourceserver.json | 58 - ...ito-userpooluicustomizationattachment.json | 32 - .../ap_southeast_3/aws-glue-job.json | 150 --- .../ap_southeast_3/aws-synthetics-canary.json | 298 +++++ .../providers/ap_southeast_4/__init__.py | 2 + .../ap_southeast_4/aws-glue-job.json | 150 --- .../aws-lambda-eventsourcemapping.json | 335 ------ .../providers/ap_southeast_5/__init__.py | 3 + .../aws-batch-jobdefinition.json | 20 + .../aws-lambda-eventsourcemapping.json | 335 ------ .../providers/ca_central_1/__init__.py | 3 +- .../aws-applicationinsights-application.json | 606 ---------- .../providers/ca_central_1/aws-glue-job.json | 150 --- .../ca_central_1/aws-synthetics-canary.json | 298 +++++ .../schemas/providers/ca_west_1/__init__.py | 5 + .../aws-lambda-eventsourcemapping.json | 335 ------ .../aws-networkfirewall-firewall.json | 137 --- .../aws-networkfirewall-firewallpolicy.json | 328 ------ .../aws-networkfirewall-rulegroup.json | 675 ----------- .../schemas/providers/cn_north_1/__init__.py | 2 +- .../providers/cn_north_1/aws-fms-policy.json | 416 +++++++ .../cn_north_1/aws-glue-crawler.json | 330 ------ .../providers/cn_northwest_1/__init__.py | 7 + .../aws-applicationinsights-application.json | 606 ---------- .../aws-networkfirewall-firewall.json | 137 --- .../aws-networkfirewall-firewallpolicy.json | 328 ------ .../aws-networkfirewall-rulegroup.json | 675 ----------- ...rkfirewall-tlsinspectionconfiguration.json | 249 ---- .../cn_northwest_1/aws-sagemaker-domain.json | 805 ------------- .../aws-sagemaker-userprofile.json | 580 --------- .../providers/eu_central_1/__init__.py | 5 +- .../eu_central_1/aws-cognito-userpool.json | 512 -------- .../eu_central_1/aws-ec2-launchtemplate.json | 1048 +++++++++++++++++ .../eu_central_1/aws-lightsail-instance.json | 358 ++++++ .../eu_central_1/aws-rds-globalcluster.json | 98 ++ .../eu_central_1/aws-transfer-server.json | 388 ++++++ .../providers/eu_central_2/__init__.py | 7 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/eu_central_2/aws-glue-job.json | 150 --- .../aws-lambda-eventsourcemapping.json | 335 ------ .../schemas/providers/eu_north_1/__init__.py | 2 +- .../aws-applicationinsights-application.json | 606 ---------- .../eu_north_1/aws-synthetics-canary.json | 298 +++++ .../schemas/providers/eu_south_1/__init__.py | 6 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/eu_south_1/aws-glue-job.json | 150 --- .../schemas/providers/eu_south_2/__init__.py | 3 + .../aws-applicationinsights-application.json | 606 ---------- .../aws-backup-restoretestingplan.json | 127 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../schemas/providers/eu_west_1/__init__.py | 1 + .../eu_west_1/aws-lambda-function.json | 505 -------- .../schemas/providers/eu_west_2/__init__.py | 4 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/eu_west_2/aws-glue-job.json | 150 --- .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../schemas/providers/eu_west_3/__init__.py | 1 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/il_central_1/__init__.py | 2 + .../providers/il_central_1/aws-glue-job.json | 150 --- .../aws-lambda-eventsourcemapping.json | 335 ------ .../providers/me_central_1/__init__.py | 2 + .../aws-applicationinsights-application.json | 606 ---------- .../aws-backup-restoretestingplan.json | 127 -- .../schemas/providers/me_south_1/__init__.py | 3 +- .../aws-applicationinsights-application.json | 606 ---------- .../providers/me_south_1/aws-glue-job.json | 150 --- .../me_south_1/aws-synthetics-canary.json | 298 +++++ .../schemas/providers/sa_east_1/__init__.py | 7 +- .../sa_east_1/aws-cognito-userpool.json | 512 -------- .../providers/sa_east_1/aws-fms-policy.json | 416 +++++++ .../sa_east_1/aws-iam-instanceprofile.json | 44 + .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../providers/us_gov_east_1/__init__.py | 7 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/us_gov_east_1/aws-glue-job.json | 150 --- .../us_gov_east_1/aws-glue-trigger.json | 172 --- .../aws-networkfirewall-firewall.json | 137 --- .../aws-networkfirewall-firewallpolicy.json | 328 ------ .../aws-networkfirewall-rulegroup.json | 675 ----------- ...rkfirewall-tlsinspectionconfiguration.json | 249 ---- .../providers/us_gov_west_1/__init__.py | 3 + .../aws-applicationinsights-application.json | 606 ---------- .../providers/us_gov_west_1/aws-glue-job.json | 150 --- .../us_gov_west_1/aws-glue-trigger.json | 172 --- .../schemas/providers/us_west_1/__init__.py | 3 + .../aws-applicationinsights-application.json | 606 ---------- .../aws-lambda-codesigningconfig.json | 74 -- .../aws-lambda-eventsourcemapping.json | 335 ------ .../schemas/providers/us_west_2/__init__.py | 5 +- .../us_west_2/aws-amazonmq-configuration.json | 92 ++ .../us_west_2/aws-cognito-userpool.json | 512 -------- .../us_west_2/aws-lightsail-instance.json | 358 ++++++ .../us_west_2/aws-rds-globalcluster.json | 98 ++ .../us_west_2/aws-synthetics-canary.json | 298 +++++ 172 files changed, 6580 insertions(+), 27507 deletions(-) delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-applicationinsights-application.json delete 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-cognito-userpoolresourceserver.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluicustomizationattachment.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-eventsourcemapping.json create mode 100644 src/cfnlint/data/schemas/providers/ap_east_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-userpool.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iam-instanceprofile.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-eventsourcemapping.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-backup-restoretestingplan.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iam-instanceprofile.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-lambda-eventsourcemapping.json create mode 100644 src/cfnlint/data/schemas/providers/ap_northeast_3/aws-synthetics-canary.json create mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-iam-instanceprofile.json create mode 100644 src/cfnlint/data/schemas/providers/ap_south_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-backup-restoretestingplan.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_south_2/aws-lambda-eventsourcemapping.json rename src/cfnlint/data/schemas/providers/{ca_west_1 => ap_south_2}/aws-networkfirewall-tlsinspectionconfiguration.json (100%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_1/aws-applicationinsights-application.json rename src/cfnlint/data/schemas/providers/{ap_southeast_3 => ap_southeast_1}/aws-fms-policy.json (98%) delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_1/aws-glue-job.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-restoretestingplan.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpoolresourceserver.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooluicustomizationattachment.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-glue-job.json create mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_3/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_4/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/ap_southeast_5/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-glue-job.json create mode 100644 src/cfnlint/data/schemas/providers/ca_central_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewall.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewallpolicy.json delete mode 100644 src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-rulegroup.json create mode 100644 src/cfnlint/data/schemas/providers/cn_north_1/aws-fms-policy.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewall.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewallpolicy.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-tlsinspectionconfiguration.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-domain.json delete mode 100644 src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-userprofile.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-launchtemplate.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-lightsail-instance.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-rds-globalcluster.json create mode 100644 src/cfnlint/data/schemas/providers/eu_central_1/aws-transfer-server.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_central_2/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-applicationinsights-application.json create mode 100644 src/cfnlint/data/schemas/providers/eu_north_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_1/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-backup-restoretestingplan.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_south_2/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_2/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/eu_west_3/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/il_central_1/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/me_central_1/aws-backup-restoretestingplan.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-glue-job.json create mode 100644 src/cfnlint/data/schemas/providers/me_south_1/aws-synthetics-canary.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-cognito-userpool.json create mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-fms-policy.json create mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-iam-instanceprofile.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/sa_east_1/aws-lambda-eventsourcemapping.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-glue-trigger.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-networkfirewall-firewall.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-networkfirewall-firewallpolicy.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-networkfirewall-rulegroup.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_east_1/aws-networkfirewall-tlsinspectionconfiguration.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-glue-job.json delete mode 100644 src/cfnlint/data/schemas/providers/us_gov_west_1/aws-glue-trigger.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-applicationinsights-application.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-lambda-codesigningconfig.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_1/aws-lambda-eventsourcemapping.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-amazonmq-configuration.json delete mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-userpool.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-lightsail-instance.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-rds-globalcluster.json create mode 100644 src/cfnlint/data/schemas/providers/us_west_2/aws-synthetics-canary.json diff --git a/docs/rules.md b/docs/rules.md index 6b62415a58..68a3b9db15 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 **234** rules are applied by this linter: +The following **233** rules are applied by this linter: | Rule ID | Title | Description | Config
(Name:Type:Default) | Source | Tags | | -------- | ----- | ----------- | ---------- | ------ | ---- | @@ -172,7 +172,6 @@ The following **234** rules are applied by this linter: | [E3635](../src/cfnlint/rules/resources/neptune/DBInstanceDBInstanceClassEnum.py) | Validate Neptune DB instance class | Validates the instance types for Neptune DB based on region and data gathered from the pricing APIs | | [Source]() | `resources` | | [E3638](../src/cfnlint/rules/resources/dynamodb/TableBillingModeExclusive.py) | Validate DynamoDB BillingMode pay per request configuration | When 'BillingMode' is 'PAY_PER_REQUEST' don't specify 'ProvisionedThroughput' | | [Source]() | `resources` | | [E3639](../src/cfnlint/rules/resources/dynamodb/TableBillingModeProvisioned.py) | When BillingMode is Provisioned you must specify ProvisionedThroughput | When 'BillingMode' is 'Provisioned' 'ProvisionedThroughput' is required | | [Source]() | `resources` | -| [E3640](../src/cfnlint/rules/resources/dynamodb/TableSseSpecification.py) | Validate DynamoDB SSE Specification has required properties when using KMS | When doing KMS encryption in an AWS DynamoDB table there are required properties. | | [Source]() | `resources` | | [E3641](../src/cfnlint/rules/resources/gamelift/FleetEc2InstanceTypeEnum.py) | Validate GameLift Fleet EC2 instance type | Validates the GameLift Fleet EC2 instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` | | [E3647](../src/cfnlint/rules/resources/elasticache/CacheClusterCacheNodeTypeEnum.py) | Validate ElastiCache cluster cache node type | Validates the ElastiCache instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` | | [E3652](../src/cfnlint/rules/resources/elasticsearch/DomainClusterConfigInstanceTypeEnum.py) | Validate Elasticsearch domain cluster instance | Validates the Elasticsearch instance types based on region and data gathered from the pricing APIs | | [Source]() | `resources` | diff --git a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json index 362fe7f4f5..31b5f80cdc 100644 --- a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json @@ -1 +1 @@ -{"etag": "\"3511b118ab3f6467c79d58a0ea6808d1\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a70e59cc46f6e800127bf91f49b406dc\"", "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 c9a4caf074..ddc9aa6f87 100644 --- a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json @@ -1 +1 @@ -{"etag": "\"1408f921922302d495a67e27eb88f78e\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"9872d93febde60debf5f810fce131d69\"", "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 2ed2675544..eb07bc1020 100644 --- a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json @@ -1 +1 @@ -{"etag": "\"88e58b2400962eeac5f37fdf7c54dc5b\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d1021a4d5f609df38149160b8be150f3\"", "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 a0138d1fd3..d3898c1e5b 100644 --- a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json @@ -1 +1 @@ -{"etag": "\"e7277cd3eb35c16018cdeebda196bbef\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"ce37589215fd305635027f1cc9681436\"", "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 29b9471d48..4b2f693e5d 100644 --- a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json @@ -1 +1 @@ -{"etag": "\"bb2e0b2c1ab78028cd0769e670ef1a14\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"5dbc60ad856e8fcaa76d0ac31b55d67b\"", "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 76aa1dd340..267f53f907 100644 --- a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json @@ -1 +1 @@ -{"etag": "\"2714f969aaca8844a7bdca474c7b0dba\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"46a760288bf809763a6684dea8c320e1\"", "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 14a890feac..0afd76201b 100644 --- a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json @@ -1 +1 @@ -{"etag": "\"cec05d3598c215a8180cd2a3db10e12e\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"59b3c2911b99a1662b43dc86c62a5326\"", "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 d40f4a791d..f528d17e48 100644 --- a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json @@ -1 +1 @@ -{"etag": "\"15b24098e19473b71ad005103a72b521\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"e668a96533d361f3f8e510e553d2d230\"", "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 d7e8cbd44f..7e5d32be3e 100644 --- a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json @@ -1 +1 @@ -{"etag": "\"a474d8f5b1bf74a28809fbfeae995548\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fab22ae197ed0a47ad7b7026b7ab34cc\"", "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 e725f37e40..5b1a7102c0 100644 --- a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json @@ -1 +1 @@ -{"etag": "\"f987c5a4e6512c69a8f2c61fbe96e78b\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2cd07ae4dd6baf07c2072acd674dcd8f\"", "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 66a05c30a4..eb7df2004f 100644 --- a/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/49ed0265aaab90ce485c07e02ea671e5aa3b299156f53fa9d1fd8eeabec5a268.meta.json @@ -1 +1 @@ -{"etag": "\"e951304c62a130b63225f76393875c3b\"", "url": "https://schema.cloudformation.ap-southeast-5.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3759ffedc821592a984f681a10f5504b\"", "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 2914a575de..6f2f7d4a18 100644 --- a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json @@ -1 +1 @@ -{"etag": "\"7f3346b00f0ab8cce0776975e00ae07c\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"c7e9d63dda00a890046173bf8dd3dd2b\"", "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 f6135e4ad9..efd90b157c 100644 --- a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json @@ -1 +1 @@ -{"etag": "\"6fa98524641abbd700f268022a8c992b\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"51f47ac0715e5aed05873a9b7d77c173\"", "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 d6acf954bc..dbfaba4773 100644 --- a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json @@ -1 +1 @@ -{"etag": "\"2be83eac85d4b358e9c2e8fb57602dca\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3c0f4a0efcca59bc1442ba35ff503552\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json index d003b53733..76d4c953a4 100644 --- a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json @@ -1 +1 @@ -{"etag": "\"3236a20db8537c91ce15e5a761f67b32\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"bc6f1e9022dd5b2d37acd21a228c695e\"", "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 6a1e28d43e..7163ad9d3e 100644 --- a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json @@ -1 +1 @@ -{"etag": "\"9db24343e129b546d1dcda099656b7be\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6b767ac7f8888fef8312d2c68e5dede1\"", "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 ba02c981b2..0dd7535f5a 100644 --- a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json @@ -1 +1 @@ -{"etag": "\"3d5ce7f539a2be5cfc4b9cca43feb0f6\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"f0988af29f027f147283f9234c2e0285\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json index b32e69261b..1717b6e0c1 100644 --- a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json @@ -1 +1 @@ -{"etag": "\"b8543fef06e141b250dbdc3b7aac7cab\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a88fdb04ba0c284502af0706a95d8fad\"", "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 97c85f1b85..cc0211e408 100644 --- a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json @@ -1 +1 @@ -{"etag": "\"aed9adffa56de02f02221ba233112811\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"303562032eda717835162d9e810ff75b\"", "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 fdb821cfb7..761e2319bf 100644 --- a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json @@ -1 +1 @@ -{"etag": "\"8005dda3eee8dafc35e702c98167c7e0\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"df3ccc01bafc08cd6c6c9cb8bed32c25\"", "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 59befdd93a..566158258a 100644 --- a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json @@ -1 +1 @@ -{"etag": "\"9d05e16a80c5fe43dbd8903b93c95589\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"374f5b6d8bb964ee56edc1b901e80da0\"", "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 4963bddfd6..e287a5f943 100644 --- a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json @@ -1 +1 @@ -{"etag": "\"a7edca8bb5124caa84d541f37c1d875b\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"44595e060fb4d0ee90bb93ca72614de5\"", "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 83255a84a4..3b5f089efc 100644 --- a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json @@ -1 +1 @@ -{"etag": "\"0383fb352ff0f3e07eaa9fed35aa2d94\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"af019cbb00d9da27604098ebbe87e4db\"", "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 767449f1ff..0187a79cd9 100644 --- a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json @@ -1 +1 @@ -{"etag": "\"93f8934c4615435a6827b97917e0d689\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fe9176e0002d1fd3b39853e2408c8278\"", "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 03b564c1d5..55a9be98a2 100644 --- a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json @@ -1 +1 @@ -{"etag": "\"8150ff7c477fde6e3d6c6ae94157499f\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"07098bf3417a259adc7f87688be1de24\"", "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 677e857a5a..99ee39ebef 100644 --- a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json @@ -1 +1 @@ -{"etag": "\"a84effe78e55a10e40315cb2c15e292f\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"44b2ff3e626aa0bd29974304ffb18030\"", "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 cc52672b5e..d18309aa4e 100644 --- a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json @@ -1 +1 @@ -{"etag": "\"b681c3d62218d48b5f7046348e36338d\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"d790577e5e139e58d6d82a9e0d6a9c5a\"", "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 487f677d8c..14171ce503 100644 --- a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json @@ -1 +1 @@ -{"etag": "\"29e0432f0f80030c5581d1d4183fa9b5\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"61e5fd3733b2913deb4d2b4404846bec\"", "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 6479f2bcbb..6744109385 100644 --- a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json @@ -1 +1 @@ -{"etag": "\"dd927c12cc5b8052a612c627997b65f1\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a3967034cf42acb940a21d42470e4f17\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json index f948c76272..928cdfc94c 100644 --- a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json @@ -1 +1 @@ -{"etag": "\"51d557ea2c5989dd8f044ed43678a430\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"40e3da5c1fe319a4db40e1b6aac9d114\"", "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 32c52ef8a3..6aa8790a2c 100644 --- a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json @@ -1 +1 @@ -{"etag": "\"613da61cb89e20d1e98ad66c7d67cd0a\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"ec099bfc52efa630176fbe28eba9f82e\"", "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 191733b634..b40d7363bd 100644 --- a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json @@ -1 +1 @@ -{"etag": "\"71ab2c5f8bc3e72838fa5b2af6d8ce16\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a933c495e924be9a7fddd0379ab7f7a7\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} 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 7eecd7fde3..6503976f7f 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py @@ -865,6 +865,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -973,9 +974,12 @@ "aws-cognito-logdeliveryconfiguration.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", "aws-cognito-userpoolriskconfigurationattachment.json", + "aws-cognito-userpooluicustomizationattachment.json", "aws-cognito-userpooluser.json", "aws-cognito-userpoolusertogroupattachment.json", "aws-config-aggregationauthorization.json", @@ -1200,6 +1204,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-registry.json", @@ -1293,7 +1298,9 @@ "aws-lakeformation-tag.json", "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", + "aws-lambda-codesigningconfig.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", @@ -1533,7 +1540,6 @@ "aws-stepfunctions-statemachine.json", "aws-stepfunctions-statemachinealias.json", "aws-stepfunctions-statemachineversion.json", - "aws-synthetics-canary.json", "aws-systemsmanagersap-application.json", "aws-transfer-agreement.json", "aws-transfer-certificate.json", diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} 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 deleted file mode 100644 index 20f24b4375..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooldomain.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/UserPoolId", - "/properties/Domain" - ], - "definitions": { - "CustomDomainConfigType": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "CustomDomainConfig": { - "$ref": "#/definitions/CustomDomainConfigType" - }, - "Domain": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "UserPoolId", - "Domain" - ], - "typeName": "AWS::Cognito::UserPoolDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpoolresourceserver.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpoolresourceserver.json deleted file mode 100644 index d1a816f497..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpoolresourceserver.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Identifier", - "/properties/UserPoolId" - ], - "definitions": { - "ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeName", - "ScopeDescription" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scopes": { - "items": { - "$ref": "#/definitions/ResourceServerScopeType" - }, - "type": "array", - "uniqueItems": false - }, - "UserPoolId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "UserPoolId", - "Identifier", - "Name" - ], - "typeName": "AWS::Cognito::UserPoolResourceServer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluicustomizationattachment.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluicustomizationattachment.json deleted file mode 100644 index 98baaf1ea2..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpooluicustomizationattachment.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/UserPoolId", - "/properties/ClientId" - ], - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "CSS": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "UserPoolId", - "ClientId" - ], - "typeName": "AWS::Cognito::UserPoolUICustomizationAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-codesigningconfig.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-codesigningconfig.json deleted file mode 100644 index a3cc40b633..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-codesigningconfig.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "maxItems": 20, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "default": "Warn", - "enum": [ - "Warn", - "Enforce" - ], - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/CodeSigningConfigArn" - ], - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AllowedPublishers" - }, - "CodeSigningConfigArn": { - "pattern": "arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:code-signing-config:csc-[a-z0-9]{17}", - "type": "string" - }, - "CodeSigningConfigId": { - "pattern": "csc-[a-zA-Z0-9-_\\.]{17}", - "type": "string" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/CodeSigningPolicies" - }, - "Description": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CodeSigningConfigId", - "/properties/CodeSigningConfigArn" - ], - "required": [ - "AllowedPublishers" - ], - "typeName": "AWS::Lambda::CodeSigningConfig" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 f632ac9cbb..0917b980e2 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py @@ -1477,6 +1477,7 @@ "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", "aws-cognito-logdeliveryconfiguration.json", + "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1843,7 +1844,6 @@ "aws-iam-accesskey.json", "aws-iam-group.json", "aws-iam-grouppolicy.json", - "aws-iam-instanceprofile.json", "aws-iam-managedpolicy.json", "aws-iam-oidcprovider.json", "aws-iam-policy.json", @@ -1976,7 +1976,9 @@ "aws-lakeformation-tag.json", "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", + "aws-lambda-codesigningconfig.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", @@ -2407,7 +2409,6 @@ "aws-supportapp-accountalias.json", "aws-supportapp-slackchannelconfiguration.json", "aws-supportapp-slackworkspaceconfiguration.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-timestream-database.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-userpool.json deleted file mode 100644 index 1586c49a35..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-userpool.json +++ /dev/null @@ -1,512 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AccountRecoverySetting": { - "additionalProperties": false, - "properties": { - "RecoveryMechanisms": { - "items": { - "$ref": "#/definitions/RecoveryOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "InviteMessageTemplate": { - "$ref": "#/definitions/InviteMessageTemplate" - }, - "UnusedAccountValidityDays": { - "type": "integer" - } - }, - "type": "object" - }, - "AdvancedSecurityAdditionalFlows": { - "additionalProperties": false, - "properties": { - "CustomAuthMode": { - "type": "string" - } - }, - "type": "object" - }, - "CustomEmailSender": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "CustomSMSSender": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "DeviceConfiguration": { - "additionalProperties": false, - "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" - } - }, - "type": "object" - }, - "EmailConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "InviteMessageTemplate": { - "additionalProperties": false, - "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { - "type": "string" - }, - "SMSMessage": { - "type": "string" - } - }, - "type": "object" - }, - "LambdaConfig": { - "additionalProperties": false, - "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { - "type": "string" - }, - "PreAuthentication": { - "type": "string" - }, - "PreSignUp": { - "type": "string" - }, - "PreTokenGeneration": { - "type": "string" - }, - "PreTokenGenerationConfig": { - "$ref": "#/definitions/PreTokenGenerationConfig" - }, - "UserMigration": { - "type": "string" - }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { - "type": "string" - }, - "MinValue": { - "type": "string" - } - }, - "type": "object" - }, - "PasswordPolicy": { - "additionalProperties": false, - "properties": { - "MinimumLength": { - "type": "integer" - }, - "PasswordHistorySize": { - "type": "integer" - }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { - "type": "integer" - } - }, - "type": "object" - }, - "Policies": { - "additionalProperties": false, - "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/PasswordPolicy" - } - }, - "type": "object" - }, - "PreTokenGenerationConfig": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "RecoveryOption": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Priority": { - "type": "integer" - } - }, - "type": "object" - }, - "SchemaAttribute": { - "additionalProperties": false, - "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/StringAttributeConstraints" - } - }, - "type": "object" - }, - "SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { - "type": "string" - }, - "SnsRegion": { - "type": "string" - } - }, - "type": "object" - }, - "StringAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" - } - }, - "type": "object" - }, - "UserAttributeUpdateSettings": { - "additionalProperties": false, - "properties": { - "AttributesRequireVerificationBeforeUpdate": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AttributesRequireVerificationBeforeUpdate" - ], - "type": "object" - }, - "UserPoolAddOns": { - "additionalProperties": false, - "properties": { - "AdvancedSecurityAdditionalFlows": { - "$ref": "#/definitions/AdvancedSecurityAdditionalFlows" - }, - "AdvancedSecurityMode": { - "type": "string" - } - }, - "type": "object" - }, - "UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "VerificationMessageTemplate": { - "additionalProperties": false, - "properties": { - "DefaultEmailOption": { - "type": "string" - }, - "EmailMessage": { - "type": "string" - }, - "EmailMessageByLink": { - "type": "string" - }, - "EmailSubject": { - "type": "string" - }, - "EmailSubjectByLink": { - "type": "string" - }, - "SmsMessage": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/UserPoolId" - ], - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "enum": [ - "email", - "phone_number", - "preferred_username" - ], - "type": "string" - }, - "type": "array" - }, - "Arn": { - "type": "string" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeletionProtection": { - "type": "string" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/DeviceConfiguration" - }, - "EmailAuthenticationMessage": { - "maxLength": 20000, - "minLength": 6, - "type": "string" - }, - "EmailAuthenticationSubject": { - "maxLength": 140, - "minLength": 1, - "type": "string" - }, - "EmailConfiguration": { - "$ref": "#/definitions/EmailConfiguration" - }, - "EmailVerificationMessage": { - "maxLength": 20000, - "minLength": 6, - "type": "string" - }, - "EmailVerificationSubject": { - "maxLength": 140, - "minLength": 1, - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/LambdaConfig" - }, - "MfaConfiguration": { - "enum": [ - "OFF", - "ON", - "OPTIONAL" - ], - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/Policies" - }, - "ProviderName": { - "type": "string" - }, - "ProviderURL": { - "type": "string" - }, - "Schema": { - "items": { - "$ref": "#/definitions/SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "maxLength": 140, - "minLength": 6, - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/SmsConfiguration" - }, - "SmsVerificationMessage": { - "maxLength": 140, - "minLength": 6, - "type": "string" - }, - "UserAttributeUpdateSettings": { - "$ref": "#/definitions/UserAttributeUpdateSettings" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/UserPoolAddOns" - }, - "UserPoolId": { - "type": "string" - }, - "UserPoolName": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "UserPoolTags": { - "additionalProperties": false, - "patternProperties": { - "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { - "type": "string" - } - }, - "type": "object" - }, - "UsernameAttributes": { - "items": { - "enum": [ - "email", - "phone_number" - ], - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/VerificationMessageTemplate" - } - }, - "propertyTransform": { - "/properties/Schema/*/Name": "'custom:' & '' & Name" - }, - "readOnlyProperties": [ - "/properties/ProviderName", - "/properties/UserPoolId", - "/properties/ProviderURL", - "/properties/Arn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/UserPoolTags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Cognito::UserPool", - "writeOnlyProperties": [ - "/properties/EnabledMfas" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iam-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iam-instanceprofile.json new file mode 100644 index 0000000000..ad7fe07aca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iam-instanceprofile.json @@ -0,0 +1,44 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/InstanceProfileName", + "/properties/Path" + ], + "primaryIdentifier": [ + "/properties/InstanceProfileName" + ], + "properties": { + "Arn": { + "type": "string" + }, + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" + }, + "Roles": { + "insertionOrder": false, + "items": { + "pattern": "[a-zA-Z0-9+=,.@\\-_]+", + "type": "string" + }, + "maxItems": 1, + "minItems": 1, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Arn" + ], + "required": [ + "Roles" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagProperty": "/properties/Tags", + "taggable": false + }, + "typeName": "AWS::IAM::InstanceProfile" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-codesigningconfig.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-codesigningconfig.json deleted file mode 100644 index a3cc40b633..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-codesigningconfig.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "maxItems": 20, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "default": "Warn", - "enum": [ - "Warn", - "Enforce" - ], - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/CodeSigningConfigArn" - ], - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AllowedPublishers" - }, - "CodeSigningConfigArn": { - "pattern": "arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:code-signing-config:csc-[a-z0-9]{17}", - "type": "string" - }, - "CodeSigningConfigId": { - "pattern": "csc-[a-zA-Z0-9-_\\.]{17}", - "type": "string" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/CodeSigningPolicies" - }, - "Description": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CodeSigningConfigId", - "/properties/CodeSigningConfigArn" - ], - "required": [ - "AllowedPublishers" - ], - "typeName": "AWS::Lambda::CodeSigningConfig" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 db302b268c..83c541113c 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py @@ -1201,6 +1201,7 @@ "aws-appintegrations-eventintegration.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -1646,6 +1647,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-registry.json", @@ -1799,7 +1801,9 @@ "aws-lakeformation-tag.json", "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", + "aws-lambda-codesigningconfig.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-codesigningconfig.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-codesigningconfig.json deleted file mode 100644 index a3cc40b633..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-codesigningconfig.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "maxItems": 20, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "default": "Warn", - "enum": [ - "Warn", - "Enforce" - ], - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/CodeSigningConfigArn" - ], - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AllowedPublishers" - }, - "CodeSigningConfigArn": { - "pattern": "arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:code-signing-config:csc-[a-z0-9]{17}", - "type": "string" - }, - "CodeSigningConfigId": { - "pattern": "csc-[a-zA-Z0-9-_\\.]{17}", - "type": "string" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/CodeSigningPolicies" - }, - "Description": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CodeSigningConfigId", - "/properties/CodeSigningConfigArn" - ], - "required": [ - "AllowedPublishers" - ], - "typeName": "AWS::Lambda::CodeSigningConfig" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} 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 d0349d3d6b..8476a4eabf 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py @@ -880,6 +880,7 @@ "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", + "aws-backup-restoretestingplan.json", "aws-backup-restoretestingselection.json", "aws-backupgateway-hypervisor.json", "aws-batch-computeenvironment.json", @@ -1177,7 +1178,6 @@ "aws-iam-accesskey.json", "aws-iam-group.json", "aws-iam-grouppolicy.json", - "aws-iam-instanceprofile.json", "aws-iam-managedpolicy.json", "aws-iam-oidcprovider.json", "aws-iam-policy.json", @@ -1221,6 +1221,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", @@ -1509,7 +1510,6 @@ "aws-stepfunctions-statemachine.json", "aws-stepfunctions-statemachinealias.json", "aws-stepfunctions-statemachineversion.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-transfer-agreement.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-backup-restoretestingplan.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-backup-restoretestingplan.json deleted file mode 100644 index add3c873f4..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-backup-restoretestingplan.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RestoreTestingPlanName" - ], - "definitions": { - "RestoreTestingRecoveryPointSelection": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelectionAlgorithm" - }, - "ExcludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryPointTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/RestoreTestingRecoveryPointType" - }, - "type": "array" - }, - "SelectionWindowDays": { - "type": "integer" - } - }, - "required": [ - "Algorithm", - "RecoveryPointTypes", - "IncludeVaults" - ], - "type": "object" - }, - "RestoreTestingRecoveryPointSelectionAlgorithm": { - "enum": [ - "LATEST_WITHIN_WINDOW", - "RANDOM_WITHIN_WINDOW" - ], - "type": "string" - }, - "RestoreTestingRecoveryPointType": { - "enum": [ - "SNAPSHOT", - "CONTINUOUS" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/RestoreTestingPlanName" - ], - "properties": { - "RecoveryPointSelection": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelection" - }, - "RestoreTestingPlanArn": { - "type": "string" - }, - "RestoreTestingPlanName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleExpressionTimezone": { - "type": "string" - }, - "StartWindowHours": { - "type": "integer" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/RestoreTestingPlanArn" - ], - "required": [ - "RecoveryPointSelection", - "ScheduleExpression", - "RestoreTestingPlanName" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Backup::RestoreTestingPlan" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iam-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iam-instanceprofile.json new file mode 100644 index 0000000000..ad7fe07aca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-iam-instanceprofile.json @@ -0,0 +1,44 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/InstanceProfileName", + "/properties/Path" + ], + "primaryIdentifier": [ + "/properties/InstanceProfileName" + ], + "properties": { + "Arn": { + "type": "string" + }, + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" + }, + "Roles": { + "insertionOrder": false, + "items": { + "pattern": "[a-zA-Z0-9+=,.@\\-_]+", + "type": "string" + }, + "maxItems": 1, + "minItems": 1, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Arn" + ], + "required": [ + "Roles" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagProperty": "/properties/Tags", + "taggable": false + }, + "typeName": "AWS::IAM::InstanceProfile" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 74cc190d59..a20035fb62 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py @@ -1687,7 +1687,6 @@ "aws-iam-accesskey.json", "aws-iam-group.json", "aws-iam-grouppolicy.json", - "aws-iam-instanceprofile.json", "aws-iam-managedpolicy.json", "aws-iam-oidcprovider.json", "aws-iam-policy.json", @@ -2205,7 +2204,6 @@ "aws-stepfunctions-statemachine.json", "aws-stepfunctions-statemachinealias.json", "aws-stepfunctions-statemachineversion.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-timestream-influxdbinstance.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-iam-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-iam-instanceprofile.json new file mode 100644 index 0000000000..ad7fe07aca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-iam-instanceprofile.json @@ -0,0 +1,44 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/InstanceProfileName", + "/properties/Path" + ], + "primaryIdentifier": [ + "/properties/InstanceProfileName" + ], + "properties": { + "Arn": { + "type": "string" + }, + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" + }, + "Roles": { + "insertionOrder": false, + "items": { + "pattern": "[a-zA-Z0-9+=,.@\\-_]+", + "type": "string" + }, + "maxItems": 1, + "minItems": 1, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Arn" + ], + "required": [ + "Roles" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagProperty": "/properties/Tags", + "taggable": false + }, + "typeName": "AWS::IAM::InstanceProfile" +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 f08db0ded6..ef4d6d8a2e 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py @@ -665,6 +665,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appsync-apicache.json", "aws-appsync-apikey.json", @@ -691,6 +692,7 @@ "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", + "aws-backup-restoretestingplan.json", "aws-backup-restoretestingselection.json", "aws-batch-computeenvironment.json", "aws-batch-jobdefinition.json", @@ -849,6 +851,7 @@ "aws-ec2-volumeattachment.json", "aws-ec2-vpc.json", "aws-ec2-vpcdhcpoptionsassociation.json", + "aws-ec2-vpcendpoint.json", "aws-ec2-vpcendpointconnectionnotification.json", "aws-ec2-vpcendpointservice.json", "aws-ec2-vpcendpointservicepermissions.json", @@ -980,6 +983,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", @@ -1017,7 +1021,6 @@ "aws-msk-vpcconnection.json", "aws-mwaa-environment.json", "aws-networkfirewall-loggingconfiguration.json", - "aws-networkfirewall-tlsinspectionconfiguration.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-backup-restoretestingplan.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-backup-restoretestingplan.json deleted file mode 100644 index add3c873f4..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-backup-restoretestingplan.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RestoreTestingPlanName" - ], - "definitions": { - "RestoreTestingRecoveryPointSelection": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelectionAlgorithm" - }, - "ExcludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryPointTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/RestoreTestingRecoveryPointType" - }, - "type": "array" - }, - "SelectionWindowDays": { - "type": "integer" - } - }, - "required": [ - "Algorithm", - "RecoveryPointTypes", - "IncludeVaults" - ], - "type": "object" - }, - "RestoreTestingRecoveryPointSelectionAlgorithm": { - "enum": [ - "LATEST_WITHIN_WINDOW", - "RANDOM_WITHIN_WINDOW" - ], - "type": "string" - }, - "RestoreTestingRecoveryPointType": { - "enum": [ - "SNAPSHOT", - "CONTINUOUS" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/RestoreTestingPlanName" - ], - "properties": { - "RecoveryPointSelection": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelection" - }, - "RestoreTestingPlanArn": { - "type": "string" - }, - "RestoreTestingPlanName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleExpressionTimezone": { - "type": "string" - }, - "StartWindowHours": { - "type": "integer" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/RestoreTestingPlanArn" - ], - "required": [ - "RecoveryPointSelection", - "ScheduleExpression", - "RestoreTestingPlanName" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Backup::RestoreTestingPlan" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json deleted file mode 100644 index cc6c13dfbc..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-vpcendpoint.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/VpcId", - "/properties/ServiceName" - ], - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "PrivateDnsEnabled": { - "type": "boolean" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "ServiceName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "VpcEndpointType": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "ServiceName" - ], - "typeName": "AWS::EC2::VPCEndpoint" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-tlsinspectionconfiguration.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-networkfirewall-tlsinspectionconfiguration.json similarity index 100% rename from src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-tlsinspectionconfiguration.json rename to src/cfnlint/data/schemas/providers/ap_south_2/aws-networkfirewall-tlsinspectionconfiguration.json 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 5f7561406f..1cb102f9dc 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py @@ -1280,6 +1280,7 @@ "aws-appintegrations-eventintegration.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -1735,7 +1736,6 @@ "aws-fis-experimenttemplate.json", "aws-fis-targetaccountconfiguration.json", "aws-fms-notificationchannel.json", - "aws-fms-policy.json", "aws-fms-resourceset.json", "aws-forecast-dataset.json", "aws-forecast-datasetgroup.json", @@ -1772,6 +1772,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-registry.json", @@ -2342,7 +2343,6 @@ "aws-supportapp-accountalias.json", "aws-supportapp-slackchannelconfiguration.json", "aws-supportapp-slackworkspaceconfiguration.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-timestream-influxdbinstance.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-fms-policy.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-fms-policy.json similarity index 98% rename from src/cfnlint/data/schemas/providers/ap_southeast_3/aws-fms-policy.json rename to src/cfnlint/data/schemas/providers/ap_southeast_1/aws-fms-policy.json index 90c6958113..8422693828 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-fms-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-fms-policy.json @@ -41,7 +41,7 @@ "type": "object" }, "ManagedServiceData": { - "maxLength": 8192, + "maxLength": 30000, "minLength": 1, "type": "string" }, @@ -112,7 +112,7 @@ "type": "object" }, "Protocol": { - "pattern": "^(tcp|udp|icmp|([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))$", + "pattern": "^(tcp|udp|icmp|-1|([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))$", "type": "string" }, "RuleAction": { diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 f3a49c1ca1..681305e819 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py @@ -745,6 +745,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -778,6 +779,7 @@ "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", + "aws-backup-restoretestingplan.json", "aws-backup-restoretestingselection.json", "aws-batch-computeenvironment.json", "aws-batch-jobqueue.json", @@ -839,7 +841,9 @@ "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", + "aws-cognito-userpoolresourceserver.json", "aws-cognito-userpoolriskconfigurationattachment.json", + "aws-cognito-userpooluicustomizationattachment.json", "aws-cognito-userpooluser.json", "aws-cognito-userpoolusertogroupattachment.json", "aws-config-aggregationauthorization.json", @@ -1018,6 +1022,7 @@ "aws-eventschemas-registrypolicy.json", "aws-eventschemas-schema.json", "aws-fms-notificationchannel.json", + "aws-fms-policy.json", "aws-fms-resourceset.json", "aws-fsx-datarepositoryassociation.json", "aws-fsx-filesystem.json", @@ -1035,6 +1040,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-securityconfiguration.json", @@ -1331,7 +1337,6 @@ "aws-stepfunctions-statemachine.json", "aws-stepfunctions-statemachinealias.json", "aws-stepfunctions-statemachineversion.json", - "aws-synthetics-canary.json", "aws-systemsmanagersap-application.json", "aws-transfer-agreement.json", "aws-transfer-certificate.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-restoretestingplan.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-restoretestingplan.json deleted file mode 100644 index add3c873f4..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-backup-restoretestingplan.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RestoreTestingPlanName" - ], - "definitions": { - "RestoreTestingRecoveryPointSelection": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelectionAlgorithm" - }, - "ExcludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryPointTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/RestoreTestingRecoveryPointType" - }, - "type": "array" - }, - "SelectionWindowDays": { - "type": "integer" - } - }, - "required": [ - "Algorithm", - "RecoveryPointTypes", - "IncludeVaults" - ], - "type": "object" - }, - "RestoreTestingRecoveryPointSelectionAlgorithm": { - "enum": [ - "LATEST_WITHIN_WINDOW", - "RANDOM_WITHIN_WINDOW" - ], - "type": "string" - }, - "RestoreTestingRecoveryPointType": { - "enum": [ - "SNAPSHOT", - "CONTINUOUS" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/RestoreTestingPlanName" - ], - "properties": { - "RecoveryPointSelection": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelection" - }, - "RestoreTestingPlanArn": { - "type": "string" - }, - "RestoreTestingPlanName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleExpressionTimezone": { - "type": "string" - }, - "StartWindowHours": { - "type": "integer" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/RestoreTestingPlanArn" - ], - "required": [ - "RecoveryPointSelection", - "ScheduleExpression", - "RestoreTestingPlanName" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Backup::RestoreTestingPlan" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpoolresourceserver.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpoolresourceserver.json deleted file mode 100644 index d1a816f497..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpoolresourceserver.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Identifier", - "/properties/UserPoolId" - ], - "definitions": { - "ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeName", - "ScopeDescription" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scopes": { - "items": { - "$ref": "#/definitions/ResourceServerScopeType" - }, - "type": "array", - "uniqueItems": false - }, - "UserPoolId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "UserPoolId", - "Identifier", - "Name" - ], - "typeName": "AWS::Cognito::UserPoolResourceServer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooluicustomizationattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooluicustomizationattachment.json deleted file mode 100644 index 98baaf1ea2..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpooluicustomizationattachment.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/UserPoolId", - "/properties/ClientId" - ], - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "CSS": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "UserPoolId", - "ClientId" - ], - "typeName": "AWS::Cognito::UserPoolUICustomizationAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 90217a22a1..2587a6eac6 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py @@ -915,6 +915,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-securityconfiguration.json", @@ -967,6 +968,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} 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 b5078eadd1..1fa4f1c922 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/__init__.py @@ -312,6 +312,7 @@ "AWS::SDB::Domain", "AWS::SNS::Subscription", "AWS::SNS::Topic", + "AWS::SNS::TopicInlinePolicy", "AWS::SNS::TopicPolicy", "AWS::SQS::Queue", "AWS::SQS::QueueInlinePolicy", @@ -526,6 +527,7 @@ "aws-kms-alias.json", "aws-kms-key.json", "aws-kms-replicakey.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversionpermission.json", "aws-lambda-permission.json", @@ -588,6 +590,7 @@ "aws-servicediscovery-privatednsnamespace.json", "aws-servicediscovery-publicdnsnamespace.json", "aws-servicediscovery-service.json", + "aws-sns-topicinlinepolicy.json", "aws-sns-topicpolicy.json", "aws-sqs-queue.json", "aws-sqs-queueinlinepolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-batch-jobdefinition.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-batch-jobdefinition.json index eb3012fa53..e8949b5f5b 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-batch-jobdefinition.json +++ b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-batch-jobdefinition.json @@ -351,6 +351,9 @@ "EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -437,6 +440,14 @@ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/ImagePullSecret" + }, + "type": "array", + "uniqueItems": false + }, "InitContainers": { "insertionOrder": false, "items": { @@ -564,6 +575,15 @@ }, "type": "object" }, + "ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "type": "object" + }, "JobTimeout": { "additionalProperties": false, "properties": { diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_5/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} 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 6ee8506bdb..1877078ee5 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py @@ -1160,6 +1160,7 @@ "aws-appintegrations-eventintegration.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -1588,6 +1589,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-registry.json", @@ -2097,7 +2099,6 @@ "aws-supportapp-accountalias.json", "aws-supportapp-slackchannelconfiguration.json", "aws-supportapp-slackworkspaceconfiguration.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-transfer-agreement.json", diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-glue-job.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 813bb27974..85a6cfb7bb 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py @@ -849,6 +849,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", "aws-lambda-permission.json", @@ -870,7 +871,11 @@ "aws-msk-configuration.json", "aws-msk-vpcconnection.json", "aws-mwaa-environment.json", + "aws-networkfirewall-firewall.json", + "aws-networkfirewall-firewallpolicy.json", "aws-networkfirewall-loggingconfiguration.json", + "aws-networkfirewall-rulegroup.json", + "aws-networkfirewall-tlsinspectionconfiguration.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewall.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewall.json deleted file mode 100644 index 43a5366f45..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewall.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/VpcId", - "/properties/FirewallName" - ], - "definitions": { - "EndpointId": { - "type": "string" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^arn:aws.*$", - "type": "string" - }, - "SubnetMapping": { - "additionalProperties": false, - "properties": { - "IPAddressType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/FirewallArn" - ], - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "maxLength": 512, - "pattern": "^.*$", - "type": "string" - }, - "EndpointIds": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/EndpointId" - }, - "type": "array" - }, - "FirewallArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "FirewallName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "FirewallPolicyArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SubnetMapping" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "maxLength": 128, - "minLength": 1, - "pattern": "^vpc-[0-9a-f]+$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/FirewallArn", - "/properties/FirewallId", - "/properties/EndpointIds" - ], - "required": [ - "FirewallName", - "FirewallPolicyArn", - "VpcId", - "SubnetMappings" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::Firewall" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewallpolicy.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewallpolicy.json deleted file mode 100644 index 8732fe6db0..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-firewallpolicy.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FirewallPolicyName" - ], - "definitions": { - "ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/PublishMetricAction" - } - }, - "type": "object" - }, - "CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/ActionDefinition" - }, - "ActionName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - } - }, - "required": [ - "ActionName", - "ActionDefinition" - ], - "type": "object" - }, - "Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-_ ]+$", - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "FirewallPolicy": { - "additionalProperties": false, - "properties": { - "PolicyVariables": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/RuleVariables" - } - }, - "type": "object" - }, - "StatefulDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatefulRuleGroupReference" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessCustomActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomAction" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessFragmentDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRuleGroupReferences": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatelessRuleGroupReference" - }, - "type": "array", - "uniqueItems": false - }, - "TLSInspectionConfigurationArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "OverrideAction": { - "enum": [ - "DROP_TO_ALERT" - ], - "type": "string" - }, - "Priority": { - "maximum": 65535, - "minimum": 1, - "type": "integer" - }, - "PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Dimension" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(arn:aws.*)$", - "type": "string" - }, - "RuleOrder": { - "enum": [ - "DEFAULT_ACTION_ORDER", - "STRICT_ORDER" - ], - "type": "string" - }, - "RuleVariables": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSet" - } - }, - "type": "object" - }, - "StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "$ref": "#/definitions/RuleOrder" - }, - "StreamExceptionPolicy": { - "$ref": "#/definitions/StreamExceptionPolicy" - } - }, - "type": "object" - }, - "StatefulRuleGroupOverride": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/OverrideAction" - } - }, - "type": "object" - }, - "StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Override": { - "$ref": "#/definitions/StatefulRuleGroupOverride" - }, - "Priority": { - "$ref": "#/definitions/Priority" - }, - "ResourceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/Priority" - }, - "ResourceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "ResourceArn", - "Priority" - ], - "type": "object" - }, - "StreamExceptionPolicy": { - "enum": [ - "DROP", - "CONTINUE", - "REJECT" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "pattern": "^.*$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VariableDefinition": { - "minLength": 1, - "pattern": "^.*$", - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/FirewallPolicyArn" - ], - "properties": { - "Description": { - "maxLength": 512, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/FirewallPolicy" - }, - "FirewallPolicyArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallPolicyId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "FirewallPolicyName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/FirewallPolicyArn", - "/properties/FirewallPolicyId" - ], - "required": [ - "FirewallPolicyName", - "FirewallPolicy" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::FirewallPolicy" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-rulegroup.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-rulegroup.json deleted file mode 100644 index 7b96bab6c5..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-networkfirewall-rulegroup.json +++ /dev/null @@ -1,675 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RuleGroupName", - "/properties/Capacity", - "/properties/Type" - ], - "definitions": { - "ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/PublishMetricAction" - } - }, - "type": "object" - }, - "Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "maxLength": 255, - "minLength": 1, - "pattern": "^([a-fA-F\\d:\\.]+/\\d{1,3})$", - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/ActionDefinition" - }, - "ActionName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - } - }, - "required": [ - "ActionName", - "ActionDefinition" - ], - "type": "object" - }, - "Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-_ ]+$", - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "GeneratedRulesType": { - "enum": [ - "ALLOWLIST", - "DENYLIST" - ], - "type": "string" - }, - "Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "DestinationPort": { - "$ref": "#/definitions/Port" - }, - "Direction": { - "enum": [ - "FORWARD", - "ANY" - ], - "type": "string" - }, - "Protocol": { - "enum": [ - "IP", - "TCP", - "UDP", - "ICMP", - "HTTP", - "FTP", - "TLS", - "SMB", - "DNS", - "DCERPC", - "SSH", - "SMTP", - "IMAP", - "MSN", - "KRB5", - "IKEV2", - "TFTP", - "NTP", - "DHCP" - ], - "type": "string" - }, - "Source": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "SourcePort": { - "$ref": "#/definitions/Port" - } - }, - "required": [ - "Protocol", - "Source", - "SourcePort", - "Direction", - "Destination", - "DestinationPort" - ], - "type": "object" - }, - "IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "IPSetReference": { - "additionalProperties": false, - "properties": { - "ReferenceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "type": "object" - }, - "MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Destinations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - }, - "Protocols": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ProtocolNumber" - }, - "type": "array", - "uniqueItems": false - }, - "SourcePorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Sources": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - }, - "TCPFlags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlagField" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "Port": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "$ref": "#/definitions/PortRangeBound" - }, - "ToPort": { - "$ref": "#/definitions/PortRangeBound" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "PortRangeBound": { - "maximum": 65535, - "minimum": 0, - "type": "integer" - }, - "PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ProtocolNumber": { - "maximum": 255, - "minimum": 0, - "type": "integer" - }, - "PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Dimension" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "ReferenceSets": { - "additionalProperties": false, - "properties": { - "IPSetReferences": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSetReference" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(arn:aws.*)$", - "type": "string" - }, - "RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "MatchAttributes": { - "$ref": "#/definitions/MatchAttributes" - } - }, - "required": [ - "MatchAttributes", - "Actions" - ], - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "ReferenceSets": { - "$ref": "#/definitions/ReferenceSets" - }, - "RuleVariables": { - "$ref": "#/definitions/RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Settings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Setting" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "RuleOrder": { - "enum": [ - "DEFAULT_ACTION_ORDER", - "STRICT_ORDER" - ], - "type": "string" - }, - "RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/RulesSourceList" - }, - "RulesString": { - "$ref": "#/definitions/RulesString" - }, - "StatefulRules": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatefulRule" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "$ref": "#/definitions/GeneratedRulesType" - }, - "TargetTypes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TargetType" - }, - "type": "array", - "uniqueItems": false - }, - "Targets": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Targets", - "TargetTypes", - "GeneratedRulesType" - ], - "type": "object" - }, - "RulesString": { - "maxLength": 1000000, - "minLength": 0, - "type": "string" - }, - "Setting": { - "maxLength": 8192, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "PASS", - "DROP", - "ALERT", - "REJECT" - ], - "type": "string" - }, - "Header": { - "$ref": "#/definitions/Header" - }, - "RuleOptions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/RuleOption" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "$ref": "#/definitions/RuleOrder" - } - }, - "type": "object" - }, - "StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "maximum": 65535, - "minimum": 1, - "type": "integer" - }, - "RuleDefinition": { - "$ref": "#/definitions/RuleDefinition" - } - }, - "required": [ - "RuleDefinition", - "Priority" - ], - "type": "object" - }, - "StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomAction" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRules": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatelessRule" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "TCPFlag": { - "enum": [ - "FIN", - "SYN", - "RST", - "PSH", - "ACK", - "URG", - "ECE", - "CWR" - ], - "type": "string" - }, - "TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlag" - }, - "type": "array", - "uniqueItems": false - }, - "Masks": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlag" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "pattern": "^.*$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "TargetType": { - "enum": [ - "TLS_SNI", - "HTTP_HOST" - ], - "type": "string" - }, - "VariableDefinition": { - "minLength": 1, - "pattern": "^.*$", - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/RuleGroupArn" - ], - "properties": { - "Capacity": { - "type": "integer" - }, - "Description": { - "maxLength": 512, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/RuleGroup" - }, - "RuleGroupArn": { - "$ref": "#/definitions/ResourceArn" - }, - "RuleGroupId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "RuleGroupName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "Type": { - "enum": [ - "STATELESS", - "STATEFUL" - ], - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/RuleGroupArn", - "/properties/RuleGroupId" - ], - "required": [ - "Type", - "Capacity", - "RuleGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::RuleGroup" -} 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 e99720f82e..88ba7dfebf 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py @@ -1006,7 +1006,6 @@ "aws-eventschemas-registry.json", "aws-eventschemas-registrypolicy.json", "aws-eventschemas-schema.json", - "aws-fms-policy.json", "aws-fsx-datarepositoryassociation.json", "aws-fsx-filesystem.json", "aws-fsx-snapshot.json", @@ -1022,6 +1021,7 @@ "aws-gamelift-script.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/cn_north_1/aws-fms-policy.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-fms-policy.json new file mode 100644 index 0000000000..8422693828 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-fms-policy.json @@ -0,0 +1,416 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountId": { + "maxLength": 12, + "minLength": 12, + "pattern": "^([0-9]*)$", + "type": "string" + }, + "Base62Id": { + "maxLength": 22, + "minLength": 22, + "pattern": "^[a-z0-9A-Z]{22}$", + "type": "string" + }, + "FirewallDeploymentModel": { + "enum": [ + "DISTRIBUTED", + "CENTRALIZED" + ], + "type": "string" + }, + "IEMap": { + "additionalProperties": false, + "properties": { + "ACCOUNT": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/AccountId" + }, + "type": "array" + }, + "ORGUNIT": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/OrganizationalUnitId" + }, + "type": "array" + } + }, + "type": "object" + }, + "ManagedServiceData": { + "maxLength": 30000, + "minLength": 1, + "type": "string" + }, + "NetworkAclCommonPolicy": { + "additionalProperties": false, + "properties": { + "NetworkAclEntrySet": { + "$ref": "#/definitions/NetworkAclEntrySet" + } + }, + "required": [ + "NetworkAclEntrySet" + ], + "type": "object" + }, + "NetworkAclEntry": { + "additionalProperties": false, + "properties": { + "CidrBlock": { + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$", + "type": "string" + }, + "Egress": { + "type": "boolean" + }, + "IcmpTypeCode": { + "additionalProperties": false, + "properties": { + "Code": { + "maximum": 255, + "minimum": 0, + "type": "integer" + }, + "Type": { + "maximum": 255, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "Code", + "Type" + ], + "type": "object" + }, + "Ipv6CidrBlock": { + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(/(1[0-2]|[0-9]))?$", + "type": "string" + }, + "PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "maximum": 65535, + "minimum": 0, + "type": "integer" + }, + "To": { + "maximum": 65535, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "From", + "To" + ], + "type": "object" + }, + "Protocol": { + "pattern": "^(tcp|udp|icmp|-1|([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))$", + "type": "string" + }, + "RuleAction": { + "enum": [ + "allow", + "deny" + ], + "type": "string" + } + }, + "required": [ + "Egress", + "Protocol", + "RuleAction" + ], + "type": "object" + }, + "NetworkAclEntryList": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/NetworkAclEntry" + }, + "type": "array" + }, + "NetworkAclEntrySet": { + "additionalProperties": false, + "anyOf": [ + { + "required": [ + "FirstEntries" + ] + }, + { + "required": [ + "LastEntries" + ] + } + ], + "properties": { + "FirstEntries": { + "$ref": "#/definitions/NetworkAclEntryList" + }, + "ForceRemediateForFirstEntries": { + "type": "boolean" + }, + "ForceRemediateForLastEntries": { + "type": "boolean" + }, + "LastEntries": { + "$ref": "#/definitions/NetworkAclEntryList" + } + }, + "required": [ + "ForceRemediateForFirstEntries", + "ForceRemediateForLastEntries" + ], + "type": "object" + }, + "NetworkFirewallPolicy": { + "additionalProperties": false, + "properties": { + "FirewallDeploymentModel": { + "$ref": "#/definitions/FirewallDeploymentModel" + } + }, + "required": [ + "FirewallDeploymentModel" + ], + "type": "object" + }, + "OrganizationalUnitId": { + "maxLength": 68, + "minLength": 16, + "pattern": "^(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$", + "type": "string" + }, + "PolicyOption": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "NetworkFirewallPolicy" + ] + }, + { + "required": [ + "ThirdPartyFirewallPolicy" + ] + }, + { + "required": [ + "NetworkAclCommonPolicy" + ] + } + ], + "properties": { + "NetworkAclCommonPolicy": { + "$ref": "#/definitions/NetworkAclCommonPolicy" + }, + "NetworkFirewallPolicy": { + "$ref": "#/definitions/NetworkFirewallPolicy" + }, + "ThirdPartyFirewallPolicy": { + "$ref": "#/definitions/ThirdPartyFirewallPolicy" + } + }, + "type": "object" + }, + "PolicyTag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "pattern": "^([^\\s]*)$", + "type": "string" + }, + "Value": { + "maxLength": 256, + "pattern": "^([^\\s]*)$", + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "PolicyType": { + "enum": [ + "WAF", + "WAFV2", + "SHIELD_ADVANCED", + "SECURITY_GROUPS_COMMON", + "SECURITY_GROUPS_CONTENT_AUDIT", + "SECURITY_GROUPS_USAGE_AUDIT", + "NETWORK_FIREWALL", + "THIRD_PARTY_FIREWALL", + "DNS_FIREWALL", + "IMPORT_NETWORK_FIREWALL", + "NETWORK_ACL_COMMON" + ], + "type": "string" + }, + "ResourceArn": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^([^\\s]*)$", + "type": "string" + }, + "ResourceTag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + }, + "ResourceType": { + "maxLength": 128, + "minLength": 1, + "pattern": "^([^\\s]*)$", + "type": "string" + }, + "SecurityServicePolicyData": { + "additionalProperties": false, + "properties": { + "ManagedServiceData": { + "$ref": "#/definitions/ManagedServiceData" + }, + "PolicyOption": { + "$ref": "#/definitions/PolicyOption" + }, + "Type": { + "$ref": "#/definitions/PolicyType" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "ThirdPartyFirewallPolicy": { + "additionalProperties": false, + "properties": { + "FirewallDeploymentModel": { + "$ref": "#/definitions/FirewallDeploymentModel" + } + }, + "required": [ + "FirewallDeploymentModel" + ], + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/ResourceArn" + }, + "DeleteAllPolicyResources": { + "type": "boolean" + }, + "ExcludeMap": { + "$ref": "#/definitions/IEMap" + }, + "ExcludeResourceTags": { + "type": "boolean" + }, + "Id": { + "maxLength": 36, + "minLength": 36, + "pattern": "^[a-z0-9A-Z-]{36}$", + "type": "string" + }, + "IncludeMap": { + "$ref": "#/definitions/IEMap" + }, + "PolicyDescription": { + "maxLength": 256, + "pattern": "^([a-zA-Z0-9_.:/=+\\-@\\s]+)$", + "type": "string" + }, + "PolicyName": { + "maxLength": 1024, + "minLength": 1, + "pattern": "^([a-zA-Z0-9_.:/=+\\-@\\s]+)$", + "type": "string" + }, + "RemediationEnabled": { + "type": "boolean" + }, + "ResourceSetIds": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/Base62Id" + }, + "type": "array", + "uniqueItems": true + }, + "ResourceTags": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/ResourceTag" + }, + "maxItems": 8, + "type": "array" + }, + "ResourceType": { + "$ref": "#/definitions/ResourceType" + }, + "ResourceTypeList": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/ResourceType" + }, + "type": "array" + }, + "ResourcesCleanUp": { + "type": "boolean" + }, + "SecurityServicePolicyData": { + "$ref": "#/definitions/SecurityServicePolicyData" + }, + "Tags": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/PolicyTag" + }, + "type": "array" + } + }, + "readOnlyProperties": [ + "/properties/Arn", + "/properties/Id" + ], + "required": [ + "ExcludeResourceTags", + "PolicyName", + "RemediationEnabled", + "SecurityServicePolicyData" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-fms.git", + "typeName": "AWS::FMS::Policy", + "writeOnlyProperties": [ + "/properties/DeleteAllPolicyResources" + ] +} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json deleted file mode 100644 index 9b9032ba9a..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-glue-crawler.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "CatalogTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DlqEventQueueArn": { - "type": "string" - }, - "EventQueueArn": { - "type": "string" - }, - "Tables": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "DeltaTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "CreateNativeDeltaTable": { - "type": "boolean" - }, - "DeltaTables": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "WriteManifest": { - "type": "boolean" - } - }, - "type": "object" - }, - "DynamoDBTarget": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "IcebergTarget": { - "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" - }, - "JdbcTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "EnableAdditionalMetadata": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "LakeFormationConfiguration": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "UseLakeFormationCredentials": { - "type": "boolean" - } - }, - "type": "object" - }, - "MongoDBTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "RecrawlPolicy": { - "additionalProperties": false, - "properties": { - "RecrawlBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "S3Target": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "DlqEventQueueArn": { - "type": "string" - }, - "EventQueueArn": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Path": { - "type": "string" - }, - "SampleSize": { - "type": "integer" - } - }, - "type": "object" - }, - "Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "SchemaChangePolicy": { - "additionalProperties": false, - "properties": { - "DeleteBehavior": { - "enum": [ - "DELETE_FROM_DATABASE", - "DEPRECATE_IN_DATABASE", - "LOG" - ], - "type": "string" - }, - "UpdateBehavior": { - "enum": [ - "LOG", - "UPDATE_IN_DATABASE" - ], - "type": "string" - } - }, - "type": "object" - }, - "Targets": { - "additionalProperties": false, - "properties": { - "CatalogTargets": { - "items": { - "$ref": "#/definitions/CatalogTarget" - }, - "type": "array", - "uniqueItems": false - }, - "DeltaTargets": { - "items": { - "$ref": "#/definitions/DeltaTarget" - }, - "type": "array", - "uniqueItems": false - }, - "DynamoDBTargets": { - "items": { - "$ref": "#/definitions/DynamoDBTarget" - }, - "type": "array", - "uniqueItems": false - }, - "IcebergTargets": { - "items": { - "$ref": "#/definitions/IcebergTarget" - }, - "type": "array", - "uniqueItems": false - }, - "JdbcTargets": { - "items": { - "$ref": "#/definitions/JdbcTarget" - }, - "type": "array", - "uniqueItems": false - }, - "MongoDBTargets": { - "items": { - "$ref": "#/definitions/MongoDBTarget" - }, - "type": "array", - "uniqueItems": false - }, - "S3Targets": { - "items": { - "$ref": "#/definitions/S3Target" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Classifiers": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Configuration": { - "type": "string" - }, - "CrawlerSecurityConfiguration": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LakeFormationConfiguration": { - "$ref": "#/definitions/LakeFormationConfiguration" - }, - "Name": { - "type": "string" - }, - "RecrawlPolicy": { - "$ref": "#/definitions/RecrawlPolicy" - }, - "Role": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/Schedule" - }, - "SchemaChangePolicy": { - "$ref": "#/definitions/SchemaChangePolicy" - }, - "TablePrefix": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Targets": { - "$ref": "#/definitions/Targets" - } - }, - "required": [ - "Role", - "Targets" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-glue.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Glue::Crawler" -} 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 4f93ec5f1b..937b5ed1a6 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py @@ -718,6 +718,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", "aws-appmesh-route.json", @@ -1094,7 +1095,11 @@ "aws-mwaa-environment.json", "aws-neptune-dbcluster.json", "aws-neptune-dbsubnetgroup.json", + "aws-networkfirewall-firewall.json", + "aws-networkfirewall-firewallpolicy.json", "aws-networkfirewall-loggingconfiguration.json", + "aws-networkfirewall-rulegroup.json", + "aws-networkfirewall-tlsinspectionconfiguration.json", "aws-oam-link.json", "aws-oam-sink.json", "aws-opensearchservice-domain.json", @@ -1169,6 +1174,7 @@ "aws-sagemaker-app.json", "aws-sagemaker-appimageconfig.json", "aws-sagemaker-coderepository.json", + "aws-sagemaker-domain.json", "aws-sagemaker-endpoint.json", "aws-sagemaker-endpointconfig.json", "aws-sagemaker-featuregroup.json", @@ -1183,6 +1189,7 @@ "aws-sagemaker-pipeline.json", "aws-sagemaker-project.json", "aws-sagemaker-studiolifecycleconfig.json", + "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewall.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewall.json deleted file mode 100644 index 43a5366f45..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewall.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/VpcId", - "/properties/FirewallName" - ], - "definitions": { - "EndpointId": { - "type": "string" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^arn:aws.*$", - "type": "string" - }, - "SubnetMapping": { - "additionalProperties": false, - "properties": { - "IPAddressType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/FirewallArn" - ], - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "maxLength": 512, - "pattern": "^.*$", - "type": "string" - }, - "EndpointIds": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/EndpointId" - }, - "type": "array" - }, - "FirewallArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "FirewallName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "FirewallPolicyArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/SubnetMapping" - }, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "maxLength": 128, - "minLength": 1, - "pattern": "^vpc-[0-9a-f]+$", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/FirewallArn", - "/properties/FirewallId", - "/properties/EndpointIds" - ], - "required": [ - "FirewallName", - "FirewallPolicyArn", - "VpcId", - "SubnetMappings" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::Firewall" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewallpolicy.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewallpolicy.json deleted file mode 100644 index 8732fe6db0..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-firewallpolicy.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FirewallPolicyName" - ], - "definitions": { - "ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/PublishMetricAction" - } - }, - "type": "object" - }, - "CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/ActionDefinition" - }, - "ActionName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - } - }, - "required": [ - "ActionName", - "ActionDefinition" - ], - "type": "object" - }, - "Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-_ ]+$", - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "FirewallPolicy": { - "additionalProperties": false, - "properties": { - "PolicyVariables": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/RuleVariables" - } - }, - "type": "object" - }, - "StatefulDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatefulRuleGroupReference" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessCustomActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomAction" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessFragmentDefaultActions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRuleGroupReferences": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatelessRuleGroupReference" - }, - "type": "array", - "uniqueItems": false - }, - "TLSInspectionConfigurationArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "OverrideAction": { - "enum": [ - "DROP_TO_ALERT" - ], - "type": "string" - }, - "Priority": { - "maximum": 65535, - "minimum": 1, - "type": "integer" - }, - "PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Dimension" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(arn:aws.*)$", - "type": "string" - }, - "RuleOrder": { - "enum": [ - "DEFAULT_ACTION_ORDER", - "STRICT_ORDER" - ], - "type": "string" - }, - "RuleVariables": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSet" - } - }, - "type": "object" - }, - "StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "$ref": "#/definitions/RuleOrder" - }, - "StreamExceptionPolicy": { - "$ref": "#/definitions/StreamExceptionPolicy" - } - }, - "type": "object" - }, - "StatefulRuleGroupOverride": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/OverrideAction" - } - }, - "type": "object" - }, - "StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Override": { - "$ref": "#/definitions/StatefulRuleGroupOverride" - }, - "Priority": { - "$ref": "#/definitions/Priority" - }, - "ResourceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "$ref": "#/definitions/Priority" - }, - "ResourceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "required": [ - "ResourceArn", - "Priority" - ], - "type": "object" - }, - "StreamExceptionPolicy": { - "enum": [ - "DROP", - "CONTINUE", - "REJECT" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "pattern": "^.*$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VariableDefinition": { - "minLength": 1, - "pattern": "^.*$", - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/FirewallPolicyArn" - ], - "properties": { - "Description": { - "maxLength": 512, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/FirewallPolicy" - }, - "FirewallPolicyArn": { - "$ref": "#/definitions/ResourceArn" - }, - "FirewallPolicyId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "FirewallPolicyName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/FirewallPolicyArn", - "/properties/FirewallPolicyId" - ], - "required": [ - "FirewallPolicyName", - "FirewallPolicy" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::FirewallPolicy" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-rulegroup.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-rulegroup.json deleted file mode 100644 index 7b96bab6c5..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-rulegroup.json +++ /dev/null @@ -1,675 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RuleGroupName", - "/properties/Capacity", - "/properties/Type" - ], - "definitions": { - "ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/PublishMetricAction" - } - }, - "type": "object" - }, - "Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "maxLength": 255, - "minLength": 1, - "pattern": "^([a-fA-F\\d:\\.]+/\\d{1,3})$", - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/ActionDefinition" - }, - "ActionName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - } - }, - "required": [ - "ActionName", - "ActionDefinition" - ], - "type": "object" - }, - "Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-_ ]+$", - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "GeneratedRulesType": { - "enum": [ - "ALLOWLIST", - "DENYLIST" - ], - "type": "string" - }, - "Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "DestinationPort": { - "$ref": "#/definitions/Port" - }, - "Direction": { - "enum": [ - "FORWARD", - "ANY" - ], - "type": "string" - }, - "Protocol": { - "enum": [ - "IP", - "TCP", - "UDP", - "ICMP", - "HTTP", - "FTP", - "TLS", - "SMB", - "DNS", - "DCERPC", - "SSH", - "SMTP", - "IMAP", - "MSN", - "KRB5", - "IKEV2", - "TFTP", - "NTP", - "DHCP" - ], - "type": "string" - }, - "Source": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "SourcePort": { - "$ref": "#/definitions/Port" - } - }, - "required": [ - "Protocol", - "Source", - "SourcePort", - "Direction", - "Destination", - "DestinationPort" - ], - "type": "object" - }, - "IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "IPSetReference": { - "additionalProperties": false, - "properties": { - "ReferenceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "type": "object" - }, - "MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Destinations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - }, - "Protocols": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ProtocolNumber" - }, - "type": "array", - "uniqueItems": false - }, - "SourcePorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Sources": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - }, - "TCPFlags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlagField" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "Port": { - "maxLength": 1024, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "$ref": "#/definitions/PortRangeBound" - }, - "ToPort": { - "$ref": "#/definitions/PortRangeBound" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "PortRangeBound": { - "maximum": 65535, - "minimum": 0, - "type": "integer" - }, - "PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/VariableDefinition" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ProtocolNumber": { - "maximum": 255, - "minimum": 0, - "type": "integer" - }, - "PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Dimension" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "ReferenceSets": { - "additionalProperties": false, - "properties": { - "IPSetReferences": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSetReference" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(arn:aws.*)$", - "type": "string" - }, - "RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "MatchAttributes": { - "$ref": "#/definitions/MatchAttributes" - } - }, - "required": [ - "MatchAttributes", - "Actions" - ], - "type": "object" - }, - "RuleGroup": { - "additionalProperties": false, - "properties": { - "ReferenceSets": { - "$ref": "#/definitions/ReferenceSets" - }, - "RuleVariables": { - "$ref": "#/definitions/RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Settings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Setting" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "RuleOrder": { - "enum": [ - "DEFAULT_ACTION_ORDER", - "STRICT_ORDER" - ], - "type": "string" - }, - "RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[A-Za-z0-9_]{1,32}$": { - "$ref": "#/definitions/PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/RulesSourceList" - }, - "RulesString": { - "$ref": "#/definitions/RulesString" - }, - "StatefulRules": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatefulRule" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "$ref": "#/definitions/GeneratedRulesType" - }, - "TargetTypes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TargetType" - }, - "type": "array", - "uniqueItems": false - }, - "Targets": { - "insertionOrder": true, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Targets", - "TargetTypes", - "GeneratedRulesType" - ], - "type": "object" - }, - "RulesString": { - "maxLength": 1000000, - "minLength": 0, - "type": "string" - }, - "Setting": { - "maxLength": 8192, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "PASS", - "DROP", - "ALERT", - "REJECT" - ], - "type": "string" - }, - "Header": { - "$ref": "#/definitions/Header" - }, - "RuleOptions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/RuleOption" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "$ref": "#/definitions/RuleOrder" - } - }, - "type": "object" - }, - "StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "maximum": 65535, - "minimum": 1, - "type": "integer" - }, - "RuleDefinition": { - "$ref": "#/definitions/RuleDefinition" - } - }, - "required": [ - "RuleDefinition", - "Priority" - ], - "type": "object" - }, - "StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomAction" - }, - "type": "array", - "uniqueItems": false - }, - "StatelessRules": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/StatelessRule" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "TCPFlag": { - "enum": [ - "FIN", - "SYN", - "RST", - "PSH", - "ACK", - "URG", - "ECE", - "CWR" - ], - "type": "string" - }, - "TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlag" - }, - "type": "array", - "uniqueItems": false - }, - "Masks": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/TCPFlag" - }, - "type": "array", - "uniqueItems": false - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "pattern": "^.*$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "TargetType": { - "enum": [ - "TLS_SNI", - "HTTP_HOST" - ], - "type": "string" - }, - "VariableDefinition": { - "minLength": 1, - "pattern": "^.*$", - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/RuleGroupArn" - ], - "properties": { - "Capacity": { - "type": "integer" - }, - "Description": { - "maxLength": 512, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/RuleGroup" - }, - "RuleGroupArn": { - "$ref": "#/definitions/ResourceArn" - }, - "RuleGroupId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "RuleGroupName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "Type": { - "enum": [ - "STATELESS", - "STATEFUL" - ], - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/RuleGroupArn", - "/properties/RuleGroupId" - ], - "required": [ - "Type", - "Capacity", - "RuleGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::RuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-tlsinspectionconfiguration.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-tlsinspectionconfiguration.json deleted file mode 100644 index 0b3c41449f..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-networkfirewall-tlsinspectionconfiguration.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TLSInspectionConfigurationName" - ], - "definitions": { - "Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "maxLength": 255, - "minLength": 1, - "pattern": "^([a-fA-F\\d:\\.]+/\\d{1,3})$", - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "$ref": "#/definitions/PortRangeBound" - }, - "ToPort": { - "$ref": "#/definitions/PortRangeBound" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "PortRangeBound": { - "maximum": 65535, - "minimum": 0, - "type": "integer" - }, - "ProtocolNumber": { - "maximum": 255, - "minimum": 0, - "type": "integer" - }, - "ResourceArn": { - "maxLength": 256, - "minLength": 1, - "pattern": "^(arn:aws.*)$", - "type": "string" - }, - "RevokedStatusAction": { - "enum": [ - "PASS", - "DROP", - "REJECT" - ], - "type": "string" - }, - "ServerCertificate": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "$ref": "#/definitions/ResourceArn" - } - }, - "type": "object" - }, - "ServerCertificateConfiguration": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArn": { - "$ref": "#/definitions/ResourceArn" - }, - "CheckCertificateRevocationStatus": { - "additionalProperties": false, - "properties": { - "RevokedStatusAction": { - "$ref": "#/definitions/RevokedStatusAction" - }, - "UnknownStatusAction": { - "$ref": "#/definitions/UnknownStatusAction" - } - }, - "type": "object" - }, - "Scopes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ServerCertificateScope" - }, - "type": "array", - "uniqueItems": false - }, - "ServerCertificates": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ServerCertificate" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "ServerCertificateScope": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Destinations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - }, - "Protocols": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ProtocolNumber" - }, - "type": "array", - "uniqueItems": false - }, - "SourcePorts": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/PortRange" - }, - "type": "array", - "uniqueItems": false - }, - "Sources": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Address" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "TLSInspectionConfiguration": { - "additionalProperties": false, - "properties": { - "ServerCertificateConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ServerCertificateConfiguration" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "pattern": "^.*$", - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnknownStatusAction": { - "enum": [ - "PASS", - "DROP", - "REJECT" - ], - "type": "string" - } - }, - "primaryIdentifier": [ - "/properties/TLSInspectionConfigurationArn" - ], - "properties": { - "Description": { - "maxLength": 512, - "minLength": 1, - "pattern": "^.*$", - "type": "string" - }, - "TLSInspectionConfiguration": { - "$ref": "#/definitions/TLSInspectionConfiguration" - }, - "TLSInspectionConfigurationArn": { - "$ref": "#/definitions/ResourceArn" - }, - "TLSInspectionConfigurationId": { - "maxLength": 36, - "minLength": 36, - "pattern": "^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$", - "type": "string" - }, - "TLSInspectionConfigurationName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[a-zA-Z0-9-]+$", - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/TLSInspectionConfigurationArn", - "/properties/TLSInspectionConfigurationId" - ], - "required": [ - "TLSInspectionConfigurationName", - "TLSInspectionConfiguration" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkfirewall.git", - "tagging": { - "taggable": true - }, - "typeName": "AWS::NetworkFirewall::TLSInspectionConfiguration" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-domain.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-domain.json deleted file mode 100644 index 6a07ad55bc..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-domain.json +++ /dev/null @@ -1,805 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AuthMode", - "/properties/DomainName", - "/properties/DomainSettings/RStudioServerProDomainSettings/DefaultResourceSpec", - "/properties/KmsKeyId", - "/properties/VpcId", - "/properties/Tags" - ], - "definitions": { - "AppType": { - "enum": [ - "JupyterServer", - "TensorBoard", - "RStudioServerPro", - "JupyterLab", - "CodeEditor", - "DetailedProfiler", - "Canvas" - ], - "type": "string" - }, - "CodeEditorAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 200, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "CodeRepository": { - "additionalProperties": false, - "properties": { - "RepositoryUrl": { - "maxLength": 256, - "pattern": "^https://([.\\-_a-zA-Z0-9]+/?){3,1016}$", - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "CustomFileSystemConfig": { - "additionalProperties": false, - "properties": { - "EFSFileSystemConfig": { - "$ref": "#/definitions/EFSFileSystemConfig" - } - }, - "type": "object" - }, - "CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - }, - "ImageName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "ImageVersionNumber": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "CustomPosixUserConfig": { - "additionalProperties": false, - "properties": { - "Gid": { - "maximum": 4000000, - "minimum": 1001, - "type": "integer" - }, - "Uid": { - "maximum": 4000000, - "minimum": 10000, - "type": "integer" - } - }, - "required": [ - "Uid", - "Gid" - ], - "type": "object" - }, - "DefaultEbsStorageSettings": { - "additionalProperties": false, - "properties": { - "DefaultEbsVolumeSizeInGb": { - "$ref": "#/definitions/SpaceEbsVolumeSizeInGb" - }, - "MaximumEbsVolumeSizeInGb": { - "$ref": "#/definitions/SpaceEbsVolumeSizeInGb" - } - }, - "required": [ - "DefaultEbsVolumeSizeInGb", - "MaximumEbsVolumeSizeInGb" - ], - "type": "object" - }, - "DefaultSpaceSettings": { - "additionalProperties": false, - "properties": { - "CustomFileSystemConfigs": { - "items": { - "$ref": "#/definitions/CustomFileSystemConfig" - }, - "maxItems": 2, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "CustomPosixUserConfig": { - "$ref": "#/definitions/CustomPosixUserConfig" - }, - "ExecutionRole": { - "maxLength": 2048, - "minLength": 20, - "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "JupyterLabAppSettings": { - "$ref": "#/definitions/JupyterLabAppSettings" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/KernelGatewayAppSettings" - }, - "SecurityGroups": { - "format": "AWS::EC2::SecurityGroup.Ids", - "insertionOrder": false, - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "maxItems": 5, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "SpaceStorageSettings": { - "$ref": "#/definitions/DefaultSpaceStorageSettings" - } - }, - "required": [ - "ExecutionRole" - ], - "type": "object" - }, - "DefaultSpaceStorageSettings": { - "additionalProperties": false, - "properties": { - "DefaultEbsStorageSettings": { - "$ref": "#/definitions/DefaultEbsStorageSettings" - } - }, - "type": "object" - }, - "DockerSettings": { - "additionalProperties": false, - "properties": { - "EnableDockerAccess": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "type": "string" - }, - "VpcOnlyTrustedAccounts": { - "insertionOrder": false, - "items": { - "maxLength": 12, - "minLength": 12, - "pattern": "^\\d+$", - "type": "string" - }, - "maxItems": 20, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "DomainSettings": { - "additionalProperties": false, - "properties": { - "DockerSettings": { - "$ref": "#/definitions/DockerSettings" - }, - "RStudioServerProDomainSettings": { - "$ref": "#/definitions/RStudioServerProDomainSettings" - }, - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "insertionOrder": false, - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "maxItems": 3, - "minItems": 1, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "EFSFileSystemConfig": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "maxLength": 21, - "minLength": 11, - "pattern": "^(fs-[0-9a-f]{8,})$", - "type": "string" - }, - "FileSystemPath": { - "maxLength": 256, - "minLength": 1, - "pattern": "^\\/\\S*$", - "type": "string" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "JupyterLabAppSettings": { - "additionalProperties": false, - "properties": { - "CodeRepositories": { - "items": { - "$ref": "#/definitions/CodeRepository" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 200, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 200, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "MlTools": { - "enum": [ - "DataWrangler", - "FeatureStore", - "EmrClusters", - "AutoMl", - "Experiments", - "Training", - "ModelEvaluation", - "Pipelines", - "Models", - "JumpStart", - "InferenceRecommender", - "Endpoints", - "Projects", - "InferenceOptimization" - ], - "type": "string" - }, - "RSessionAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 200, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - } - }, - "type": "object" - }, - "RStudioServerProAppSettings": { - "additionalProperties": false, - "properties": { - "AccessStatus": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "type": "string" - }, - "UserGroup": { - "enum": [ - "R_STUDIO_ADMIN", - "R_STUDIO_USER" - ], - "type": "string" - } - }, - "type": "object" - }, - "RStudioServerProDomainSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "DomainExecutionRoleArn": { - "maxLength": 2048, - "minLength": 20, - "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "RStudioConnectUrl": { - "pattern": "^(https:|http:|www\\.)\\S*", - "type": "string" - }, - "RStudioPackageManagerUrl": { - "pattern": "^(https:|http:|www\\.)\\S*", - "type": "string" - } - }, - "required": [ - "DomainExecutionRoleArn" - ], - "type": "object" - }, - "ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "enum": [ - "system", - "ml.t3.micro", - "ml.t3.small", - "ml.t3.medium", - "ml.t3.large", - "ml.t3.xlarge", - "ml.t3.2xlarge", - "ml.m5.large", - "ml.m5.xlarge", - "ml.m5.2xlarge", - "ml.m5.4xlarge", - "ml.m5.8xlarge", - "ml.m5.12xlarge", - "ml.m5.16xlarge", - "ml.m5.24xlarge", - "ml.c5.large", - "ml.c5.xlarge", - "ml.c5.2xlarge", - "ml.c5.4xlarge", - "ml.c5.9xlarge", - "ml.c5.12xlarge", - "ml.c5.18xlarge", - "ml.c5.24xlarge", - "ml.p3.2xlarge", - "ml.p3.8xlarge", - "ml.p3.16xlarge", - "ml.g4dn.xlarge", - "ml.g4dn.2xlarge", - "ml.g4dn.4xlarge", - "ml.g4dn.8xlarge", - "ml.g4dn.12xlarge", - "ml.g4dn.16xlarge", - "ml.r5.large", - "ml.r5.xlarge", - "ml.r5.2xlarge", - "ml.r5.4xlarge", - "ml.r5.8xlarge", - "ml.r5.12xlarge", - "ml.r5.16xlarge", - "ml.r5.24xlarge", - "ml.p3dn.24xlarge", - "ml.m5d.large", - "ml.m5d.xlarge", - "ml.m5d.2xlarge", - "ml.m5d.4xlarge", - "ml.m5d.8xlarge", - "ml.m5d.12xlarge", - "ml.m5d.16xlarge", - "ml.m5d.24xlarge", - "ml.g5.xlarge", - "ml.g5.2xlarge", - "ml.g5.4xlarge", - "ml.g5.8xlarge", - "ml.g5.12xlarge", - "ml.g5.16xlarge", - "ml.g5.24xlarge", - "ml.g5.48xlarge", - "ml.p4d.24xlarge", - "ml.p4de.24xlarge", - "ml.geospatial.interactive", - "ml.trn1.2xlarge", - "ml.trn1.32xlarge", - "ml.trn1n.32xlarge" - ], - "type": "string" - }, - "LifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "SageMakerImageArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$", - "type": "string" - }, - "SageMakerImageVersionArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$", - "type": "string" - } - }, - "type": "object" - }, - "SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "enum": [ - "Allowed", - "Disabled" - ], - "type": "string" - }, - "S3KmsKeyId": { - "maxLength": 2048, - "pattern": ".*", - "type": "string" - }, - "S3OutputPath": { - "maxLength": 1024, - "pattern": "^(https|s3)://([^/]+)/?(.*)$", - "type": "string" - } - }, - "type": "object" - }, - "SpaceEbsVolumeSizeInGb": { - "maximum": 16384, - "minimum": 5, - "type": "integer" - }, - "StudioLifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "StudioWebPortalSettings": { - "additionalProperties": false, - "properties": { - "HiddenAppTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AppType" - }, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "HiddenMlTools": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/MlTools" - }, - "minItems": 0, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 128, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UserSettings": { - "additionalProperties": false, - "properties": { - "CodeEditorAppSettings": { - "$ref": "#/definitions/CodeEditorAppSettings" - }, - "CustomFileSystemConfigs": { - "items": { - "$ref": "#/definitions/CustomFileSystemConfig" - }, - "maxItems": 2, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "CustomPosixUserConfig": { - "$ref": "#/definitions/CustomPosixUserConfig" - }, - "DefaultLandingUri": { - "maxLength": 1023, - "type": "string" - }, - "ExecutionRole": { - "maxLength": 2048, - "minLength": 20, - "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "JupyterLabAppSettings": { - "$ref": "#/definitions/JupyterLabAppSettings" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/KernelGatewayAppSettings" - }, - "RSessionAppSettings": { - "$ref": "#/definitions/RSessionAppSettings" - }, - "RStudioServerProAppSettings": { - "$ref": "#/definitions/RStudioServerProAppSettings" - }, - "SecurityGroups": { - "format": "AWS::EC2::SecurityGroup.Ids", - "insertionOrder": false, - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "maxItems": 5, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "SharingSettings": { - "$ref": "#/definitions/SharingSettings" - }, - "SpaceStorageSettings": { - "$ref": "#/definitions/DefaultSpaceStorageSettings" - }, - "StudioWebPortal": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "type": "string" - }, - "StudioWebPortalSettings": { - "$ref": "#/definitions/StudioWebPortalSettings" - } - }, - "required": [ - "ExecutionRole" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/DomainId" - ], - "properties": { - "AppNetworkAccessType": { - "enum": [ - "PublicInternetOnly", - "VpcOnly" - ], - "type": "string" - }, - "AppSecurityGroupManagement": { - "enum": [ - "Service", - "Customer" - ], - "type": "string" - }, - "AuthMode": { - "enum": [ - "SSO", - "IAM" - ], - "type": "string" - }, - "DefaultSpaceSettings": { - "$ref": "#/definitions/DefaultSpaceSettings" - }, - "DefaultUserSettings": { - "$ref": "#/definitions/UserSettings" - }, - "DomainArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:domain/.*", - "type": "string" - }, - "DomainId": { - "maxLength": 63, - "pattern": "^d-(-*[a-z0-9])+", - "type": "string" - }, - "DomainName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - }, - "DomainSettings": { - "$ref": "#/definitions/DomainSettings" - }, - "HomeEfsFileSystemId": { - "maxLength": 32, - "type": "string" - }, - "KmsKeyId": { - "maxLength": 2048, - "pattern": ".*", - "type": "string" - }, - "SecurityGroupIdForDomainBoundary": { - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "SingleSignOnApplicationArn": { - "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::[0-9]+:application/[a-zA-Z0-9-_.]+/apl-[a-zA-Z0-9]+$", - "type": "string" - }, - "SingleSignOnManagedApplicationInstanceId": { - "maxLength": 256, - "type": "string" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "maxItems": 16, - "minItems": 1, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "Url": { - "maxLength": 1024, - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/DomainArn", - "/properties/Url", - "/properties/DomainId", - "/properties/HomeEfsFileSystemId", - "/properties/SecurityGroupIdForDomainBoundary", - "/properties/SingleSignOnManagedApplicationInstanceId", - "/properties/SingleSignOnApplicationArn" - ], - "required": [ - "AuthMode", - "DefaultUserSettings", - "DomainName", - "SubnetIds", - "VpcId" - ], - "typeName": "AWS::SageMaker::Domain", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-userprofile.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-userprofile.json deleted file mode 100644 index 1d47c8ddac..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-sagemaker-userprofile.json +++ /dev/null @@ -1,580 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/DomainId", - "/properties/UserProfileName", - "/properties/SingleSignOnUserIdentifier", - "/properties/SingleSignOnUserValue", - "/properties/UserSettings/RStudioServerProAppSettings/AccessStatus", - "/properties/UserSettings/RStudioServerProAppSettings/UserGroup", - "/properties/Tags" - ], - "definitions": { - "AppType": { - "enum": [ - "JupyterServer", - "TensorBoard", - "RStudioServerPro", - "JupyterLab", - "CodeEditor", - "DetailedProfiler", - "Canvas" - ], - "type": "string" - }, - "CodeEditorAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "CodeRepository": { - "additionalProperties": false, - "properties": { - "RepositoryUrl": { - "maxLength": 256, - "pattern": "^https://([.\\-_a-zA-Z0-9]+/?){3,1016}$", - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "CustomFileSystemConfig": { - "additionalProperties": false, - "properties": { - "EFSFileSystemConfig": { - "$ref": "#/definitions/EFSFileSystemConfig" - } - }, - "type": "object" - }, - "CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}", - "type": "string" - }, - "ImageName": { - "maxLength": 63, - "pattern": "^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$", - "type": "string" - }, - "ImageVersionNumber": { - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "CustomPosixUserConfig": { - "additionalProperties": false, - "properties": { - "Gid": { - "maximum": 4000000, - "minimum": 1001, - "type": "integer" - }, - "Uid": { - "maximum": 4000000, - "minimum": 10000, - "type": "integer" - } - }, - "required": [ - "Uid", - "Gid" - ], - "type": "object" - }, - "DefaultEbsStorageSettings": { - "additionalProperties": false, - "properties": { - "DefaultEbsVolumeSizeInGb": { - "$ref": "#/definitions/SpaceEbsVolumeSizeInGb" - }, - "MaximumEbsVolumeSizeInGb": { - "$ref": "#/definitions/SpaceEbsVolumeSizeInGb" - } - }, - "required": [ - "DefaultEbsVolumeSizeInGb", - "MaximumEbsVolumeSizeInGb" - ], - "type": "object" - }, - "DefaultSpaceStorageSettings": { - "additionalProperties": false, - "properties": { - "DefaultEbsStorageSettings": { - "$ref": "#/definitions/DefaultEbsStorageSettings" - } - }, - "type": "object" - }, - "EFSFileSystemConfig": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "maxLength": 21, - "minLength": 11, - "pattern": "^(fs-[0-9a-f]{8,})$", - "type": "string" - }, - "FileSystemPath": { - "maxLength": 256, - "minLength": 1, - "pattern": "^\\/\\S*$", - "type": "string" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "JupyterLabAppSettings": { - "additionalProperties": false, - "properties": { - "CodeRepositories": { - "items": { - "$ref": "#/definitions/CodeRepository" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/CustomImage" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/ResourceSpec" - }, - "LifecycleConfigArns": { - "items": { - "$ref": "#/definitions/StudioLifecycleConfigArn" - }, - "maxItems": 30, - "minItems": 0, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "MlTools": { - "enum": [ - "DataWrangler", - "FeatureStore", - "EmrClusters", - "AutoMl", - "Experiments", - "Training", - "ModelEvaluation", - "Pipelines", - "Models", - "JumpStart", - "InferenceRecommender", - "Endpoints", - "Projects", - "InferenceOptimization" - ], - "type": "string" - }, - "RStudioServerProAppSettings": { - "additionalProperties": false, - "properties": { - "AccessStatus": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "type": "string" - }, - "UserGroup": { - "enum": [ - "R_STUDIO_ADMIN", - "R_STUDIO_USER" - ], - "type": "string" - } - }, - "type": "object" - }, - "ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "enum": [ - "system", - "ml.t3.micro", - "ml.t3.small", - "ml.t3.medium", - "ml.t3.large", - "ml.t3.xlarge", - "ml.t3.2xlarge", - "ml.m5.large", - "ml.m5.xlarge", - "ml.m5.2xlarge", - "ml.m5.4xlarge", - "ml.m5.8xlarge", - "ml.m5.12xlarge", - "ml.m5.16xlarge", - "ml.m5.24xlarge", - "ml.c5.large", - "ml.c5.xlarge", - "ml.c5.2xlarge", - "ml.c5.4xlarge", - "ml.c5.9xlarge", - "ml.c5.12xlarge", - "ml.c5.18xlarge", - "ml.c5.24xlarge", - "ml.p3.2xlarge", - "ml.p3.8xlarge", - "ml.p3.16xlarge", - "ml.g4dn.xlarge", - "ml.g4dn.2xlarge", - "ml.g4dn.4xlarge", - "ml.g4dn.8xlarge", - "ml.g4dn.12xlarge", - "ml.g4dn.16xlarge", - "ml.r5.large", - "ml.r5.xlarge", - "ml.r5.2xlarge", - "ml.r5.4xlarge", - "ml.r5.8xlarge", - "ml.r5.12xlarge", - "ml.r5.16xlarge", - "ml.r5.24xlarge", - "ml.p3dn.24xlarge", - "ml.m5d.large", - "ml.m5d.xlarge", - "ml.m5d.2xlarge", - "ml.m5d.4xlarge", - "ml.m5d.8xlarge", - "ml.m5d.12xlarge", - "ml.m5d.16xlarge", - "ml.m5d.24xlarge", - "ml.g5.xlarge", - "ml.g5.2xlarge", - "ml.g5.4xlarge", - "ml.g5.8xlarge", - "ml.g5.12xlarge", - "ml.g5.16xlarge", - "ml.g5.24xlarge", - "ml.g5.48xlarge", - "ml.p4d.24xlarge", - "ml.p4de.24xlarge", - "ml.geospatial.interactive", - "ml.trn1.2xlarge", - "ml.trn1.32xlarge", - "ml.trn1n.32xlarge" - ], - "type": "string" - }, - "LifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "SageMakerImageArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$", - "type": "string" - }, - "SageMakerImageVersionArn": { - "maxLength": 256, - "pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$", - "type": "string" - } - }, - "type": "object" - }, - "SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "enum": [ - "Allowed", - "Disabled" - ], - "type": "string" - }, - "S3KmsKeyId": { - "maxLength": 2048, - "pattern": ".*", - "type": "string" - }, - "S3OutputPath": { - "maxLength": 1024, - "pattern": "^(https|s3)://([^/]+)/?(.*)$", - "type": "string" - } - }, - "type": "object" - }, - "SpaceEbsVolumeSizeInGb": { - "maximum": 16384, - "minimum": 5, - "type": "integer" - }, - "StudioLifecycleConfigArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*", - "type": "string" - }, - "StudioWebPortalSettings": { - "additionalProperties": false, - "properties": { - "HiddenAppTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/AppType" - }, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "HiddenMlTools": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/MlTools" - }, - "minItems": 0, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 128, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UserSettings": { - "additionalProperties": false, - "properties": { - "CodeEditorAppSettings": { - "$ref": "#/definitions/CodeEditorAppSettings" - }, - "CustomFileSystemConfigs": { - "items": { - "$ref": "#/definitions/CustomFileSystemConfig" - }, - "maxItems": 2, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "CustomPosixUserConfig": { - "$ref": "#/definitions/CustomPosixUserConfig" - }, - "DefaultLandingUri": { - "maxLength": 1023, - "type": "string" - }, - "ExecutionRole": { - "maxLength": 2048, - "minLength": 20, - "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", - "type": "string" - }, - "JupyterLabAppSettings": { - "$ref": "#/definitions/JupyterLabAppSettings" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/KernelGatewayAppSettings" - }, - "RStudioServerProAppSettings": { - "$ref": "#/definitions/RStudioServerProAppSettings" - }, - "SecurityGroups": { - "format": "AWS::EC2::SecurityGroup.Ids", - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 32, - "pattern": "[-0-9a-zA-Z]+", - "type": "string" - }, - "maxItems": 5, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "SharingSettings": { - "$ref": "#/definitions/SharingSettings" - }, - "SpaceStorageSettings": { - "$ref": "#/definitions/DefaultSpaceStorageSettings" - }, - "StudioWebPortal": { - "enum": [ - "ENABLED", - "DISABLED" - ], - "type": "string" - }, - "StudioWebPortalSettings": { - "$ref": "#/definitions/StudioWebPortalSettings" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/UserProfileName", - "/properties/DomainId" - ], - "properties": { - "DomainId": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "SingleSignOnUserIdentifier": { - "pattern": "UserName", - "type": "string" - }, - "SingleSignOnUserValue": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": false - }, - "UserProfileArn": { - "maxLength": 256, - "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:user-profile/.*", - "type": "string" - }, - "UserProfileName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "UserSettings": { - "$ref": "#/definitions/UserSettings", - "maxItems": 50, - "minItems": 0, - "uniqueItems": false - } - }, - "readOnlyProperties": [ - "/properties/UserProfileArn" - ], - "required": [ - "DomainId", - "UserProfileName" - ], - "typeName": "AWS::SageMaker::UserProfile", - "writeOnlyProperties": [ - "/properties/Tags" - ] -} 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 9a5736165a..1abf3f7dba 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_central_1/__init__.py @@ -1488,6 +1488,7 @@ "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", "aws-cognito-logdeliveryconfiguration.json", + "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1640,7 +1641,6 @@ "aws-ec2-ipamresourcediscoveryassociation.json", "aws-ec2-ipamscope.json", "aws-ec2-keypair.json", - "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", @@ -2006,7 +2006,6 @@ "aws-lightsail-container.json", "aws-lightsail-database.json", "aws-lightsail-disk.json", - "aws-lightsail-instance.json", "aws-lightsail-loadbalancer.json", "aws-lightsail-loadbalancertlscertificate.json", "aws-lightsail-staticip.json", @@ -2213,7 +2212,6 @@ "aws-rds-dbsecuritygroup.json", "aws-rds-dbsecuritygroupingress.json", "aws-rds-eventsubscription.json", - "aws-rds-globalcluster.json", "aws-rds-integration.json", "aws-rds-optiongroup.json", "aws-redshift-cluster.json", @@ -2434,7 +2432,6 @@ "aws-transfer-certificate.json", "aws-transfer-connector.json", "aws-transfer-profile.json", - "aws-transfer-server.json", "aws-transfer-user.json", "aws-transfer-workflow.json", "aws-verifiedpermissions-identitysource.json", diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json deleted file mode 100644 index 1586c49a35..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json +++ /dev/null @@ -1,512 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AccountRecoverySetting": { - "additionalProperties": false, - "properties": { - "RecoveryMechanisms": { - "items": { - "$ref": "#/definitions/RecoveryOption" - }, - "type": "array" - } - }, - "type": "object" - }, - "AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "InviteMessageTemplate": { - "$ref": "#/definitions/InviteMessageTemplate" - }, - "UnusedAccountValidityDays": { - "type": "integer" - } - }, - "type": "object" - }, - "AdvancedSecurityAdditionalFlows": { - "additionalProperties": false, - "properties": { - "CustomAuthMode": { - "type": "string" - } - }, - "type": "object" - }, - "CustomEmailSender": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "CustomSMSSender": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "DeviceConfiguration": { - "additionalProperties": false, - "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" - } - }, - "type": "object" - }, - "EmailConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "InviteMessageTemplate": { - "additionalProperties": false, - "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { - "type": "string" - }, - "SMSMessage": { - "type": "string" - } - }, - "type": "object" - }, - "LambdaConfig": { - "additionalProperties": false, - "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { - "type": "string" - }, - "PreAuthentication": { - "type": "string" - }, - "PreSignUp": { - "type": "string" - }, - "PreTokenGeneration": { - "type": "string" - }, - "PreTokenGenerationConfig": { - "$ref": "#/definitions/PreTokenGenerationConfig" - }, - "UserMigration": { - "type": "string" - }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { - "type": "string" - }, - "MinValue": { - "type": "string" - } - }, - "type": "object" - }, - "PasswordPolicy": { - "additionalProperties": false, - "properties": { - "MinimumLength": { - "type": "integer" - }, - "PasswordHistorySize": { - "type": "integer" - }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { - "type": "integer" - } - }, - "type": "object" - }, - "Policies": { - "additionalProperties": false, - "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/PasswordPolicy" - } - }, - "type": "object" - }, - "PreTokenGenerationConfig": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { - "type": "string" - } - }, - "type": "object" - }, - "RecoveryOption": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Priority": { - "type": "integer" - } - }, - "type": "object" - }, - "SchemaAttribute": { - "additionalProperties": false, - "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/StringAttributeConstraints" - } - }, - "type": "object" - }, - "SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { - "type": "string" - }, - "SnsRegion": { - "type": "string" - } - }, - "type": "object" - }, - "StringAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" - } - }, - "type": "object" - }, - "UserAttributeUpdateSettings": { - "additionalProperties": false, - "properties": { - "AttributesRequireVerificationBeforeUpdate": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AttributesRequireVerificationBeforeUpdate" - ], - "type": "object" - }, - "UserPoolAddOns": { - "additionalProperties": false, - "properties": { - "AdvancedSecurityAdditionalFlows": { - "$ref": "#/definitions/AdvancedSecurityAdditionalFlows" - }, - "AdvancedSecurityMode": { - "type": "string" - } - }, - "type": "object" - }, - "UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "VerificationMessageTemplate": { - "additionalProperties": false, - "properties": { - "DefaultEmailOption": { - "type": "string" - }, - "EmailMessage": { - "type": "string" - }, - "EmailMessageByLink": { - "type": "string" - }, - "EmailSubject": { - "type": "string" - }, - "EmailSubjectByLink": { - "type": "string" - }, - "SmsMessage": { - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/UserPoolId" - ], - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "enum": [ - "email", - "phone_number", - "preferred_username" - ], - "type": "string" - }, - "type": "array" - }, - "Arn": { - "type": "string" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeletionProtection": { - "type": "string" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/DeviceConfiguration" - }, - "EmailAuthenticationMessage": { - "maxLength": 20000, - "minLength": 6, - "type": "string" - }, - "EmailAuthenticationSubject": { - "maxLength": 140, - "minLength": 1, - "type": "string" - }, - "EmailConfiguration": { - "$ref": "#/definitions/EmailConfiguration" - }, - "EmailVerificationMessage": { - "maxLength": 20000, - "minLength": 6, - "type": "string" - }, - "EmailVerificationSubject": { - "maxLength": 140, - "minLength": 1, - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/LambdaConfig" - }, - "MfaConfiguration": { - "enum": [ - "OFF", - "ON", - "OPTIONAL" - ], - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/Policies" - }, - "ProviderName": { - "type": "string" - }, - "ProviderURL": { - "type": "string" - }, - "Schema": { - "items": { - "$ref": "#/definitions/SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "maxLength": 140, - "minLength": 6, - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/SmsConfiguration" - }, - "SmsVerificationMessage": { - "maxLength": 140, - "minLength": 6, - "type": "string" - }, - "UserAttributeUpdateSettings": { - "$ref": "#/definitions/UserAttributeUpdateSettings" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/UserPoolAddOns" - }, - "UserPoolId": { - "type": "string" - }, - "UserPoolName": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "UserPoolTags": { - "additionalProperties": false, - "patternProperties": { - "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { - "type": "string" - } - }, - "type": "object" - }, - "UsernameAttributes": { - "items": { - "enum": [ - "email", - "phone_number" - ], - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/VerificationMessageTemplate" - } - }, - "propertyTransform": { - "/properties/Schema/*/Name": "'custom:' & '' & Name" - }, - "readOnlyProperties": [ - "/properties/ProviderName", - "/properties/UserPoolId", - "/properties/ProviderURL", - "/properties/Arn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/UserPoolTags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Cognito::UserPool", - "writeOnlyProperties": [ - "/properties/EnabledMfas" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-launchtemplate.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-launchtemplate.json new file mode 100644 index 0000000000..42c2fcb97a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-ec2-launchtemplate.json @@ -0,0 +1,1048 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/LaunchTemplateName" + ], + "definitions": { + "AcceleratorCount": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "AcceleratorTotalMemoryMiB": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "BaselineEbsBandwidthMbps": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { + "type": "string" + }, + "Ebs": { + "$ref": "#/definitions/Ebs" + }, + "NoDevice": { + "type": "string" + }, + "VirtualName": { + "pattern": "^ephemeral([0-9]|[1][0-9]|[2][0-3])$", + "type": "string" + } + }, + "requiredXor": [ + "VirtualName", + "Ebs", + "NoDevice" + ], + "type": "object" + }, + "CapacityReservationSpecification": { + "additionalProperties": false, + "properties": { + "CapacityReservationPreference": { + "type": "string" + }, + "CapacityReservationTarget": { + "$ref": "#/definitions/CapacityReservationTarget" + } + }, + "type": "object" + }, + "CapacityReservationTarget": { + "additionalProperties": false, + "properties": { + "CapacityReservationId": { + "type": "string" + }, + "CapacityReservationResourceGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "ConnectionTrackingSpecification": { + "additionalProperties": false, + "properties": { + "TcpEstablishedTimeout": { + "type": "integer" + }, + "UdpStreamTimeout": { + "type": "integer" + }, + "UdpTimeout": { + "type": "integer" + } + }, + "type": "object" + }, + "CpuOptions": { + "additionalProperties": false, + "properties": { + "AmdSevSnp": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + }, + "CoreCount": { + "type": "integer" + }, + "ThreadsPerCore": { + "type": "integer" + } + }, + "type": "object" + }, + "CreditSpecification": { + "additionalProperties": false, + "properties": { + "CpuCredits": { + "type": "string" + } + }, + "type": "object" + }, + "Ebs": { + "additionalProperties": false, + "properties": { + "DeleteOnTermination": { + "type": "boolean" + }, + "Encrypted": { + "type": "boolean" + }, + "Iops": { + "type": "integer" + }, + "KmsKeyId": { + "type": "string" + }, + "SnapshotId": { + "type": "string" + }, + "Throughput": { + "type": "integer" + }, + "VolumeSize": { + "type": "integer" + }, + "VolumeType": { + "enum": [ + "gp2", + "gp3", + "io1", + "io2", + "sc1", + "st1", + "standard" + ], + "type": "string" + } + }, + "type": "object" + }, + "ElasticGpuSpecification": { + "additionalProperties": false, + "properties": { + "Type": { + "type": "string" + } + }, + "type": "object" + }, + "EnaSrdSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/EnaSrdUdpSpecification" + } + }, + "type": "object" + }, + "EnaSrdUdpSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdUdpEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "EnclaveOptions": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "HibernationOptions": { + "additionalProperties": false, + "properties": { + "Configured": { + "type": "boolean" + } + }, + "type": "object" + }, + "IamInstanceProfile": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "Name": { + "type": "string" + } + }, + "type": "object" + }, + "InstanceMarketOptions": { + "additionalProperties": false, + "properties": { + "MarketType": { + "enum": [ + "capacity-block", + "spot" + ], + "type": "string" + }, + "SpotOptions": { + "$ref": "#/definitions/SpotOptions" + } + }, + "type": "object" + }, + "InstanceRequirements": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AcceleratorCount" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AcceleratorTotalMemoryMiB" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/BaselineEbsBandwidthMbps" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "integer" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/MemoryGiBPerVCpu" + }, + "MemoryMiB": { + "$ref": "#/definitions/MemoryMiB" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/NetworkBandwidthGbps" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/NetworkInterfaceCount" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "integer" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "integer" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/TotalLocalStorageGB" + }, + "VCpuCount": { + "$ref": "#/definitions/VCpuCount" + } + }, + "type": "object" + }, + "Ipv4PrefixSpecification": { + "additionalProperties": false, + "properties": { + "Ipv4Prefix": { + "type": "string" + } + }, + "type": "object" + }, + "Ipv6Add": { + "additionalProperties": false, + "properties": { + "Ipv6Address": { + "type": "string" + } + }, + "type": "object" + }, + "Ipv6PrefixSpecification": { + "additionalProperties": false, + "properties": { + "Ipv6Prefix": { + "type": "string" + } + }, + "type": "object" + }, + "LaunchTemplateData": { + "additionalProperties": false, + "properties": { + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/BlockDeviceMapping" + }, + "type": "array", + "uniqueItems": false + }, + "CapacityReservationSpecification": { + "$ref": "#/definitions/CapacityReservationSpecification" + }, + "CpuOptions": { + "$ref": "#/definitions/CpuOptions" + }, + "CreditSpecification": { + "$ref": "#/definitions/CreditSpecification" + }, + "DisableApiStop": { + "type": "boolean" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/ElasticGpuSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/LaunchTemplateElasticInferenceAccelerator" + }, + "type": "array", + "uniqueItems": false + }, + "EnclaveOptions": { + "$ref": "#/definitions/EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/HibernationOptions" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/IamInstanceProfile" + }, + "ImageId": { + "format": "AWS::EC2::Image.Id", + "type": "string" + }, + "InstanceInitiatedShutdownBehavior": { + "enum": [ + "stop", + "terminate" + ], + "type": "string" + }, + "InstanceMarketOptions": { + "$ref": "#/definitions/InstanceMarketOptions" + }, + "InstanceRequirements": { + "$ref": "#/definitions/InstanceRequirements" + }, + "InstanceType": { + "type": "string" + }, + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LicenseSpecifications": { + "items": { + "$ref": "#/definitions/LicenseSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "MaintenanceOptions": { + "$ref": "#/definitions/MaintenanceOptions" + }, + "MetadataOptions": { + "$ref": "#/definitions/MetadataOptions" + }, + "Monitoring": { + "$ref": "#/definitions/Monitoring" + }, + "NetworkInterfaces": { + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "type": "array", + "uniqueItems": false + }, + "NetworkPerformanceOptions": { + "$ref": "#/definitions/NetworkPerformanceOptions" + }, + "Placement": { + "$ref": "#/definitions/Placement" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/PrivateDnsNameOptions" + }, + "RamDiskId": { + "type": "string" + }, + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "SecurityGroups": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/TagSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "UserData": { + "type": "string" + } + }, + "type": "object" + }, + "LaunchTemplateElasticInferenceAccelerator": { + "additionalProperties": false, + "properties": { + "Count": { + "type": "integer" + }, + "Type": { + "type": "string" + } + }, + "type": "object" + }, + "LaunchTemplateTagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + } + }, + "type": "object" + }, + "LicenseSpecification": { + "additionalProperties": false, + "properties": { + "LicenseConfigurationArn": { + "type": "string" + } + }, + "type": "object" + }, + "MaintenanceOptions": { + "additionalProperties": false, + "properties": { + "AutoRecovery": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryGiBPerVCpu": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "MemoryMiB": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "MetadataOptions": { + "additionalProperties": false, + "properties": { + "HttpEndpoint": { + "type": "string" + }, + "HttpProtocolIpv6": { + "type": "string" + }, + "HttpPutResponseHopLimit": { + "type": "integer" + }, + "HttpTokens": { + "type": "string" + }, + "InstanceMetadataTags": { + "type": "string" + } + }, + "type": "object" + }, + "Monitoring": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "NetworkBandwidthGbps": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "NetworkInterface": { + "additionalProperties": false, + "dependentExcluded": { + "AssociateCarrierIpAddress": [ + "NetworkInterfaceId" + ], + "AssociatePublicIpAddress": [ + "NetworkInterfaceId" + ], + "NetworkInterfaceId": [ + "AssociateCarrierIpAddress", + "AssociatePublicIpAddress" + ] + }, + "properties": { + "AssociateCarrierIpAddress": { + "type": "boolean" + }, + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/ConnectionTrackingSpecification" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "integer" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/EnaSrdSpecification" + }, + "Groups": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "InterfaceType": { + "type": "string" + }, + "Ipv4PrefixCount": { + "type": "integer" + }, + "Ipv4Prefixes": { + "items": { + "$ref": "#/definitions/Ipv4PrefixSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "Ipv6AddressCount": { + "type": "integer" + }, + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/Ipv6Add" + }, + "type": "array", + "uniqueItems": false + }, + "Ipv6PrefixCount": { + "type": "integer" + }, + "Ipv6Prefixes": { + "items": { + "$ref": "#/definitions/Ipv6PrefixSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "NetworkCardIndex": { + "type": "integer" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PrimaryIpv6": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/PrivateIpAdd" + }, + "type": "array", + "uniqueItems": false + }, + "SecondaryPrivateIpAddressCount": { + "type": "integer" + }, + "SubnetId": { + "type": "string" + } + }, + "type": "object" + }, + "NetworkInterfaceCount": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + }, + "Placement": { + "additionalProperties": false, + "properties": { + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "GroupId": { + "type": "string" + }, + "GroupName": { + "type": "string" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "integer" + }, + "SpreadDomain": { + "type": "string" + }, + "Tenancy": { + "enum": [ + "dedicated", + "default", + "host" + ], + "type": "string" + } + }, + "type": "object" + }, + "PrivateDnsNameOptions": { + "additionalProperties": false, + "properties": { + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" + }, + "EnableResourceNameDnsARecord": { + "type": "boolean" + }, + "HostnameType": { + "type": "string" + } + }, + "type": "object" + }, + "PrivateIpAdd": { + "additionalProperties": false, + "properties": { + "Primary": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + } + }, + "type": "object" + }, + "SpotOptions": { + "additionalProperties": false, + "properties": { + "BlockDurationMinutes": { + "type": "integer" + }, + "InstanceInterruptionBehavior": { + "enum": [ + "hibernate", + "stop", + "terminate" + ], + "type": "string" + }, + "MaxPrice": { + "type": "string" + }, + "SpotInstanceType": { + "enum": [ + "one-time", + "persistent" + ], + "type": "string" + }, + "ValidUntil": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "enum": [ + "capacity-reservation", + "capacity-reservation-fleet", + "carrier-gateway", + "client-vpn-endpoint", + "coip-pool", + "customer-gateway", + "dedicated-host", + "dhcp-options", + "egress-only-internet-gateway", + "elastic-gpu", + "elastic-ip", + "export-image-task", + "export-instance-task", + "fleet", + "fpga-image", + "host-reservation", + "image", + "import-image-task", + "import-snapshot-task", + "instance", + "instance-connect-endpoint", + "instance-event-window", + "internet-gateway", + "ipam", + "ipam-external-resource-verification-token", + "ipam-pool", + "ipam-resource-discovery", + "ipam-resource-discovery-association", + "ipam-scope", + "ipv4pool-ec2", + "ipv6pool-ec2", + "key-pair", + "launch-template", + "local-gateway", + "local-gateway-route-table", + "local-gateway-route-table-virtual-interface-group-association", + "local-gateway-route-table-vpc-association", + "local-gateway-virtual-interface", + "local-gateway-virtual-interface-group", + "natgateway", + "network-acl", + "network-insights-access-scope", + "network-insights-access-scope-analysis", + "network-insights-analysis", + "network-insights-path", + "network-interface", + "placement-group", + "prefix-list", + "replace-root-volume-task", + "reserved-instances", + "route-table", + "security-group", + "security-group-rule", + "snapshot", + "spot-fleet-request", + "spot-instances-request", + "subnet", + "subnet-cidr-reservation", + "traffic-mirror-filter", + "traffic-mirror-filter-rule", + "traffic-mirror-session", + "traffic-mirror-target", + "transit-gateway", + "transit-gateway-attachment", + "transit-gateway-connect-peer", + "transit-gateway-multicast-domain", + "transit-gateway-policy-table", + "transit-gateway-route-table", + "transit-gateway-route-table-announcement", + "verified-access-endpoint", + "verified-access-group", + "verified-access-instance", + "verified-access-policy", + "verified-access-trust-provider", + "volume", + "vpc", + "vpc-block-public-access-exclusion", + "vpc-endpoint", + "vpc-endpoint-connection", + "vpc-endpoint-connection-device-type", + "vpc-endpoint-service", + "vpc-endpoint-service-permission", + "vpc-flow-log", + "vpc-peering-connection", + "vpn-connection", + "vpn-connection-device-type", + "vpn-gateway" + ], + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + } + }, + "type": "object" + }, + "TotalLocalStorageGB": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "VCpuCount": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "integer" + }, + "Min": { + "type": "integer" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/LaunchTemplateId" + ], + "properties": { + "DefaultVersionNumber": { + "type": "string" + }, + "LatestVersionNumber": { + "type": "string" + }, + "LaunchTemplateData": { + "$ref": "#/definitions/LaunchTemplateData" + }, + "LaunchTemplateId": { + "type": "string" + }, + "LaunchTemplateName": { + "type": "string" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/LaunchTemplateTagSpecification" + }, + "type": "array", + "uniqueItems": false + }, + "VersionDescription": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/DefaultVersionNumber", + "/properties/LaunchTemplateId", + "/properties/LatestVersionNumber" + ], + "required": [ + "LaunchTemplateData" + ], + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::EC2::LaunchTemplate", + "writeOnlyProperties": [ + "/properties/LaunchTemplateData", + "/properties/VersionDescription", + "/properties/TagSpecifications" + ] +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-lightsail-instance.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-lightsail-instance.json new file mode 100644 index 0000000000..0596a67d6d --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-lightsail-instance.json @@ -0,0 +1,358 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/InstanceName", + "/properties/BlueprintId", + "/properties/BundleId", + "/properties/AvailabilityZone" + ], + "definitions": { + "AddOn": { + "additionalProperties": false, + "properties": { + "AddOnType": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "AutoSnapshotAddOnRequest": { + "$ref": "#/definitions/AutoSnapshotAddOn" + }, + "Status": { + "enum": [ + "Enabling", + "Disabling", + "Enabled", + "Terminating", + "Terminated", + "Disabled", + "Failed" + ], + "type": "string" + } + }, + "required": [ + "AddOnType" + ], + "type": "object" + }, + "AutoSnapshotAddOn": { + "additionalProperties": false, + "properties": { + "SnapshotTimeOfDay": { + "pattern": "^[0-9]{2}:00$", + "type": "string" + } + }, + "type": "object" + }, + "Disk": { + "additionalProperties": false, + "properties": { + "AttachedTo": { + "type": "string" + }, + "AttachmentState": { + "type": "string" + }, + "DiskName": { + "maxLength": 254, + "minLength": 1, + "pattern": "^[a-zA-Z0-9][\\w\\-.]*[a-zA-Z0-9]$", + "type": "string" + }, + "IOPS": { + "type": "integer" + }, + "IsSystemDisk": { + "type": "boolean" + }, + "Path": { + "type": "string" + }, + "SizeInGb": { + "type": "string" + } + }, + "required": [ + "DiskName", + "Path" + ], + "type": "object" + }, + "Hardware": { + "additionalProperties": false, + "properties": { + "CpuCount": { + "type": "integer" + }, + "Disks": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Disk" + }, + "type": "array", + "uniqueItems": true + }, + "RamSizeInGb": { + "type": "integer" + } + }, + "type": "object" + }, + "Location": { + "additionalProperties": false, + "properties": { + "AvailabilityZone": { + "type": "string" + }, + "RegionName": { + "type": "string" + } + }, + "type": "object" + }, + "MonthlyTransfer": { + "additionalProperties": false, + "properties": { + "GbPerMonthAllocated": { + "type": "string" + } + }, + "type": "object" + }, + "Networking": { + "additionalProperties": false, + "properties": { + "MonthlyTransfer": { + "$ref": "#/definitions/MonthlyTransfer" + }, + "Ports": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Port" + }, + "type": "array", + "uniqueItems": true + } + }, + "required": [ + "Ports" + ], + "type": "object" + }, + "Port": { + "additionalProperties": false, + "properties": { + "AccessDirection": { + "type": "string" + }, + "AccessFrom": { + "type": "string" + }, + "AccessType": { + "type": "string" + }, + "CidrListAliases": { + "$ref": "#/definitions/cidrListAliases" + }, + "Cidrs": { + "$ref": "#/definitions/cidrs" + }, + "CommonName": { + "type": "string" + }, + "FromPort": { + "type": "integer" + }, + "Ipv6Cidrs": { + "$ref": "#/definitions/ipv6Cidrs" + }, + "Protocol": { + "type": "string" + }, + "ToPort": { + "type": "integer" + } + }, + "type": "object" + }, + "State": { + "additionalProperties": false, + "properties": { + "Code": { + "type": "integer" + }, + "Name": { + "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" + }, + "cidrListAliases": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array" + }, + "cidrs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array" + }, + "ipv6Cidrs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array" + } + }, + "primaryIdentifier": [ + "/properties/InstanceName" + ], + "properties": { + "AddOns": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/AddOn" + }, + "type": "array" + }, + "AvailabilityZone": { + "maxLength": 255, + "minLength": 1, + "type": "string" + }, + "BlueprintId": { + "maxLength": 255, + "minLength": 1, + "type": "string" + }, + "BundleId": { + "maxLength": 255, + "minLength": 1, + "type": "string" + }, + "Hardware": { + "$ref": "#/definitions/Hardware" + }, + "InstanceArn": { + "type": "string" + }, + "InstanceName": { + "maxLength": 254, + "minLength": 1, + "pattern": "^[a-zA-Z0-9][\\w\\-.]*[a-zA-Z0-9]$", + "type": "string" + }, + "Ipv6Addresses": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array" + }, + "IsStaticIp": { + "type": "boolean" + }, + "KeyPairName": { + "type": "string" + }, + "Location": { + "$ref": "#/definitions/Location" + }, + "Networking": { + "$ref": "#/definitions/Networking" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PublicIpAddress": { + "type": "string" + }, + "ResourceType": { + "type": "string" + }, + "SshKeyName": { + "type": "string" + }, + "State": { + "$ref": "#/definitions/State" + }, + "SupportCode": { + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "UserData": { + "type": "string" + }, + "UserName": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/InstanceArn", + "/properties/SshKeyName", + "/properties/SupportCode", + "/properties/ResourceType", + "/properties/IsStaticIp", + "/properties/PrivateIpAddress", + "/properties/PublicIpAddress", + "/properties/Ipv6Addresses", + "/properties/Location/AvailabilityZone", + "/properties/Location/RegionName", + "/properties/Hardware/CpuCount", + "/properties/Hardware/RamSizeInGb", + "/properties/State/Code", + "/properties/State/Name", + "/properties/UserName", + "/properties/Networking/MonthlyTransfer/GbPerMonthAllocated" + ], + "required": [ + "InstanceName", + "BlueprintId", + "BundleId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lightsail.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Lightsail::Instance", + "writeOnlyProperties": [ + "/properties/UserData" + ] +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-rds-globalcluster.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-rds-globalcluster.json new file mode 100644 index 0000000000..c7d134d12e --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-rds-globalcluster.json @@ -0,0 +1,98 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/GlobalClusterIdentifier", + "/properties/SourceDBClusterIdentifier", + "/properties/StorageEncrypted", + "/properties/Engine" + ], + "definitions": { + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key" + ], + "type": "object" + } + }, + "oneOf": [ + { + "required": [ + "SourceDBClusterIdentifier" + ] + }, + { + "required": [ + "Engine" + ] + } + ], + "primaryIdentifier": [ + "/properties/GlobalClusterIdentifier" + ], + "properties": { + "DeletionProtection": { + "type": "boolean" + }, + "Engine": { + "enum": [ + "aurora", + "aurora-mysql", + "aurora-postgresql" + ], + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$", + "type": "string" + }, + "SourceDBClusterIdentifier": { + "oneOf": [ + { + "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$" + }, + { + "pattern": "^(?=.{40,128}$)arn.*" + } + ], + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "type": "array", + "uniqueItems": true + } + }, + "propertyTransform": { + "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" + }, + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", + "typeName": "AWS::RDS::GlobalCluster" +} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-transfer-server.json b/src/cfnlint/data/schemas/providers/eu_central_1/aws-transfer-server.json new file mode 100644 index 0000000000..3b8fa175cf --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_central_1/aws-transfer-server.json @@ -0,0 +1,388 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/ServerId" + ] + ], + "additionalProperties": false, + "conditionalCreateOnlyProperties": [ + "/properties/EndpointDetails", + "/properties/EndpointDetails/AddressAllocationIds" + ], + "createOnlyProperties": [ + "/properties/Domain", + "/properties/IdentityProviderType" + ], + "definitions": { + "As2Transport": { + "enum": [ + "HTTP" + ], + "type": "string" + }, + "DirectoryListingOptimization": { + "enum": [ + "ENABLED", + "DISABLED" + ], + "type": "string" + }, + "Domain": { + "enum": [ + "S3", + "EFS" + ], + "type": "string" + }, + "EndpointDetails": { + "additionalProperties": false, + "properties": { + "AddressAllocationIds": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "insertionOrder": false, + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "maxLength": 20, + "minLength": 11, + "pattern": "^sg-[0-9a-f]{8,17}$", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "insertionOrder": true, + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcEndpointId": { + "maxLength": 22, + "minLength": 22, + "pattern": "^vpce-[0-9a-f]{17}$", + "type": "string" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "type": "object" + }, + "EndpointType": { + "enum": [ + "PUBLIC", + "VPC", + "VPC_ENDPOINT" + ], + "type": "string" + }, + "IdentityProviderDetails": { + "additionalProperties": false, + "properties": { + "DirectoryId": { + "maxLength": 12, + "minLength": 12, + "pattern": "^d-[0-9a-f]{10}$", + "type": "string" + }, + "Function": { + "maxLength": 170, + "minLength": 1, + "pattern": "^arn:[a-z-]+:lambda:.*$", + "type": "string" + }, + "InvocationRole": { + "maxLength": 2048, + "minLength": 20, + "pattern": "^arn:.*role/\\S+$", + "type": "string" + }, + "SftpAuthenticationMethods": { + "$ref": "#/definitions/SftpAuthenticationMethods" + }, + "Url": { + "maxLength": 255, + "minLength": 0, + "type": "string" + } + }, + "type": "object" + }, + "IdentityProviderType": { + "enum": [ + "SERVICE_MANAGED", + "API_GATEWAY", + "AWS_DIRECTORY_SERVICE", + "AWS_LAMBDA" + ], + "type": "string" + }, + "Protocol": { + "enum": [ + "SFTP", + "FTP", + "FTPS", + "AS2" + ], + "type": "string" + }, + "ProtocolDetails": { + "additionalProperties": false, + "properties": { + "As2Transports": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/As2Transport" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" + }, + "PassiveIp": { + "maxLength": 15, + "minLength": 0, + "type": "string" + }, + "SetStatOption": { + "$ref": "#/definitions/SetStatOption" + }, + "TlsSessionResumptionMode": { + "$ref": "#/definitions/TlsSessionResumptionMode" + } + }, + "type": "object" + }, + "S3StorageOptions": { + "additionalProperties": false, + "properties": { + "DirectoryListingOptimization": { + "$ref": "#/definitions/DirectoryListingOptimization" + } + }, + "type": "object" + }, + "SetStatOption": { + "enum": [ + "DEFAULT", + "ENABLE_NO_OP" + ], + "type": "string" + }, + "SftpAuthenticationMethods": { + "enum": [ + "PASSWORD", + "PUBLIC_KEY", + "PUBLIC_KEY_OR_PASSWORD", + "PUBLIC_KEY_AND_PASSWORD" + ], + "type": "string" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 0, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "TlsSessionResumptionMode": { + "enum": [ + "DISABLED", + "ENABLED", + "ENFORCED" + ], + "type": "string" + }, + "WorkflowDetail": { + "additionalProperties": false, + "properties": { + "ExecutionRole": { + "maxLength": 2048, + "minLength": 20, + "pattern": "^arn:.*role/\\S+$", + "type": "string" + }, + "WorkflowId": { + "maxLength": 19, + "minLength": 19, + "pattern": "^w-([a-z0-9]{17})$", + "type": "string" + } + }, + "required": [ + "ExecutionRole", + "WorkflowId" + ], + "type": "object" + }, + "WorkflowDetails": { + "additionalProperties": false, + "properties": { + "OnPartialUpload": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/WorkflowDetail" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "OnUpload": { + "insertionOrder": true, + "items": { + "$ref": "#/definitions/WorkflowDetail" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + } + }, + "type": "object" + } + }, + "primaryIdentifier": [ + "/properties/Arn" + ], + "properties": { + "Arn": { + "maxLength": 1600, + "minLength": 20, + "pattern": "^arn:\\S+$", + "type": "string" + }, + "As2ServiceManagedEgressIpAddresses": { + "insertionOrder": false, + "items": { + "pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$", + "type": "string" + }, + "type": "array" + }, + "Certificate": { + "maxLength": 1600, + "minLength": 0, + "type": "string" + }, + "Domain": { + "$ref": "#/definitions/Domain" + }, + "EndpointDetails": { + "$ref": "#/definitions/EndpointDetails" + }, + "EndpointType": { + "$ref": "#/definitions/EndpointType" + }, + "IdentityProviderDetails": { + "$ref": "#/definitions/IdentityProviderDetails" + }, + "IdentityProviderType": { + "$ref": "#/definitions/IdentityProviderType" + }, + "LoggingRole": { + "maxLength": 2048, + "minLength": 0, + "pattern": "^(|arn:.*role/\\S+)$", + "type": "string" + }, + "PostAuthenticationLoginBanner": { + "maxLength": 4096, + "minLength": 0, + "pattern": "^[\\x09-\\x0D\\x20-\\x7E]*$", + "type": "string" + }, + "PreAuthenticationLoginBanner": { + "maxLength": 4096, + "minLength": 0, + "pattern": "^[\\x09-\\x0D\\x20-\\x7E]*$", + "type": "string" + }, + "ProtocolDetails": { + "$ref": "#/definitions/ProtocolDetails" + }, + "Protocols": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Protocol" + }, + "maxItems": 4, + "minItems": 1, + "type": "array" + }, + "S3StorageOptions": { + "$ref": "#/definitions/S3StorageOptions" + }, + "SecurityPolicyName": { + "maxLength": 100, + "minLength": 0, + "pattern": "^TransferSecurityPolicy-.+$", + "type": "string" + }, + "ServerId": { + "maxLength": 19, + "minLength": 19, + "pattern": "^s-([0-9a-f]{17})$", + "type": "string" + }, + "StructuredLogDestinations": { + "insertionOrder": false, + "items": { + "maxLength": 1600, + "minLength": 20, + "pattern": "^arn:\\S+$", + "type": "string" + }, + "maxItems": 1, + "minItems": 0, + "type": "array" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + "WorkflowDetails": { + "$ref": "#/definitions/WorkflowDetails" + } + }, + "readOnlyProperties": [ + "/properties/Arn", + "/properties/As2ServiceManagedEgressIpAddresses", + "/properties/ServerId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transfer", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Transfer::Server", + "writeOnlyProperties": [ + "/properties/IdentityProviderType" + ] +} 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 9515df86e6..21563e5bbd 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_central_2/__init__.py @@ -145,7 +145,9 @@ "AWS::Cognito::UserPool", "AWS::Cognito::UserPoolClient", "AWS::Cognito::UserPoolGroup", + "AWS::Cognito::UserPoolResourceServer", "AWS::Cognito::UserPoolRiskConfigurationAttachment", + "AWS::Cognito::UserPoolUICustomizationAttachment", "AWS::Cognito::UserPoolUser", "AWS::Cognito::UserPoolUserToGroupAttachment", "AWS::Config::AggregationAuthorization", @@ -673,6 +675,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -763,7 +766,9 @@ "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", + "aws-cognito-userpoolresourceserver.json", "aws-cognito-userpoolriskconfigurationattachment.json", + "aws-cognito-userpooluicustomizationattachment.json", "aws-cognito-userpooluser.json", "aws-cognito-userpoolusertogroupattachment.json", "aws-config-aggregationauthorization.json", @@ -944,6 +949,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-securityconfiguration.json", @@ -999,6 +1005,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-glue-job.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_2/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/eu_central_2/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_central_2/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} 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 d24fff8992..92b24c3b84 100644 --- a/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_north_1/__init__.py @@ -1042,6 +1042,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -1882,7 +1883,6 @@ "aws-stepfunctions-statemachine.json", "aws-stepfunctions-statemachinealias.json", "aws-stepfunctions-statemachineversion.json", - "aws-synthetics-canary.json", "aws-synthetics-group.json", "aws-systemsmanagersap-application.json", "aws-timestream-influxdbinstance.json", diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_north_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_north_1/aws-synthetics-canary.json b/src/cfnlint/data/schemas/providers/eu_north_1/aws-synthetics-canary.json new file mode 100644 index 0000000000..74ae1be72f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/eu_north_1/aws-synthetics-canary.json @@ -0,0 +1,298 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "ArtifactConfig": { + "additionalProperties": false, + "properties": { + "S3Encryption": { + "$ref": "#/definitions/S3Encryption" + } + }, + "type": "object" + }, + "BaseScreenshot": { + "properties": { + "IgnoreCoordinates": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ScreenshotName": { + "type": "string" + } + }, + "required": [ + "ScreenshotName" + ], + "type": "object" + }, + "Code": { + "additionalProperties": false, + "oneOf": [ + { + "required": [ + "S3Bucket", + "S3Key" + ] + }, + { + "required": [ + "Script" + ] + } + ], + "properties": { + "Handler": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "Script": { + "type": "string" + }, + "SourceLocationArn": { + "type": "string" + } + }, + "required": [ + "Handler" + ], + "type": "object" + }, + "ResourceToTag": { + "enum": [ + "lambda-function" + ], + "type": "string" + }, + "RunConfig": { + "additionalProperties": false, + "properties": { + "ActiveTracing": { + "type": "boolean" + }, + "EnvironmentVariables": { + "additionalProperties": false, + "patternProperties": { + "[a-zA-Z][a-zA-Z0-9_]+": { + "type": "string" + } + }, + "type": "object" + }, + "MemoryInMB": { + "type": "integer" + }, + "TimeoutInSeconds": { + "type": "integer" + } + }, + "type": "object" + }, + "S3Encryption": { + "additionalProperties": false, + "properties": { + "EncryptionMode": { + "type": "string" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "Schedule": { + "additionalProperties": false, + "properties": { + "DurationInSeconds": { + "type": "string" + }, + "Expression": { + "type": "string" + } + }, + "required": [ + "Expression" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + }, + "VPCConfig": { + "additionalProperties": false, + "properties": { + "SecurityGroupIds": { + "format": "AWS::EC2::SecurityGroup.Ids", + "items": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "type": "array" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "required": [ + "SubnetIds", + "SecurityGroupIds" + ], + "type": "object" + }, + "VisualReference": { + "additionalProperties": false, + "properties": { + "BaseCanaryRunId": { + "type": "string" + }, + "BaseScreenshots": { + "items": { + "$ref": "#/definitions/BaseScreenshot" + }, + "type": "array" + } + }, + "required": [ + "BaseCanaryRunId" + ], + "type": "object" + } + }, + "deprecatedProperties": [ + "/properties/DeleteLambdaResourcesOnCanaryDeletion" + ], + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "ArtifactConfig": { + "$ref": "#/definitions/ArtifactConfig" + }, + "ArtifactS3Location": { + "pattern": "^(s3|S3)://", + "type": "string" + }, + "Code": { + "$ref": "#/definitions/Code" + }, + "DeleteLambdaResourcesOnCanaryDeletion": { + "type": "boolean" + }, + "ExecutionRoleArn": { + "type": "string" + }, + "FailureRetentionPeriod": { + "type": "integer" + }, + "Id": { + "type": "string" + }, + "Name": { + "pattern": "^[0-9a-z_\\-]{1,255}$", + "type": "string" + }, + "ResourcesToReplicateTags": { + "items": { + "$ref": "#/definitions/ResourceToTag" + }, + "type": "array", + "uniqueItems": true + }, + "RunConfig": { + "$ref": "#/definitions/RunConfig" + }, + "RuntimeVersion": { + "type": "string" + }, + "Schedule": { + "$ref": "#/definitions/Schedule" + }, + "StartCanaryAfterCreation": { + "type": "boolean" + }, + "State": { + "type": "string" + }, + "SuccessRetentionPeriod": { + "type": "integer" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VPCConfig": { + "$ref": "#/definitions/VPCConfig" + }, + "VisualReference": { + "$ref": "#/definitions/VisualReference" + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/State", + "/properties/Code/SourceLocationArn" + ], + "required": [ + "Name", + "Code", + "ArtifactS3Location", + "ExecutionRoleArn", + "Schedule", + "RuntimeVersion" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-synthetics", + "tagging": { + "taggable": true + }, + "typeName": "AWS::Synthetics::Canary", + "writeOnlyProperties": [ + "/properties/Code/S3Bucket", + "/properties/Code/S3Key", + "/properties/Code/S3ObjectVersion", + "/properties/Code/Script", + "/properties/DeleteLambdaResourcesOnCanaryDeletion", + "/properties/StartCanaryAfterCreation", + "/properties/ResourcesToReplicateTags", + "/properties/RunConfig/EnvironmentVariables", + "/properties/VisualReference" + ] +} 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 2607f7a907..f07d5247e8 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_south_1/__init__.py @@ -175,7 +175,9 @@ "AWS::Cognito::UserPool", "AWS::Cognito::UserPoolClient", "AWS::Cognito::UserPoolGroup", + "AWS::Cognito::UserPoolResourceServer", "AWS::Cognito::UserPoolRiskConfigurationAttachment", + "AWS::Cognito::UserPoolUICustomizationAttachment", "AWS::Cognito::UserPoolUser", "AWS::Cognito::UserPoolUserToGroupAttachment", "AWS::Config::AggregationAuthorization", @@ -853,6 +855,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -964,7 +967,9 @@ "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", + "aws-cognito-userpoolresourceserver.json", "aws-cognito-userpoolriskconfigurationattachment.json", + "aws-cognito-userpooluicustomizationattachment.json", "aws-cognito-userpooluser.json", "aws-cognito-userpoolusertogroupattachment.json", "aws-config-aggregationauthorization.json", @@ -1189,6 +1194,7 @@ "aws-glue-datacatalogencryptionsettings.json", "aws-glue-dataqualityruleset.json", "aws-glue-devendpoint.json", + "aws-glue-job.json", "aws-glue-mltransform.json", "aws-glue-partition.json", "aws-glue-registry.json", diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-glue-job.json b/src/cfnlint/data/schemas/providers/eu_south_1/aws-glue-job.json deleted file mode 100644 index 5ad5c7f347..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-glue-job.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - } - }, - "type": "object" - }, - "ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "integer" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/JobCommand" - }, - "Connections": { - "$ref": "#/definitions/ConnectionsList" - }, - "DefaultArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Description": { - "type": "string" - }, - "ExecutionClass": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NonOverridableArguments": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "NotificationProperty": { - "$ref": "#/definitions/NotificationProperty" - }, - "NumberOfWorkers": { - "maximum": 299, - "minimum": 0, - "type": "integer" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Timeout": { - "type": "integer" - }, - "WorkerType": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "Role", - "Command" - ], - "typeName": "AWS::Glue::Job" -} 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 c6c4a35b89..13d9a8980b 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_south_2/__init__.py @@ -691,6 +691,7 @@ "aws-appconfig-hostedconfigurationversion.json", "aws-applicationautoscaling-scalabletarget.json", "aws-applicationautoscaling-scalingpolicy.json", + "aws-applicationinsights-application.json", "aws-applicationsignals-servicelevelobjective.json", "aws-appmesh-gatewayroute.json", "aws-appmesh-mesh.json", @@ -725,6 +726,7 @@ "aws-backup-backupplan.json", "aws-backup-backupselection.json", "aws-backup-backupvault.json", + "aws-backup-restoretestingplan.json", "aws-backup-restoretestingselection.json", "aws-batch-computeenvironment.json", "aws-batch-jobdefinition.json", @@ -1021,6 +1023,7 @@ "aws-lakeformation-tagassociation.json", "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", + "aws-lambda-eventsourcemapping.json", "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-applicationinsights-application.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-applicationinsights-application.json deleted file mode 100644 index a5fe128907..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-applicationinsights-application.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ResourceGroupName", - "/properties/GroupingType" - ], - "definitions": { - "Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Severity": { - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AlarmMetric": { - "additionalProperties": false, - "properties": { - "AlarmMetricName": { - "type": "string" - } - }, - "required": [ - "AlarmMetricName" - ], - "type": "object" - }, - "ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/ConfigurationDetails" - }, - "SubComponentTypeConfigurations": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/SubComponentTypeConfiguration" - }, - "minItems": 1, - "type": "array" - } - }, - "type": "object" - }, - "ComponentMonitoringSetting": { - "additionalProperties": false, - "oneOf": [ - { - "required": [ - "ComponentName" - ] - }, - { - "required": [ - "ComponentARN" - ] - } - ], - "properties": { - "ComponentARN": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ComponentConfigurationMode": { - "enum": [ - "DEFAULT", - "DEFAULT_WITH_OVERWRITE", - "CUSTOM" - ], - "type": "string" - }, - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/ComponentConfiguration" - }, - "Tier": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - } - }, - "required": [ - "Tier", - "ComponentConfigurationMode" - ], - "type": "object" - }, - "ConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Alarm" - }, - "type": "array" - }, - "HAClusterPrometheusExporter": { - "$ref": "#/definitions/HAClusterPrometheusExporter" - }, - "HANAPrometheusExporter": { - "$ref": "#/definitions/HANAPrometheusExporter" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/JMXPrometheusExporter" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "NetWeaverPrometheusExporter": { - "$ref": "#/definitions/NetWeaverPrometheusExporter" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "SQLServerPrometheusExporter": { - "$ref": "#/definitions/SQLServerPrometheusExporter" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "CustomComponent": { - "additionalProperties": false, - "properties": { - "ComponentName": { - "maxLength": 128, - "minLength": 1, - "pattern": "^[\\d\\w\\-_.+]*$", - "type": "string" - }, - "ResourceList": { - "insertionOrder": true, - "items": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "ComponentName", - "ResourceList" - ], - "type": "object" - }, - "EventLevel": { - "enum": [ - "INFORMATION", - "WARNING", - "ERROR", - "CRITICAL", - "VERBOSE" - ], - "type": "string" - }, - "HAClusterPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "HANAPrometheusExporter": { - "additionalProperties": false, - "properties": { - "AgreeToInstallHANADBClient": { - "type": "boolean" - }, - "HANAPort": { - "type": "string" - }, - "HANASID": { - "type": "string" - }, - "HANASecretName": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "required": [ - "HANASID", - "HANAPort", - "HANASecretName", - "AgreeToInstallHANADBClient" - ], - "type": "object" - }, - "JMXPrometheusExporter": { - "additionalProperties": false, - "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" - } - }, - "type": "object" - }, - "Log": { - "additionalProperties": false, - "properties": { - "Encoding": { - "enum": [ - "utf-8", - "utf-16", - "ascii" - ], - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "LogPath": { - "maxLength": 260, - "minLength": 1, - "pattern": "^([a-zA-Z]:\\\\[\\\\\\S|*\\S]?.*|/[^\"']*)$", - "type": "string" - }, - "LogType": { - "pattern": "^[A-Z][[A-Z]_]*$", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogType" - ], - "type": "object" - }, - "LogPattern": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "PatternName": { - "maxLength": 50, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Rank": { - "type": "integer" - } - }, - "required": [ - "PatternName", - "Pattern", - "Rank" - ], - "type": "object" - }, - "LogPatternSet": { - "additionalProperties": false, - "properties": { - "LogPatterns": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPattern" - }, - "minItems": 1, - "type": "array" - }, - "PatternSetName": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "PatternSetName", - "LogPatterns" - ], - "type": "object" - }, - "NetWeaverPrometheusExporter": { - "additionalProperties": false, - "properties": { - "InstanceNumbers": { - "items": { - "maxLength": 2, - "minLength": 1, - "pattern": "\\b([0-9]|[0-9][0-9])\\b", - "type": "string" - }, - "type": "array" - }, - "PrometheusPort": { - "type": "string" - }, - "SAPSID": { - "type": "string" - } - }, - "required": [ - "SAPSID", - "InstanceNumbers" - ], - "type": "object" - }, - "Process": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "ProcessName": { - "maxLength": 256, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_,-]+$", - "type": "string" - } - }, - "required": [ - "ProcessName", - "AlarmMetrics" - ], - "type": "object" - }, - "SQLServerPrometheusExporter": { - "additionalProperties": false, - "properties": { - "PrometheusPort": { - "type": "string" - }, - "SQLSecretName": { - "type": "string" - } - }, - "required": [ - "PrometheusPort", - "SQLSecretName" - ], - "type": "object" - }, - "SubComponentConfigurationDetails": { - "additionalProperties": false, - "properties": { - "AlarmMetrics": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Log" - }, - "type": "array" - }, - "Processes": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Process" - }, - "type": "array" - }, - "WindowsEvents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/WindowsEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "SubComponentTypeConfiguration": { - "additionalProperties": false, - "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/SubComponentConfigurationDetails" - }, - "SubComponentType": { - "enum": [ - "AWS::EC2::Instance", - "AWS::EC2::Volume" - ], - "type": "string" - } - }, - "required": [ - "SubComponentType", - "SubComponentConfigurationDetails" - ], - "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" - }, - "WindowsEvent": { - "additionalProperties": false, - "properties": { - "EventLevels": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/EventLevel" - }, - "minItems": 1, - "type": "array" - }, - "EventName": { - "maxLength": 260, - "minLength": 1, - "pattern": "^[a-zA-Z0-9_ \\\\/-]+$", - "type": "string" - }, - "LogGroupName": { - "maxLength": 512, - "minLength": 1, - "pattern": "[\\.\\-_/#A-Za-z0-9]+", - "type": "string" - }, - "PatternSet": { - "maxLength": 30, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - } - }, - "required": [ - "LogGroupName", - "EventName", - "EventLevels" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/ApplicationARN" - ], - "properties": { - "ApplicationARN": { - "type": "string" - }, - "AttachMissingPermission": { - "type": "boolean" - }, - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/ComponentMonitoringSetting" - }, - "minItems": 1, - "type": "array" - }, - "CustomComponents": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/CustomComponent" - }, - "minItems": 1, - "type": "array" - }, - "GroupingType": { - "enum": [ - "ACCOUNT_BASED" - ], - "type": "string" - }, - "LogPatternSets": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/LogPatternSet" - }, - "minItems": 1, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "maxLength": 300, - "minLength": 20, - "pattern": "^arn:aws(-[\\w]+)*:[\\w\\d-]+:([\\w\\d-]*)?:[\\w\\d_-]*([:/].+)*$", - "type": "string" - }, - "ResourceGroupName": { - "maxLength": 256, - "minLength": 1, - "pattern": "[a-zA-Z0-9.-_]*", - "type": "string" - }, - "Tags": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/Tag" - }, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ApplicationARN" - ], - "required": [ - "ResourceGroupName" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-applicationinsights.git", - "taggable": true, - "typeName": "AWS::ApplicationInsights::Application", - "writeOnlyProperties": [ - "/properties/ComponentMonitoringSettings", - "/properties/LogPatternSets", - "/properties/CustomComponents", - "/properties/GroupingType", - "/properties/OpsItemSNSTopicArn", - "/properties/AttachMissingPermission" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-backup-restoretestingplan.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-backup-restoretestingplan.json deleted file mode 100644 index add3c873f4..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-backup-restoretestingplan.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/RestoreTestingPlanName" - ], - "definitions": { - "RestoreTestingRecoveryPointSelection": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelectionAlgorithm" - }, - "ExcludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeVaults": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryPointTypes": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/RestoreTestingRecoveryPointType" - }, - "type": "array" - }, - "SelectionWindowDays": { - "type": "integer" - } - }, - "required": [ - "Algorithm", - "RecoveryPointTypes", - "IncludeVaults" - ], - "type": "object" - }, - "RestoreTestingRecoveryPointSelectionAlgorithm": { - "enum": [ - "LATEST_WITHIN_WINDOW", - "RANDOM_WITHIN_WINDOW" - ], - "type": "string" - }, - "RestoreTestingRecoveryPointType": { - "enum": [ - "SNAPSHOT", - "CONTINUOUS" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/RestoreTestingPlanName" - ], - "properties": { - "RecoveryPointSelection": { - "$ref": "#/definitions/RestoreTestingRecoveryPointSelection" - }, - "RestoreTestingPlanArn": { - "type": "string" - }, - "RestoreTestingPlanName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleExpressionTimezone": { - "type": "string" - }, - "StartWindowHours": { - "type": "integer" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/RestoreTestingPlanArn" - ], - "required": [ - "RecoveryPointSelection", - "ScheduleExpression", - "RestoreTestingPlanName" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Backup::RestoreTestingPlan" -} diff --git a/src/cfnlint/data/schemas/providers/eu_south_2/aws-lambda-eventsourcemapping.json b/src/cfnlint/data/schemas/providers/eu_south_2/aws-lambda-eventsourcemapping.json deleted file mode 100644 index 7b7c7f065b..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_south_2/aws-lambda-eventsourcemapping.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/EventSourceArn", - "/properties/StartingPosition", - "/properties/StartingPositionTimestamp", - "/properties/SelfManagedEventSource", - "/properties/AmazonManagedKafkaEventSourceConfig", - "/properties/SelfManagedKafkaEventSourceConfig" - ], - "definitions": { - "AmazonManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "ConsumerGroupId": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - }, - "DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/OnFailure" - } - }, - "type": "object" - }, - "DocumentDBEventSourceConfig": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "maxLength": 57, - "minLength": 1, - "type": "string" - }, - "DatabaseName": { - "maxLength": 63, - "minLength": 1, - "type": "string" - }, - "FullDocument": { - "enum": [ - "UpdateLookup", - "Default" - ], - "type": "string" - } - }, - "type": "object" - }, - "Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "maxLength": 300, - "minLength": 1, - "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}", - "type": "string" - }, - "maxItems": 10, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Pattern": { - "maxLength": 4096, - "minLength": 0, - "pattern": ".*", - "type": "string" - } - }, - "type": "object" - }, - "FilterCriteria": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/Filter" - }, - "maxItems": 20, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "MaximumConcurrency": { - "maximum": 1000, - "minimum": 2, - "type": "integer" - }, - "OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - } - }, - "type": "object" - }, - "ScalingConfig": { - "additionalProperties": false, - "properties": { - "MaximumConcurrency": { - "$ref": "#/definitions/MaximumConcurrency" - } - }, - "type": "object" - }, - "SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/Endpoints" - } - }, - "type": "object" - }, - "SelfManagedKafkaEventSourceConfig": { - "additionalProperties": false, - "properties": { - "ConsumerGroupId": { - "$ref": "#/definitions/ConsumerGroupId" - } - }, - "type": "object" - }, - "SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "enum": [ - "BASIC_AUTH", - "VPC_SUBNET", - "VPC_SECURITY_GROUP", - "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH", - "VIRTUAL_HOST", - "CLIENT_CERTIFICATE_TLS_AUTH", - "SERVER_ROOT_CA_CERTIFICATE" - ], - "type": "string" - }, - "URI": { - "maxLength": 200, - "minLength": 1, - "pattern": "[a-zA-Z0-9-\\/*:_+=.@-]*", - "type": "string" - } - }, - "type": "object" - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/AmazonManagedKafkaEventSourceConfig" - }, - "BatchSize": { - "maximum": 10000, - "minimum": 1, - "type": "integer" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/DestinationConfig" - }, - "DocumentDBEventSourceConfig": { - "$ref": "#/definitions/DocumentDBEventSourceConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "maxLength": 1024, - "minLength": 12, - "pattern": "arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)", - "type": "string" - }, - "FilterCriteria": { - "$ref": "#/definitions/FilterCriteria" - }, - "FunctionName": { - "maxLength": 140, - "minLength": 1, - "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "enum": [ - "ReportBatchItemFailures" - ], - "type": "string" - }, - "maxLength": 1, - "minLength": 0, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 36, - "minLength": 36, - "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 2048, - "minLength": 12, - "pattern": "(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()", - "type": "string" - }, - "MaximumBatchingWindowInSeconds": { - "maximum": 300, - "minimum": 0, - "type": "integer" - }, - "MaximumRecordAgeInSeconds": { - "maximum": 604800, - "minimum": -1, - "type": "integer" - }, - "MaximumRetryAttempts": { - "maximum": 10000, - "minimum": -1, - "type": "integer" - }, - "ParallelizationFactor": { - "maximum": 10, - "minimum": 1, - "type": "integer" - }, - "Queues": { - "items": { - "maxLength": 1000, - "minLength": 1, - "pattern": "[\\s\\S]*", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "ScalingConfig": { - "$ref": "#/definitions/ScalingConfig" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/SelfManagedEventSource" - }, - "SelfManagedKafkaEventSourceConfig": { - "$ref": "#/definitions/SelfManagedKafkaEventSourceConfig" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/SourceAccessConfiguration" - }, - "maxItems": 22, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "StartingPosition": { - "enum": [ - "AT_TIMESTAMP", - "LATEST", - "TRIM_HORIZON" - ], - "maxLength": 12, - "minLength": 6, - "pattern": "(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+", - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "maxLength": 249, - "minLength": 1, - "pattern": "^[^.]([a-zA-Z0-9\\-_.]+)", - "type": "string" - }, - "maxItems": 1, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "TumblingWindowInSeconds": { - "maximum": 900, - "minimum": 0, - "type": "integer" - } - }, - "propertyTransform": { - "/properties/StartingPositionTimestamp": "StartingPositionTimestamp * 1000" - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "FunctionName" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": false, - "tagUpdatable": false, - "taggable": false - }, - "typeName": "AWS::Lambda::EventSourceMapping" -} 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 ca76754eb0..e36e9b1ce5 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/eu_west_1/__init__.py @@ -1946,6 +1946,7 @@ "aws-lambda-codesigningconfig.json", "aws-lambda-eventinvokeconfig.json", "aws-lambda-eventsourcemapping.json", + "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", "aws-lambda-permission.json", diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json b/src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json deleted file mode 100644 index b06dc5379c..0000000000 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json +++ /dev/null @@ -1,505 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FunctionName" - ], - "definitions": { - "Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "maxLength": 63, - "minLength": 3, - "pattern": "^[0-9A-Za-z\\.\\-_]*(?