- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我将一组记录从云形成添加到route53,这是代码
"RDSDNSRecord" : {
"Type" : "AWS::Route53::RecordSet",
"Properties" : {
"HostedZoneId" : { "Ref" : "DNSZoneId" },
"Comment" : "DNS name for RDS",
"Name" : { "Fn::Join" : [ "", [ { "Ref": "EnvType"}, "." ,"rds",".",{"Ref" : "AWS::Region"} ,".",{"Ref" : "HostedZone"},"." ] ] },
"Type" : "CNAME",
"TTL" : "900",
"ResourceRecords" : [
{
"Ref": "DatabaseEndPoint"
}
]
}
}
和 HostedZones 之前已创建。因此,为了设置这些记录,我使用这些参数。
"DNSZoneId":{
"Type" :"AWS::Route53::HostedZone::Id",
"ConstraintDescription":"must be the name of an existing ZoneId"
},
"HostedZone":{
"Type": "String",
"Description":"Relavent Domain Name"
}
aws 要求将完全限定的域名传递到参数 Name 中。所以我向用户询问了 DomainName 和 ZoneId。我觉得问ID和姓名都不对。有没有办法从 zoneId 获取名称或任何解决方法?
最佳答案
HostedZoneId
是可选的,您也可以使用HostedZoneName
HostedZoneId The ID of the hosted zone.
Required: Conditional. You must specify either the HostedZoneName or HostedZoneId, but you cannot specify both. If this record set is part of a record set group, do not specify this property.
关于amazon-web-services - AWS : Get Route53 HostedZone Name,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50542982/
这是我的 Lambda 函数: Code: ZipFile: | import boto3 var client = boto3.c
我一直在为项目的一些新基础设施设置 CloudFormation 模板,并且已将其添加到 Route 53 托管区域。 现在理想情况下,我想创建一个包含我们所有托管区域和基本配置的“核心域”堆栈。问题
我有 2 个同名的托管区域。我想获取用于 us-west-2 区域的 Hostedzone 的 hostedZoneId。 aws route53 list-hosted-zones-by-name
我正在为多个域创建 CFN 堆栈。该域不属于 AWS 注册表,而是第三方注册表。 我希望将 SOA 中的名称服务器列表作为堆栈输出的一部分。但是,由于它们不是作为字符串返回,而是根据文档返回“集合”,
documentation对于 ServiceDiscovery::PrivateDnsNamespace指出: When you create a private DNS namespace, AW
我将一组记录从云形成添加到route53,这是代码 "RDSDNSRecord" : { "Type" : "AWS::Route53::RecordSet", "Prope
我希望将现有的可重用委托(delegate)集与我希望使用 CloudFormation 创建的托管区域关联,但无法看到有关该主题的任何示例/文档 最佳答案 不支持使用 CloudFormation
简介 我有一些使用 CDK 创建 API 网关和 Lambda 的 TypeScript 代码。它可以工作并部署到标准 AWS URL。到目前为止一切顺利。 我现在需要转移 API 网关,以便它在自定
我是一名优秀的程序员,十分优秀!