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.
Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ResourceRecordSet : Object
The ResourceRecordSet type exposes the following members
Name | Description | |
---|---|---|
ResourceRecordSet() | Empty constructor used to set properties independently even when a simple constructor is available | |
ResourceRecordSet(string, RRType) | Instantiates ResourceRecordSet with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
AliasTarget | Amazon.Route53.Model.AliasTarget |
Gets and sets the property AliasTarget.
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic. |
|
Failover | Amazon.Route53.ResourceRecordSetFailover |
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
the
You cannot create non-failover resource record sets that have the same values for
the
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.
Valid values: |
|
GeoLocation | Amazon.Route53.Model.GeoLocation |
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.
The value CountryCode is * ,
which handles both queries that come from locations for which you haven't created
geolocation resource record sets and queries from IP addresses that aren't mapped
to a location. If you don't create a * resource record set, Amazon Route
53 returns a "no answer" response for queries from those locations.
You cannot create non-geolocation resource record sets that have the same values for
the |
|
HealthCheckId | System.String |
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. |
|
Name | System.String |
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 |
|
Region | Amazon.Route53.ResourceRecordSetRegion |
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:
|
|
ResourceRecords | System.Collections.Generic.List<Amazon.Route53.Model.ResourceRecord> |
Gets and sets the property ResourceRecords.
A complex type that contains the resource records for the current resource record set. |
|
SetIdentifier | System.String |
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. | |
TTL | System.Int64 |
Gets and sets the property TTL.
The cache time to live for the current resource record set. Note the following:
|
|
Type | Amazon.Route53.RRType |
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: Type is SPF . RFC 7208, Sender Policy
Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated
to say, "...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability
issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations
are not to use it." In RFC 7208, see section 14.1, The
SPF DNS Record Type.Values for alias resource record sets:
|
|
Weight | System.Int64 |
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:
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8