We recommend that you use the UpdateDomainAssociation API operation to move a domain association, as it supports both standard distributions and distribution tenants
Source:R/cloudfront_operations.R
cloudfront_update_domain_association.RdWe 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.
Arguments
- Domain
[required] The domain to update.
- TargetResource
[required] The target standard distribution or distribution tenant resource for the domain. You can specify either
DistributionIdorDistributionTenantId, but not both.- IfMatch
The value of the
ETagidentifier for the standard distribution or distribution tenant that will be associated with the domain.