1 回答
- 最新
- 投票最多
- 评论最多
0
According to the associate-alias documentation:
With this operation you can move an alias that’s already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.
You should use the update-distribution command. Or set the alias(es) when you create the distribution.
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 6 个月前
Can you post the CLI command you are submitting?
Sure, aws cloudfront associate-alias --target-distribution-id <distribution-id> --alias myname.domain.com