C# Class Amazon.Route53.Model.ResourceRecordSet

Information about the resource record set to create or delete.
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
ResourceRecordSet ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

ResourceRecordSet ( string name, RRType type ) : System

Instantiates ResourceRecordSet with the parameterized properties

Private Methods

Method Description
IsSetAliasTarget ( ) : bool
IsSetFailover ( ) : bool
IsSetGeoLocation ( ) : bool
IsSetHealthCheckId ( ) : bool
IsSetName ( ) : bool
IsSetRegion ( ) : bool
IsSetResourceRecords ( ) : bool
IsSetSetIdentifier ( ) : bool
IsSetTTL ( ) : bool
IsSetTrafficPolicyInstanceId ( ) : bool
IsSetType ( ) : bool
IsSetWeight ( ) : bool

Method Details

ResourceRecordSet() public method

Empty constructor used to set properties independently even when a simple constructor is available
public ResourceRecordSet ( ) : System
return System

ResourceRecordSet() public method

Instantiates ResourceRecordSet with the parameterized properties
public ResourceRecordSet ( string name, RRType type ) : System
name string The name of the domain you want to perform the action on. Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 still assumes that the domain name that you specify is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical. 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 the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, *.example.com. Note the following:
  • The * must replace the entire label. For example, you can't specify *prod.example.com or prod*.example.com.
  • The * can't replace any of the middle labels, for example, marketing.*.example.com.
  • If you include * in any position other than the leftmost label in a domain name, DNS treats it as an * character (ASCII 42), not as a wildcard. You can't use the * wildcard for resource records sets that have a type of NS.
You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com. You can't use an * for one of the middle labels, for example, marketing.*.example.com. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com.
type RRType 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 | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | 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. SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of 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:
  • 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 of AAAA.
  • AWS Elastic Beanstalk environment that has a regionalized subdomain: A
  • ELB load balancers: A | AAAA
  • Amazon S3 buckets: A
  • Another resource record set in this hosted zone: Specify the type of the resource record set for which you're creating the alias. Specify any value except NS or SOA.
return System