Skip to content

Commit 5cd17ab

Browse files
chore(schemas) - Update CloudFormation schemas to 2024-08-21 (#3602)
* Update CloudFormation schemas to 2024-08-21 * Patch Sagemaker issues --------- Co-authored-by: kddejong <[email protected]> Co-authored-by: Kevin DeJong <[email protected]>
1 parent 439806b commit 5cd17ab

File tree

345 files changed

+25217
-25634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

345 files changed

+25217
-25634
lines changed

docs/rules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running
4646
## Rules
4747
(_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_)
4848

49-
The following **229** rules are applied by this linter:
49+
The following **230** rules are applied by this linter:
5050

5151
| Rule ID | Title | Description | Config<br />(Name:Type:Default) | Source | Tags |
5252
| -------- | ----- | ----------- | ---------- | ------ | ---- |
@@ -151,6 +151,7 @@ The following **229** rules are applied by this linter:
151151
| [E3052<a name="E3052"></a>](../src/cfnlint/rules/resources/ecs/ServiceNetworkConfiguration.py) | Validate ECS service requires NetworkConfiguration | When using an ECS task definition has NetworkMode set to 'awsvpc' then 'NetworkConfiguration' is required | | [Source]() | `resources`,`ecs` |
152152
| [E3053<a name="E3053"></a>](../src/cfnlint/rules/resources/ecs/TaskDefinitionAwsVpc.py) | Validate ECS task definition is has correct values for 'HostPort' | The 'HostPort' must either be undefined or equal to the 'ContainerPort' value | | [Source]() | `resources`,`ecs` |
153153
| [E3054<a name="E3054"></a>](../src/cfnlint/rules/resources/ecs/ServiceFargate.py) | Validate ECS service using Fargate uses TaskDefinition that allows Fargate | When using an ECS service with 'LaunchType' of 'FARGATE' the associated task definition must have 'RequiresCompatibilities' specified with 'FARGATE' listed | | [Source]() | `resources`,`ecs` |
154+
| [E3055<a name="E3055"></a>](../src/cfnlint/rules/resources/CreationPolicy.py) | Check CreationPolicy values for Resources | Check that the CreationPolicy values are valid | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-creationpolicy.html) | `resources`,`creationPolicy` |
154155
| [E3057<a name="E3057"></a>](../src/cfnlint/rules/resources/cloudfront/DistributionTargetOriginId.py) | Validate that CloudFront TargetOriginId is a specified Origin | CloudFront TargetOriginId has to map to an Origin Id that is in the same DistributionConfig | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-targetoriginid) | `properties`,`cloudfront` |
155156
| [E3503<a name="E3503"></a>](../src/cfnlint/rules/resources/certificatemanager/DomainValidationOptions.py) | ValidationDomain is superdomain of DomainName | In ValidationDomainOptions, the ValidationDomain must be a superdomain of the DomainName being validated | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain) | `certificate`,`certificatemanager`,`domainvalidationoptions`,`validationdomain` |
156157
| [E3504<a name="E3504"></a>](../src/cfnlint/rules/resources/backup/BackupPlanLifecycleRule.py) | Check minimum 90 period is met between BackupPlan cold and delete | Check that Backup plans with lifecycle rules have >= 90 days between cold and delete | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html) | `properties`,`backup`,`plan`,`lifecycle` |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ classifiers = [
3737
dynamic = ["version", "readme"]
3838
dependencies = [
3939
"pyyaml>5.4",
40-
"aws-sam-translator>=1.89.0",
40+
"aws-sam-translator>=1.91.0",
4141
"jsonpatch",
4242
"networkx>=2.4,<4",
4343
"sympy>=1.0.0",

src/cfnlint/data/AdditionalSpecs/Policies.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"aws:Referer",
3939
"aws:RequestTag/${TagKey}",
4040
"aws:RequestedRegion",
41+
"aws:ResourceAccount",
4142
"aws:SecureTransport",
4243
"aws:SourceAccount",
4344
"aws:SourceArn",
@@ -4583,16 +4584,16 @@
45834584
]
45844585
},
45854586
"AWS Elemental Support Cases": {
4586-
"ARNFormat": "arn:${Partition}:elemental-support-cases:${Region}:${Account}:${ResourceType}/${ResourceName}",
4587-
"ARNRegex": "^arn:${Partition}:elemental-support-cases:.+:.+:.+",
4587+
"ARNFormat": "arn:aws:elemental-support-cases::${Account}:${ResourceType}/${ResourceId}",
4588+
"ARNRegex": "^arn:aws:elemental-support-cases::.+:.+",
45884589
"Actions": [
45894590
"CheckCasePermission",
45904591
"CreateCase",
45914592
"GetCase",
45924593
"GetCases",
45934594
"UpdateCase"
45944595
],
4595-
"HasResource": false,
4596+
"HasResource": true,
45964597
"StringPrefix": "elemental-support-cases"
45974598
},
45984599
"AWS Elemental Support Content": {
@@ -7326,6 +7327,7 @@
73267327
"GetFunctionConcurrency",
73277328
"GetFunctionConfiguration",
73287329
"GetFunctionEventInvokeConfig",
7330+
"GetFunctionRecursionConfig",
73297331
"GetFunctionUrlConfig",
73307332
"GetLayerVersion",
73317333
"GetLayerVersionPolicy",
@@ -7352,6 +7354,7 @@
73527354
"PutFunctionCodeSigningConfig",
73537355
"PutFunctionConcurrency",
73547356
"PutFunctionEventInvokeConfig",
7357+
"PutFunctionRecursionConfig",
73557358
"PutProvisionedConcurrencyConfig",
73567359
"PutRuntimeManagementConfig",
73577360
"RemoveLayerVersionPermission",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"a9c9c4e86fa45d162e023d842e604188\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"7c0b9c6f511036e991d7e40f85391411\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8d4bbc4aa97d77f9ede7a1836ddc5f07\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"e4d1f70dd22872888b320e36f34df947\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"81d8f09a89ecb2230f0b179df8996946\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4879fd3de9f6bee2465d0eb4e3a6c813\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"d11f98bcda3a8ccc97d6cf688544fb57\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ada62c0c49d0cb4a8d6ef0b9c27c7104\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"36b0c92cafa5064b73ae0869e892c225\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"447687aaeadf9edf586a863e4c49afad\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"78789e0c7af8c1303404a2a4f0da6a79\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"f74ae18f25b1f025e975319955569e26\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e757e5729a6bd1a6e8c870d8658c3c9f\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"cb72aa4864919b7dbc40c3379b69e317\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"497460ebdf9488d4d017d7e3b0809c50\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
1+
{"etag": "\"c9cb9478d36742ec912394296a4d2095\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"4cdb7f14f2d97ad731d1bdaeca1700da\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"00bd6b3f2042a03b83ccfa0f1efef573\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"34c927d08ab552209aacd52f1eb08854\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"e8f6a5fd77e9a94a23f4d1f00472c06c\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"1f6985441d8cec8f86226138533ffd9e\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"dd0c5ad34a89c1f79a0d1dd42beb4fc7\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c67491b937cbca30e5643490c3713233\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"98ee7de715eaabfc83c390c8e61706d5\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"49b4ba9cf518f9a27c6c9be0dda75ea5\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4c0dd5f4dd070e00881cc8e578bb64c4\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"cfa2b90f927f17625204fc1ab1b311e9\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"4771fdc9cdcb9069be4c611c08ffb80b\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"aeb4ffeeedc8d49f503a9f65b041cc74\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"9f9e0eec63180e935ced8e4e10bd27a7\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"867994cd046d42513307dd8acaf7c0e5\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ec231c86e3a63c803e427d1b96977854\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"af6cd5cd9651be94c924330fc46da771\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"b6208cce625cfb68610110ad10e189d5\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"9375c0a4a1772b1535696ffdfbd14897\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"31e431d4e5d3820756b4eb459d352988\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"0ee642e1495742e52dcf2a12e4d2bc7e\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"1ad1bfb5b13b30aa88f3018b4f227f5e\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"e3f5a2ac51486a85388adfe5ab1bf4bc\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"04f05232bd5960f6d450e8a3e9f26a3f\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"7cebb3ea36e7226be417d7a831c7a6c5\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"ae86df8d95132b851e02fe4f22bf5f56\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"8aa6afe23e4ba8cfd27b3166c0b162b8\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"dbddb7f935546ee8440d9e517c7e741e\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"04cfce05a445a6067f4e4dcfdd4e832c\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"50a853cf312ff6ae30230be81dc43b90\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"168516956e0ed2df032f541093cd7821\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"805f5d32bf293e7f046955708b4b9970\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"4f056012bf992e61b76ded075456a22e\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"51699645c067317ab0e0aa2092662fb0\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"fbf0db5e9887d611f69c954a2762d7aa\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"3c65f0bd0f526c78cb0bed886ed4ff42\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"062be2a99b28710bf0acc65510cc749b\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"48c5d8804127ccc7fd5ba47befcb9d37\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"75a7b77d6f70ff6f137cec863db1883b\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"3744eb64f3aa4ddb4f9f794dd34bfaa2\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c136a0b7b3c31063afb98b307eef8488\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"6f244c583eeda76ac01384b2708f5652\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"41b97ecec6cab2ecb46a51ff9e8e676d\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"dd64ad881332f142da95140ac0d848fc\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"db7bc9004323e26af70306afb3e6b337\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"04ad3c41185892164ab33491b21a9053\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"dc6fb54c5b6269da98569642f66c9192\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"597d3c757bbc96b7062c933bba48d7d6\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"etag": "\"c3b379c4d59f49e6f9ca02dd7143a36b\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}
1+
{"etag": "\"19a83cc0b8e2b5fd6f58459111bf6dd8\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"}

0 commit comments

Comments
 (0)