AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Version: (assembly version)
public class ResourceRecordSet : Object
The ResourceRecordSet type exposes the following members
Gets and sets the property AliasTarget.
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.
Gets and sets the property Failover.
Failover resource record sets only: To configure failover, you add the
Except where noted, the following failover behaviors assume that you have included
You cannot create non-failover resource record sets that have the same values for
For failover alias resource record sets, you must also include the
For more information about configuring failover for Amazon Route 53, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
Gets and sets the property GeoLocation.
Geo location resource record sets only: A complex type that lets you control
how Amazon Route 53 responds to DNS queries based on the geographic origin of the
query. For example, if you want all queries from Africa to be routed to a web server
with an IP address of
If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource.
You cannot create two geolocation resource record sets that specify the same geographic location.
You cannot create non-geolocation resource record sets that have the same values for
Gets and sets the property HealthCheckId.
Health Check resource record sets only, not required for alias resource record sets: An identifier that is used to identify health check associated with the resource record set.
Gets and sets the property Name.
The name of the domain you want to perform the action on.
Enter a fully qualified domain name, for example,
For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
You can use an asterisk (*) character in the name. DNS treats the * character either as a wildcard or as the * character (ASCII 42), depending on where it appears in the name. For more information, see Using an Asterisk (*) in the Names of Hosted Zones and Resource Record Sets in the Amazon Route 53 Developer Guide
Gets and sets the property Region.
Latency-based resource record sets only: The Amazon EC2 region where the resource that is specified in this resource record set resides. The resource typically is an AWS resource, such as an Amazon EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.
When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Amazon Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 region. Amazon Route 53 then returns the value that is associated with the selected resource record set.
Note the following:
Gets and sets the property ResourceRecords.
A complex type that contains the resource records for the current resource record set.
Gets and sets the property SetIdentifier.
Weighted, Latency, Geo, and Failover resource record sets only: An identifier
that differentiates among multiple resource record sets that have the same combination
of DNS name and type. The value of
|TrafficPolicyInstanceId||System.String||Gets and sets the property TrafficPolicyInstanceId.|
Gets and sets the property TTL.
The cache time to live for the current resource record set. Note the following:
Gets and sets the property Type.
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:
Values for weighted, latency, geolocation, and failover resource record sets:
Values for alias resource record sets:
Gets and sets the property Weight.
Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Amazon Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Amazon Route 53 then responds to queries based on the ratio of a resource's weight to the total. Note the following:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8