AWS SDK Version 3 for .NET
API Reference

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.

Describes a domain recordset entry.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.DomainEntry

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class DomainEntry

The DomainEntry type exposes the following members

Constructors

NameDescription
Public Method DomainEntry()

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The ID of the domain recordset entry.

Public Property IsAlias System.Boolean

Gets and sets the property IsAlias.

When true, specifies whether the domain entry is an alias used by the Lightsail load balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to that resource.

Public Property Name System.String

Gets and sets the property Name.

The name of the domain.

Public Property Options System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Options.

(Discontinued) The options for the domain entry.

In releases prior to November 29, 2017, this parameter was not included in the API response. It is now discontinued.

Public Property Target System.String

Gets and sets the property Target.

The target IP address (192.0.2.0), or AWS name server (ns-111.awsdns-22.com.).

For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. For Lightsail distributions, the value looks like exampled1182ne.cloudfront.net. For Lightsail container services, the value looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com. Be sure to also set isAlias to true when setting up an A record for a Lightsail load balancer, distribution, or container service.

Public Property Type System.String

Gets and sets the property Type.

The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

The following domain entry types can be used:

  • A

  • AAAA

  • CNAME

  • MX

  • NS

  • SOA

  • SRV

  • TXT

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5