dns - 如何使用 cloudformation 构建 Route53 路由资源?
问题描述
我正在使用 cloudformation 模板中的 AWS::Route53::RecordSet 资源构建 Route53 路由(示例如下)。我看了一些示例,很不明白 HostedZoneId 和 HostedZoneName 参数是什么,我应该在下面的模板中传递。在此之前我需要创建一些其他资源吗?这些参数指的是什么 - HostedZone Id 和 name?
Record:
Type: AWS::Route53::RecordSet
Properties:
HostedZoneName: !Ref 'HostedZoneName'
HostedZoneId: !Ref 'HostedZoneId'
Comment: DNS name for my instance.
Name: !Join ['', [!Ref 'Subdomain', ., !Ref 'HostedZoneName']]
Type: CNAME
....
解决方案
推荐阅读
- r - Plotly R 的滑块
- node.js - 从无服务器 Canary 部署插件调用 Lambda 函数
- c++ - 如何从文件中获取数据并添加到构造函数
- vb.net - 有没有办法用自定义方法覆盖属性访问器方法?
- python - 如何在 Python 中类型为 numpy.float64 的 NumPy 数组中更改为 2 位小数
- c++ - 输出显示带有整数的多个字符串值
- python - 运行经过训练的模型时不会创建边界框
- excel - 如何更改超链接的名称?
- android - 迁移到应用中心后无法发布静默应用更新,带我去微软页面注册
- sql - 在SQL中的字符串中的两个字符之间选择一个字符串