Skip to contents

The associate_alias API operation only supports standard distributions. To move domains between distribution tenants and/or standard distributions, we recommend that you use the update_domain_association API operation instead.

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

Usage

cloudfront_associate_alias(TargetDistributionId, Alias)

Arguments

TargetDistributionId

[required] The ID of the standard distribution that you're associating the alias with.

Alias

[required] The alias (also known as a CNAME) to add to the target standard distribution.