type property
The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.
Valid values for basic resource record sets: A
|
AAAA
| CAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geolocation, and failover resource record
sets: A
| AAAA
| CAA
|
CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
. When creating a
group of weighted, latency, geolocation, or failover resource record sets,
specify the same value for all of the resource record sets in the group.
Valid values for multivalue answer resource record sets: A
|
AAAA
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
Values for alias resource record sets:
-
Amazon API Gateway custom regional APIs and edge-optimized APIs:
A
-
CloudFront distributions:
A
If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of
A
and one with a value ofAAAA
. -
Amazon API Gateway environment that has a regionalized subdomain:
A
-
ELB load balancers:
A
|AAAA
-
Amazon S3 buckets:
A
-
Amazon Virtual Private Cloud interface VPC endpoints
A
-
Another resource record set in this hosted zone: Specify the type of
the resource record set that you're creating the alias for. All values are
supported except
NS
andSOA
.
Implementation
final RRType type;