Skip to content

Update Domain Association

cloudfront_update_domain_association R Documentation

Moves a domain from its current distribution or distribution tenant to another one

Description

Moves a domain from its current distribution or distribution tenant to another one.

Usage

cloudfront_update_domain_association(Domain, TargetResource, IfMatch)

Arguments

Domain

[required] The domain to update.

TargetResource

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

IfMatch

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

Value

A list with the following syntax:

list(
  Domain = "string",
  ResourceId = "string",
  ETag = "string"
)

Request syntax

svc$update_domain_association(
  Domain = "string",
  TargetResource = list(
    DistributionId = "string",
    DistributionTenantId = "string"
  ),
  IfMatch = "string"
)