You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::DomainEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DomainEntry as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "NonEmptyString",
  name: "DomainName",
  target: "string",
  is_alias: false,
  type: "DomainEntryType",
  options: {
    "DomainEntryOptionsKeys" => "string",
  },
}

Describes a domain recordset entry.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the domain recordset entry.

Returns:

  • (String)

    The ID of the domain recordset entry.

#is_aliasBoolean

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

Returns:

  • (Boolean)

    When true, specifies whether the domain entry is an alias used by the Lightsail load balancer.

#nameString

The name of the domain.

Returns:

  • (String)

    The name of the domain.

#optionsHash<String,String>

(Deprecated) 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 deprecated.

Returns:

  • (Hash<String,String>)

    (Deprecated) The options for the domain entry.

#targetString

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.

Returns:

  • (String)

    The target AWS name server (e.g., ns-111.awsdns-22.com.).

#typeString

The type of domain entry (e.g., SOA or NS).

Returns:

  • (String)

    The type of domain entry (e.g., SOA or NS).