DomainEntry

public struct DomainEntry : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • id

    The ID of the domain recordset entry.

    Declaration

    Swift

    public let id: String?
  • When true, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancer

    Declaration

    Swift

    public let isAlias: Bool?
  • The name of the domain.

    Declaration

    Swift

    public let name: String?
  • The target AWS name server (e.g., ns-111.awsdns-22.com.). For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com. Be sure to also set isAlias to true when setting up an A record for a load balancer.

    Declaration

    Swift

    public let target: String?
  • The type of domain entry, such as address (A), 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 CNAME MX NS SOA SRV TXT

    Declaration

    Swift

    public let type: String?
  • Undocumented

    Declaration

    Swift

    public init(id: String? = nil, isAlias: Bool? = nil, name: String? = nil, target: String? = nil, type: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws