Skip to contents

We recommend that you use the update_domain_association API operation to move a domain association, as it supports both standard distributions and distribution tenants. associate_alias performs similar checks but only supports standard distributions.

See https://www.paws-r-sdk.com/docs/cloudfront_update_domain_association/ for full documentation.

Usage

cloudfront_update_domain_association(Domain, TargetResource, IfMatch = NULL)

Arguments

Domain

[required] The domain to update.

TargetResource

[required] The target standard distribution or distribution tenant resource for the domain. You can specify either DistributionId or DistributionTenantId, but not both.

IfMatch

The value of the ETag identifier for the standard distribution or distribution tenant that will be associated with the domain.