AWS Security ChangesHomeSearch

AWS AWSCloudFormation: Broaden CloudFront function ARN pattern and length

Service: AWSCloudFormation · 2026-11-21 · Documentation low

File: AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-functionassociation.md

Summary

Updates the FunctionARN regex to allow non-standard partitions (arn:aws(-[a-z]+)*) and raises the maximum length from 108 to 111.

Security assessment

Schema/validation update to support additional AWS partitions and longer ARNs; no security control or vulnerability is addressed.

Evidence

+ _Pattern_ : `arn:aws(-[a-z]+)*:cloudfront::[0-9]{12}:function\/[a-zA-Z0-9-_]{1,64}`

Diff

diff --git a/AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-functionassociation.md b/AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-functionassociation.md
index 614cea5..a2b78f2 100644
--- a//AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-functionassociation.md
+++ b//AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-functionassociation.md
@@ -57 +57 @@ _Required_ : No
- _Pattern_ : `arn:aws:cloudfront::[0-9]{12}:function\/[a-zA-Z0-9-_]{1,64}`
+ _Pattern_ : `arn:aws(-[a-z]+)*:cloudfront::[0-9]{12}:function\/[a-zA-Z0-9-_]{1,64}`
@@ -61 +61 @@ _Minimum_ : `0`
- _Maximum_ : `108`
+ _Maximum_ : `111`