AWS Security ChangesHomeSearch

AWS cli: CloudFront update-distribution-tenant: add on-domain-takeover and ServeOn

Service: cli · 2026-11-21 · Security-related medium

File: cli/latest/reference/cloudfront/update-distribution-tenant.md · Type: authz

Summary

Adds the new --on-domain-takeover parameter (allow/reject) controlling whether CloudFront moves a domain already associated with another distribution/distribution tenant, and the new ServeOn field (any/anycast-ip-list-only) controlling which requests for a domain are routed to the tenant. Also bumps the CLI reference version to 2.42.1.

Security assessment

The new --on-domain-takeover option (default 'reject') explicitly governs whether a domain already bound to another resource is reassigned, directly mitigating domain/subdomain takeover where an attacker or wrong tenant captures traffic for a domain. The ServeOn 'anycast-ip-list-only' value likewise restricts routing to known static IPs and treats other arrivals as unknown domains, limiting unintended host/domain association. This documents a new security-relevant control rather than fixing a specific CVE.

Evidence

+> Specifies whether CloudFront moves a domain in this request to this distribution tenant when the domain is already associated with another standard distribution or distribution tenant. Valid values are:

Diff

diff --git a/cli/latest/reference/cloudfront/update-distribution-tenant.md b/cli/latest/reference/cloudfront/update-distribution-tenant.md
index 0de467f..213d556 100644
--- a//cli/latest/reference/cloudfront/update-distribution-tenant.md
+++ b//cli/latest/reference/cloudfront/update-distribution-tenant.md
@@ -15 +15 @@
-  * [AWS CLI 2.41.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.42.1 Command Reference](../../index.html) »
@@ -76,0 +77 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cloudf
+    [--on-domain-takeover <value>]
@@ -121,0 +123,16 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cloudf
+>> 
+>> ServeOn -> (string)
+>>
+>>> Specifies which requests for this domain CloudFront routes to the distribution tenant. Valid values are:
+>>> 
+>>>   * `any` – CloudFront routes requests for this domain to the distribution tenant regardless of the IP address that they arrive on. This is the default if you don’t specify a value.
+>>>   * `anycast-ip-list-only` – CloudFront routes requests for this domain to the distribution tenant only when they arrive on the Anycast static IPs of the distribution tenant’s connection group. CloudFront treats requests that arrive on other IP addresses as requests for an unknown domain.
+>>> 
+
+>>> 
+>>> Possible values:
+>>> 
+>>>   * `any`
+>>>   * `anycast-ip-list-only`
+>>> 
+
@@ -126 +143 @@ Shorthand Syntax:
-    Domain=string ...
+    Domain=string,ServeOn=string ...
@@ -134 +151,2 @@ JSON Syntax:
-        "Domain": "string"
+        "Domain": "string",
+        "ServeOn": "any"|"anycast-ip-list-only"
@@ -334,0 +353,16 @@ JSON Syntax:
+`--on-domain-takeover` (string)
+
+> Specifies whether CloudFront moves a domain in this request to this distribution tenant when the domain is already associated with another standard distribution or distribution tenant. Valid values are:
+> 
+>   * `allow` – CloudFront moves the domain to this distribution tenant when the domain’s DNS points to this distribution tenant.
+>   * `reject` – CloudFront doesn’t move the domain, and the request fails if the domain is associated with another resource. This is the default if you don’t specify a value.
+> 
+
+> 
+> Possible values:
+> 
+>   * `allow`
+>   * `reject`
+> 
+
+
@@ -584,0 +619,16 @@ DistributionTenant -> (structure)
+>>> 
+>>> ServeOn -> (string)
+>>>
+>>>> Specifies which requests for this domain CloudFront routes to the distribution tenant. Valid values are:
+>>>> 
+>>>>   * `any` – CloudFront routes requests for this domain to the distribution tenant regardless of the IP address that they arrive on. This is the default if you don’t specify a value.
+>>>>   * `anycast-ip-list-only` – CloudFront routes requests for this domain to the distribution tenant only when they arrive on the Anycast static IPs of the distribution tenant’s connection group. CloudFront treats requests that arrive on other IP addresses as requests for an unknown domain.
+>>>> 
+
+>>>> 
+>>>> Possible values:
+>>>> 
+>>>>   * `any`
+>>>>   * `anycast-ip-list-only`
+>>>> 
+
@@ -750 +800 @@ ETag -> (string)
-  * [AWS CLI 2.41.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.42.1 Command Reference](../../index.html) »