AWS SDK for .NET Documentation
ResourceRecordSet Class
AmazonAmazon.Route53.ModelResourceRecordSet Did this page help you?   Yes   No    Tell us about it...

A complex type that contains information about the current resource record set.

Declaration Syntax
C#
public class ResourceRecordSet
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ResourceRecordSet()()()()
Initializes a new instance of the ResourceRecordSet class

AliasTarget
Alias resource record sets only: Information about the AWS resource to which you are redirecting traffic.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Failover
Failover resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that indicates whether the current resource record set is a primary or secondary resource record set. A failover set may contain at most one resource record set marked as primary and one resource record set marked as secondary. A resource record set marked as primary will be returned if any of the following are true: (1) an associated health check is passing, (2) if the resource record set is an alias with the evaluate target health and at least one target resource record set is healthy, (3) both the primary and secondary resource record set are failing health checks or (4) there is no secondary resource record set. A secondary resource record set will be returned if: (1) the primary is failing a health check and either the secondary is passing a health check or has no associated health check, or (2) there is no primary resource record set. Valid values: PRIMARY | SECONDARY

Constraints:

Allowed Values
PRIMARY, SECONDARY


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
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.

Constraints:

Length
0 - 64


Name
The domain name of the current resource record set.

Constraints:

Length
0 - 1024


Region
Regional resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that specifies the AWS region for the current resource record set.

Constraints:

Length
1 - 64
Allowed Values
us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, sa-east-1, cn-north-1


ResourceRecords
A complex type that contains the resource records for the current resource record set.

Constraints:

Length
1 -


SetIdentifier
Weighted, Regional, 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.

Constraints:

Length
1 - 128


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
TTL
The cache time to live for the current resource record set.

Constraints:

Range
0 - 2147483647


Type
The type of the current resource record set.

Constraints:

Allowed Values
SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA


Weight
Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.

Constraints:

Range
0 - 255


WithAliasTarget(AliasTarget) Obsolete.
Sets the AliasTarget property

WithFailover(String) Obsolete.
Sets the Failover property

WithHealthCheckId(String) Obsolete.
Sets the HealthCheckId property

WithName(String) Obsolete.
Sets the Name property

WithRegion(String) Obsolete.
Sets the Region property

WithResourceRecords(array<ResourceRecord>[]()[][]) Obsolete.
Adds elements to the ResourceRecords collection

WithResourceRecords(IEnumerable<(Of <<'(ResourceRecord>)>>)) Obsolete.
Adds elements to the ResourceRecords collection

WithSetIdentifier(String) Obsolete.
Sets the SetIdentifier property

WithTTL(Int64) Obsolete.
Sets the TTL property

WithType(String) Obsolete.
Sets the Type property

WithWeight(Int64) Obsolete.
Sets the Weight property

Inheritance Hierarchy
Object
ResourceRecordSet

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)