diff --git a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json index 6c90b80e40..c9ef4b78ec 100644 --- a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json @@ -1 +1 @@ -{"etag": "\"9afc60ca795ea9f3bd3399d820201ffb\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2373adf8d7cf06125c9dce1f2c857fb1\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json index daaad6cb7d..1e4dbdc455 100644 --- a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json @@ -1 +1 @@ -{"etag": "\"b026f401ac1698c34da9505b2687c666\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"48543535f5029a41d3ae983bdd6ea038\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json index 5251bef81e..1666735d6e 100644 --- a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json @@ -1 +1 @@ -{"etag": "\"77f8f0ff694760d9d86001ab4dca1909\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cab7c18393919e17ef44d9fca8c62008\"", "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 1d985d8b3f..85b5f40a76 100644 --- a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json @@ -1 +1 @@ -{"etag": "\"9cae6b551468d4777291165964ac439d\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"30ec741d8ffc9c9f83b4a7c029ed2ff9\"", "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 0eac7df533..b8e62cff6e 100644 --- a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json @@ -1 +1 @@ -{"etag": "\"ff2d86966614e2da2818a06627b839b4\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"65b40b4db962501650a1e88f9c9491ac\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json index 988e6a4e92..1478cb6daf 100644 --- a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json @@ -1 +1 @@ -{"etag": "\"66934d611a2eb3f5c8878ea30df0351d\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a7fa297fa2a6635990643cc1cd54931c\"", "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 8d90b961e7..2a09cbcc72 100644 --- a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json @@ -1 +1 @@ -{"etag": "\"5292e9a834f0c72f512ff815414232f0\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"2c03e5e2eea0225c25bfe55e7ecd2ec0\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json index 78b1b8c877..61a94ed2a6 100644 --- a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json @@ -1 +1 @@ -{"etag": "\"cf0cf4bff0da3e45998eaea296e3ca27\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"977b33ce91a84c2dea11a3ddda9fd55d\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json index 8fdf519e9b..bafd38da9b 100644 --- a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json @@ -1 +1 @@ -{"etag": "\"d34ccc2ac672aba8821b3afc1cc7a6bc\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"4f0d3f9d9d917e31bc773ab8c275a489\"", "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 e1c3b687d7..c18cf268d6 100644 --- a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json @@ -1 +1 @@ -{"etag": "\"eb993b3a9009cdf11b131cb1ad6c9d7d\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"c40bbb3c3cbbb88055cfc0aab0def317\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json index 2b80b5aad8..ef81c1f985 100644 --- a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json @@ -1 +1 @@ -{"etag": "\"330741cbbbacf1fc399fd4b5c32210b5\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"1359f3b0008cf457fba000bcfe4fbfaa\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json index 02e905933d..2dd2315a5a 100644 --- a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json @@ -1 +1 @@ -{"etag": "\"8bedc60ccb57f9f836f1f576c107b12d\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6e8e5964bd493cfa06c83b4c97c16eff\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json index 38b3a812e1..8e7ea9135b 100644 --- a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json @@ -1 +1 @@ -{"etag": "\"955fdade794e290a83d37778bf3c44e6\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6b10a6a0aa4fe4344beeab0a839c8a1b\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json index d2747fbfd4..0703765854 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_apigatewayv2_stage/tags.json @@ -10,23 +10,13 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" + "additionalProperties": false, + "patternProperties": { + ".*": { + "type": "string" + } }, - "type": "array" + "type": "object" } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_batch_jobdefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_dax_cluster/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_connectordefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_coredefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_devicedefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_functiondefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_group/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_loggerdefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_resourcedefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_greengrass_subscriptiondefinition/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_jobtemplate/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_preset/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mediaconvert_queue/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_channel/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_input/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_medialive_inputsecuritygroup/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_mwaa_environment/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_app/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_campaign/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_emailtemplate/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_inapptemplate/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_pushtemplate/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_segment/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json index d2747fbfd4..00da84113e 100644 --- a/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json +++ b/src/cfnlint/data/schemas/patches/providers/all/aws_pinpoint_smstemplate/tags.json @@ -10,23 +10,11 @@ "op": "replace", "path": "/properties/Tags", "value": { - "items": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "type": "array" + "format": "json", + "type": [ + "object", + "string" + ] } } ] diff --git a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py index 81e53a5fb9..38776df739 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py @@ -951,7 +951,6 @@ "aws-eventschemas-discoverer.json", "aws-networkmanager-connectpeer.json", "aws-elasticache-usergroup.json", - "aws-logs-deliverydestination.json", "aws-imagebuilder-imagerecipe.json", "aws-apigateway-restapi.json", "aws-opsworks-elasticloadbalancerattachment.json", @@ -974,12 +973,10 @@ "aws-resourceexplorer2-index.json", "aws-glue-table.json", "aws-logs-metricfilter.json", - "aws-lambda-function.json", "aws-sns-topic.json", "aws-backup-backupselection.json", "aws-datasync-locationfsxlustre.json", "aws-sagemaker-app.json", - "aws-logs-deliverysource.json", "aws-ec2-vpcgatewayattachment.json", "aws-cloudtrail-trail.json", "aws-ec2-vpnconnectionroute.json", @@ -1010,7 +1007,6 @@ "aws-elasticache-securitygroupingress.json", "aws-wafregional-xssmatchset.json", "aws-rds-dbproxytargetgroup.json", - "aws-cloudwatch-dashboard.json", "aws-cloudwatch-alarm.json", "aws-guardduty-member.json", "aws-groundstation-missionprofile.json", @@ -1299,7 +1295,6 @@ "aws-cloudformation-macro.json", "aws-sagemaker-workteam.json", "aws-lambda-layerversionpermission.json", - "aws-secretsmanager-secret.json", "aws-route53resolver-resolverconfig.json", "aws-elasticache-user.json", "aws-sagemaker-image.json", @@ -1324,7 +1319,6 @@ "aws-rds-optiongroup.json", "aws-opsworks-userprofile.json", "aws-glue-schema.json", - "aws-logs-delivery.json", "aws-customerprofiles-domain.json", "aws-ec2-transitgatewayroute.json", "aws-ssm-maintenancewindow.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-basepathmapping.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-cloudwatch-dashboard.json similarity index 55% rename from src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-basepathmapping.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-cloudwatch-dashboard.json index b10af6d11e..258074cf80 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-basepathmapping.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-cloudwatch-dashboard.json @@ -1,34 +1,27 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/DomainName", - "/properties/BasePath" + "/properties/DashboardName" ], "primaryIdentifier": [ "/properties/Id" ], "properties": { - "BasePath": { + "DashboardBody": { "type": "string" }, - "DomainName": { + "DashboardName": { "type": "string" }, "Id": { "type": "string" - }, - "RestApiId": { - "type": "string" - }, - "Stage": { - "type": "string" } }, "readOnlyProperties": [ "/properties/Id" ], "required": [ - "DomainName" + "DashboardBody" ], - "typeName": "AWS::ApiGateway::BasePathMapping" + "typeName": "AWS::CloudWatch::Dashboard" } diff --git a/src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-lambda-function.json similarity index 96% rename from src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-lambda-function.json index 885ae9bc98..39009ea83f 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_1/aws-lambda-function.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-lambda-function.json @@ -299,7 +299,12 @@ "lambda:GetLayerVersion", "lambda:GetRuntimeManagementConfig", "lambda:PutRuntimeManagementConfig", - "lambda:TagResource" + "lambda:TagResource", + "lambda:GetPolicy", + "lambda:AddPermission", + "lambda:RemovePermission", + "lambda:GetResourcePolicy", + "lambda:PutResourcePolicy" ] }, "delete": { @@ -345,7 +350,13 @@ "lambda:PutFunctionCodeSigningConfig", "lambda:DeleteFunctionCodeSigningConfig", "lambda:GetCodeSigningConfig", - "lambda:GetFunctionCodeSigningConfig" + "lambda:GetFunctionCodeSigningConfig", + "lambda:GetPolicy", + "lambda:AddPermission", + "lambda:RemovePermission", + "lambda:GetResourcePolicy", + "lambda:PutResourcePolicy", + "lambda:DeleteResourcePolicy" ] } }, diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-delivery.json similarity index 94% rename from src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-logs-delivery.json index 849da5dade..9d504c7dc9 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-delivery.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-delivery.json @@ -8,7 +8,7 @@ "Arn": { "maxLength": 2048, "minLength": 16, - "pattern": "[\\w#+=/:,.@-]*\\*?", + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", "type": "string" }, "Tag": { diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverydestination.json similarity index 95% rename from src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverydestination.json index 29abb6e68a..41e9e764ad 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverydestination.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverydestination.json @@ -8,7 +8,7 @@ "Arn": { "maxLength": 2048, "minLength": 16, - "pattern": "[\\w#+=/:,.@-]*\\*?", + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", "type": "string" }, "DestinationPolicy": { diff --git a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverysource.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverysource.json similarity index 94% rename from src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverysource.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverysource.json index 13d7556bb8..30c5c13d9e 100644 --- a/src/cfnlint/data/schemas/providers/eu_west_3/aws-logs-deliverysource.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-logs-deliverysource.json @@ -7,7 +7,7 @@ "Arn": { "maxLength": 2048, "minLength": 16, - "pattern": "[\\w#+=/:,.@-]*\\*?", + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", "type": "string" }, "Tag": { diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-secretsmanager-secret.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-secretsmanager-secret.json similarity index 97% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-secretsmanager-secret.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-secretsmanager-secret.json index 98e621cb88..8cf3aab10e 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-secretsmanager-secret.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-secretsmanager-secret.json @@ -79,8 +79,7 @@ "secretsmanager:DescribeSecret", "secretsmanager:GetRandomPassword", "secretsmanager:CreateSecret", - "secretsmanager:TagResource", - "secretsmanager:ReplicateSecretToRegions" + "secretsmanager:TagResource" ] }, "delete": { 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 c090df74d1..b1678e0e41 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py @@ -837,7 +837,6 @@ "aws-logs-resourcepolicy.json", "aws-servicecatalog-launchnotificationconstraint.json", "aws-dms-instanceprofile.json", - "aws-iot-cacertificate.json", "aws-ec2-networkinsightsaccessscopeanalysis.json", "aws-transfer-certificate.json", "aws-apigateway-documentationpart.json", @@ -928,7 +927,6 @@ "aws-eventschemas-discoverer.json", "aws-elasticache-usergroup.json", "aws-iot-thinggroup.json", - "aws-logs-deliverydestination.json", "aws-imagebuilder-imagerecipe.json", "aws-iot-softwarepackage.json", "aws-apigateway-restapi.json", @@ -954,12 +952,10 @@ "aws-resourceexplorer2-index.json", "aws-glue-table.json", "aws-logs-metricfilter.json", - "aws-lambda-function.json", "aws-sns-topic.json", "aws-backup-backupselection.json", "aws-datasync-locationfsxlustre.json", "aws-sagemaker-app.json", - "aws-logs-deliverysource.json", "aws-ec2-vpcgatewayattachment.json", "aws-cloudtrail-trail.json", "aws-ec2-vpnconnectionroute.json", @@ -992,7 +988,6 @@ "aws-elasticache-securitygroupingress.json", "aws-wafregional-xssmatchset.json", "aws-rds-dbproxytargetgroup.json", - "aws-cloudwatch-dashboard.json", "aws-cloudwatch-alarm.json", "aws-iot-thingtype.json", "aws-guardduty-member.json", @@ -1046,7 +1041,6 @@ "aws-cloudwatch-insightrule.json", "aws-apigateway-usageplan.json", "aws-batch-schedulingpolicy.json", - "aws-iot-authorizer.json", "aws-mediaconnect-bridgesource.json", "aws-iot-jobtemplate.json", "aws-databrew-project.json", @@ -1119,7 +1113,6 @@ "aws-servicecatalog-tagoption.json", "aws-servicediscovery-privatednsnamespace.json", "aws-servicecatalog-launchroleconstraint.json", - "aws-iot-rolealias.json", "aws-sagemaker-modelbiasjobdefinition.json", "aws-secretsmanager-resourcepolicy.json", "aws-cloudformation-hookdefaultversion.json", @@ -1251,7 +1244,6 @@ "aws-elasticache-subnetgroup.json", "aws-xray-group.json", "aws-oam-link.json", - "aws-iot-domainconfiguration.json", "aws-sagemaker-endpoint.json", "aws-elasticloadbalancingv2-truststorerevocation.json", "aws-networkfirewall-firewall.json", @@ -1274,7 +1266,6 @@ "aws-cloudformation-macro.json", "aws-sagemaker-workteam.json", "aws-lambda-layerversionpermission.json", - "aws-secretsmanager-secret.json", "aws-route53resolver-resolverconfig.json", "aws-elasticache-user.json", "aws-sagemaker-image.json", @@ -1301,8 +1292,6 @@ "aws-opsworks-userprofile.json", "aws-glue-schema.json", "aws-docdb-dbsubnetgroup.json", - "aws-logs-delivery.json", - "aws-iot-policy.json", "aws-ec2-transitgatewayroute.json", "aws-ssm-maintenancewindow.json", "aws-lakeformation-tagassociation.json", @@ -1383,7 +1372,6 @@ "aws-rds-dbclusterparametergroup.json", "aws-waf-xssmatchset.json", "aws-appmesh-virtualrouter.json", - "aws-iot-certificateprovider.json", "aws-scheduler-schedulegroup.json", "aws-fsx-snapshot.json", "aws-eventschemas-registrypolicy.json", @@ -1449,7 +1437,6 @@ "aws-ec2-securitygroupingress.json", "aws-guardduty-detector.json", "aws-sagemaker-modelqualityjobdefinition.json", - "aws-iot-provisioningtemplate.json", "aws-apigateway-stage.json", "aws-batch-computeenvironment.json", "aws-iot-thing.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-resource.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cloudwatch-dashboard.json similarity index 54% rename from src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-resource.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-cloudwatch-dashboard.json index 60bfa2b925..258074cf80 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-resource.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cloudwatch-dashboard.json @@ -1,24 +1,19 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/PathPart", - "/properties/ParentId", - "/properties/RestApiId" + "/properties/DashboardName" ], "primaryIdentifier": [ "/properties/Id" ], "properties": { - "Id": { - "type": "string" - }, - "ParentId": { + "DashboardBody": { "type": "string" }, - "PathPart": { + "DashboardName": { "type": "string" }, - "RestApiId": { + "Id": { "type": "string" } }, @@ -26,9 +21,7 @@ "/properties/Id" ], "required": [ - "ParentId", - "PathPart", - "RestApiId" + "DashboardBody" ], - "typeName": "AWS::ApiGateway::Resource" + "typeName": "AWS::CloudWatch::Dashboard" } diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iot-authorizer.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-authorizer.json similarity index 96% rename from src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iot-authorizer.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-authorizer.json index 4fd44d03a5..6f5075023c 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-iot-authorizer.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-authorizer.json @@ -89,12 +89,11 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "TokenKeyName": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-cacertificate.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-cacertificate.json similarity index 98% rename from src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-cacertificate.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-cacertificate.json index 7c56105907..eb632b3219 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-cacertificate.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-cacertificate.json @@ -140,8 +140,7 @@ "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "VerificationCertificatePem": { "maxLength": 65536, diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-certificateprovider.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-certificateprovider.json similarity index 97% rename from src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-certificateprovider.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-certificateprovider.json index ea4c9d9f71..e0d97244bc 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-certificateprovider.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-certificateprovider.json @@ -96,13 +96,12 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, "maxItems": 50, - "type": "array", - "uniqueItems": true + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-domainconfiguration.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-domainconfiguration.json similarity index 98% rename from src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-domainconfiguration.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-domainconfiguration.json index 03db5c565e..6fb0a77acb 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-iot-domainconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-domainconfiguration.json @@ -187,12 +187,11 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "TlsConfig": { "$ref": "#/definitions/TlsConfig" diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-policy.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-policy.json similarity index 96% rename from src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-policy.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-policy.json index 6a8b285974..70a8d4861b 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-policy.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-policy.json @@ -84,12 +84,11 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-provisioningtemplate.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-provisioningtemplate.json similarity index 96% rename from src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-provisioningtemplate.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-provisioningtemplate.json index 31a4f45b65..52368e152b 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-provisioningtemplate.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-provisioningtemplate.json @@ -6,7 +6,6 @@ ], "definitions": { "ProvisioningHook": { - "additionalProperties": false, "properties": { "PayloadVersion": { "type": "string" @@ -95,12 +94,11 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" }, "TemplateArn": { "type": "string" diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-rolealias.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-rolealias.json similarity index 96% rename from src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-rolealias.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-rolealias.json index 5ea03cb1af..6a2e419b45 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-iot-rolealias.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-iot-rolealias.json @@ -98,12 +98,11 @@ "type": "string" }, "Tags": { - "insertionOrder": false, + "insertionOrder": true, "items": { "$ref": "#/definitions/Tag" }, - "type": "array", - "uniqueItems": true + "type": "array" } }, "readOnlyProperties": [ diff --git a/src/cfnlint/data/schemas/providers/eu_south_1/aws-lambda-function.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-function.json similarity index 96% rename from src/cfnlint/data/schemas/providers/eu_south_1/aws-lambda-function.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-function.json index 885ae9bc98..39009ea83f 100644 --- a/src/cfnlint/data/schemas/providers/eu_south_1/aws-lambda-function.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-lambda-function.json @@ -299,7 +299,12 @@ "lambda:GetLayerVersion", "lambda:GetRuntimeManagementConfig", "lambda:PutRuntimeManagementConfig", - "lambda:TagResource" + "lambda:TagResource", + "lambda:GetPolicy", + "lambda:AddPermission", + "lambda:RemovePermission", + "lambda:GetResourcePolicy", + "lambda:PutResourcePolicy" ] }, "delete": { @@ -345,7 +350,13 @@ "lambda:PutFunctionCodeSigningConfig", "lambda:DeleteFunctionCodeSigningConfig", "lambda:GetCodeSigningConfig", - "lambda:GetFunctionCodeSigningConfig" + "lambda:GetFunctionCodeSigningConfig", + "lambda:GetPolicy", + "lambda:AddPermission", + "lambda:RemovePermission", + "lambda:GetResourcePolicy", + "lambda:PutResourcePolicy", + "lambda:DeleteResourcePolicy" ] } }, diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-delivery.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-delivery.json new file mode 100644 index 0000000000..9d504c7dc9 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-delivery.json @@ -0,0 +1,130 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/DeliverySourceName", + "/properties/DeliveryDestinationArn" + ], + "definitions": { + "Arn": { + "maxLength": 2048, + "minLength": 16, + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", + "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" + } + }, + "handlers": { + "create": { + "permissions": [ + "logs:CreateDelivery", + "logs:GetDelivery", + "logs:DescribeDeliveries", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:GetDeliverySource", + "logs:GetDeliveryDestination" + ] + }, + "delete": { + "permissions": [ + "logs:DeleteDelivery", + "logs:ListTagsForResource", + "logs:UntagResource" + ] + }, + "list": { + "permissions": [ + "logs:DescribeDeliveries", + "logs:ListTagsForResource" + ] + }, + "read": { + "permissions": [ + "logs:GetDelivery", + "logs:ListTagsForResource" + ] + }, + "update": { + "permissions": [ + "logs:GetDelivery", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:UntagResource" + ] + } + }, + "primaryIdentifier": [ + "/properties/DeliveryId" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationArn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationType": { + "maxLength": 12, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DeliveryId": { + "maxLength": 64, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DeliverySourceName": { + "maxLength": 60, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/DeliveryId", + "/properties/Arn", + "/properties/DeliveryDestinationType" + ], + "required": [ + "DeliverySourceName", + "DeliveryDestinationArn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Logs::Delivery" +} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverydestination.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverydestination.json new file mode 100644 index 0000000000..41e9e764ad --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverydestination.json @@ -0,0 +1,152 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name", + "/properties/DestinationResourceArn" + ], + "definitions": { + "Arn": { + "maxLength": 2048, + "minLength": 16, + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", + "type": "string" + }, + "DestinationPolicy": { + "additionalProperties": false, + "properties": { + "DeliveryDestinationName": { + "maxLength": 60, + "minLength": 1, + "type": "string" + }, + "DeliveryDestinationPolicy": { + "maxLength": 51200, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "DeliveryDestinationName", + "DeliveryDestinationPolicy" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "logs:PutDeliveryDestination", + "logs:GetDeliveryDestination", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:UntagResource", + "logs:PutDeliveryDestinationPolicy", + "logs:GetDeliveryDestinationPolicy" + ] + }, + "delete": { + "permissions": [ + "logs:DeleteDeliveryDestination", + "logs:DeleteDeliveryDestinationPolicy" + ] + }, + "list": { + "permissions": [ + "logs:DescribeDeliveryDestinations", + "logs:GetDeliveryDestinationPolicy" + ] + }, + "read": { + "permissions": [ + "logs:GetDeliveryDestination", + "logs:ListTagsForResource", + "logs:GetDeliveryDestinationPolicy" + ] + }, + "update": { + "permissions": [ + "logs:PutDeliveryDestination", + "logs:GetDeliveryDestination", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:UntagResource", + "logs:DeleteDeliveryDestinationPolicy", + "logs:PutDeliveryDestinationPolicy", + "logs:GetDeliveryDestinationPolicy" + ] + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "DeliveryDestinationPolicy": { + "items": { + "$ref": "#/definitions/DestinationPolicy" + }, + "type": "object" + }, + "DeliveryDestinationType": { + "maxLength": 12, + "minLength": 1, + "pattern": "^[0-9A-Za-z]+$", + "type": "string" + }, + "DestinationResourceArn": { + "$ref": "#/definitions/Arn" + }, + "Name": { + "maxLength": 60, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Arn", + "/properties/DeliveryDestinationType" + ], + "required": [ + "Name" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Logs::DeliveryDestination" +} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverysource.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverysource.json new file mode 100644 index 0000000000..30c5c13d9e --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-logs-deliverysource.json @@ -0,0 +1,138 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/Name" + ], + "definitions": { + "Arn": { + "maxLength": 2048, + "minLength": 16, + "pattern": "^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$", + "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" + } + }, + "handlers": { + "create": { + "permissions": [ + "logs:PutDeliverySource", + "logs:GetDeliverySource", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:AllowVendedLogDeliveryForResource", + "codewhisperer:AllowVendedLogDeliveryForResource", + "autoloop:AllowVendedLogDeliveryForResource", + "workmail:AllowVendedLogDeliveryForResource" + ] + }, + "delete": { + "permissions": [ + "logs:DeleteDeliverySource" + ] + }, + "list": { + "permissions": [ + "logs:DescribeDeliverySources" + ] + }, + "read": { + "permissions": [ + "logs:GetDeliverySource", + "logs:ListTagsForResource" + ] + }, + "update": { + "permissions": [ + "logs:PutDeliverySource", + "logs:GetDeliverySource", + "logs:ListTagsForResource", + "logs:TagResource", + "logs:UntagResource" + ] + } + }, + "primaryIdentifier": [ + "/properties/Name" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "LogType": { + "maxLength": 255, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "Name": { + "maxLength": 60, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "ResourceArn": { + "$ref": "#/definitions/Arn" + }, + "ResourceArns": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Arn" + }, + "type": "array", + "uniqueItems": true + }, + "Service": { + "maxLength": 255, + "minLength": 1, + "pattern": "[\\w-]*$", + "type": "string" + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + } + }, + "readOnlyProperties": [ + "/properties/Service", + "/properties/ResourceArns", + "/properties/Arn" + ], + "required": [ + "Name" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git", + "tagging": { + "cloudFormationSystemTags": true, + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Logs::DeliverySource", + "writeOnlyProperties": [ + "/properties/ResourceArn" + ] +} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-secretsmanager-secret.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-secretsmanager-secret.json similarity index 97% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-secretsmanager-secret.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-secretsmanager-secret.json index 98e621cb88..8cf3aab10e 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-secretsmanager-secret.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-secretsmanager-secret.json @@ -79,8 +79,7 @@ "secretsmanager:DescribeSecret", "secretsmanager:GetRandomPassword", "secretsmanager:CreateSecret", - "secretsmanager:TagResource", - "secretsmanager:ReplicateSecretToRegions" + "secretsmanager:TagResource" ] }, "delete": { 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 3197e32277..57b6e8a056 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py @@ -1281,6 +1281,7 @@ "aws-dms-instanceprofile.json", "aws-opensearchserverless-vpcendpoint.json", "aws-quicksight-datasource.json", + "aws-iot-cacertificate.json", "aws-ec2-networkaclentry.json", "aws-robomaker-simulationapplicationversion.json", "aws-ec2-networkinsightsaccessscopeanalysis.json", @@ -1430,7 +1431,6 @@ "aws-networkmanager-connectpeer.json", "aws-elasticache-usergroup.json", "aws-iot-thinggroup.json", - "aws-logs-deliverydestination.json", "aws-imagebuilder-imagerecipe.json", "aws-iot-softwarepackage.json", "aws-apigateway-restapi.json", @@ -1467,12 +1467,10 @@ "aws-wafregional-webacl.json", "aws-sagemaker-inferencecomponent.json", "aws-logs-metricfilter.json", - "aws-lambda-function.json", "aws-sns-topic.json", "aws-backup-backupselection.json", "aws-datasync-locationfsxlustre.json", "aws-sagemaker-app.json", - "aws-logs-deliverysource.json", "aws-ec2-vpcgatewayattachment.json", "aws-cloudtrail-trail.json", "aws-ec2-vpnconnectionroute.json", @@ -1522,7 +1520,6 @@ "aws-wafregional-xssmatchset.json", "aws-vpclattice-rule.json", "aws-rds-dbproxytargetgroup.json", - "aws-cloudwatch-dashboard.json", "aws-cloudwatch-alarm.json", "aws-datazone-datasource.json", "aws-iot-thingtype.json", @@ -1615,6 +1612,7 @@ "aws-mediapackagev2-channel.json", "aws-appintegrations-eventintegration.json", "aws-batch-schedulingpolicy.json", + "aws-iot-authorizer.json", "aws-timestream-influxdbinstance.json", "aws-mediaconnect-bridgesource.json", "aws-mediapackagev2-channelpolicy.json", @@ -1735,6 +1733,7 @@ "aws-servicecatalog-tagoption.json", "aws-servicediscovery-privatednsnamespace.json", "aws-servicecatalog-launchroleconstraint.json", + "aws-iot-rolealias.json", "aws-sagemaker-modelbiasjobdefinition.json", "aws-secretsmanager-resourcepolicy.json", "aws-cloudformation-hookdefaultversion.json", @@ -1931,6 +1930,7 @@ "aws-xray-group.json", "aws-lookoutvision-project.json", "aws-oam-link.json", + "aws-iot-domainconfiguration.json", "aws-sagemaker-endpoint.json", "aws-elasticloadbalancingv2-truststorerevocation.json", "aws-networkfirewall-firewall.json", @@ -1966,7 +1966,6 @@ "aws-sagemaker-workteam.json", "aws-ssmincidents-responseplan.json", "aws-lambda-layerversionpermission.json", - "aws-secretsmanager-secret.json", "aws-route53resolver-resolverconfig.json", "aws-elasticache-user.json", "aws-sagemaker-image.json", @@ -2002,11 +2001,11 @@ "aws-glue-schema.json", "aws-datazone-environment.json", "aws-docdb-dbsubnetgroup.json", - "aws-logs-delivery.json", "aws-bedrock-datasource.json", "aws-servicecatalog-portfolio.json", "aws-workspacesweb-truststore.json", "aws-customerprofiles-domain.json", + "aws-iot-policy.json", "aws-aps-scraper.json", "aws-ec2-transitgatewayroute.json", "aws-ssm-maintenancewindow.json", @@ -2101,6 +2100,7 @@ "aws-cognito-userpoolidentityprovider.json", "aws-appstream-stackuserassociation.json", "aws-resiliencehub-resiliencypolicy.json", + "aws-location-tracker.json", "aws-iot-dimension.json", "aws-logs-loggroup.json", "aws-evidently-experiment.json", @@ -2149,6 +2149,7 @@ "aws-ivs-storageconfiguration.json", "aws-ec2-verifiedaccesstrustprovider.json", "aws-appmesh-virtualrouter.json", + "aws-iot-certificateprovider.json", "aws-pinpoint-emailtemplate.json", "aws-medialive-multiplex.json", "aws-scheduler-schedulegroup.json", @@ -2248,6 +2249,7 @@ "aws-ec2-securitygroupingress.json", "aws-guardduty-detector.json", "aws-sagemaker-modelqualityjobdefinition.json", + "aws-iot-provisioningtemplate.json", "aws-personalize-schema.json", "aws-appflow-flow.json", "aws-apigateway-stage.json", diff --git a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-documentationversion.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cloudwatch-dashboard.json similarity index 53% rename from src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-documentationversion.json rename to src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cloudwatch-dashboard.json index a8a5e2dc17..258074cf80 100644 --- a/src/cfnlint/data/schemas/providers/us_gov_east_1/aws-apigateway-documentationversion.json +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cloudwatch-dashboard.json @@ -1,32 +1,27 @@ { "additionalProperties": false, "createOnlyProperties": [ - "/properties/DocumentationVersion", - "/properties/RestApiId" + "/properties/DashboardName" ], "primaryIdentifier": [ "/properties/Id" ], "properties": { - "Description": { + "DashboardBody": { "type": "string" }, - "DocumentationVersion": { + "DashboardName": { "type": "string" }, "Id": { "type": "string" - }, - "RestApiId": { - "type": "string" } }, "readOnlyProperties": [ "/properties/Id" ], "required": [ - "RestApiId", - "DocumentationVersion" + "DashboardBody" ], - "typeName": "AWS::ApiGateway::DocumentationVersion" + "typeName": "AWS::CloudWatch::Dashboard" } diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-function.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-function.json new file mode 100644 index 0000000000..39009ea83f --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-lambda-function.json @@ -0,0 +1,559 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/FunctionName" + ], + "definitions": { + "Code": { + "additionalProperties": false, + "properties": { + "ImageUri": { + "type": "string" + }, + "S3Bucket": { + "maxLength": 63, + "minLength": 3, + "pattern": "^[0-9A-Za-z\\.\\-_]*(?