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
- Struct
- Aws::Lightsail::Types::DomainEntry
- Defined in:
- (unknown)
Overview
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
-
#id ⇒ String
The ID of the domain recordset entry.
-
#is_alias ⇒ Boolean
When
true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. -
#name ⇒ String
The name of the domain.
-
#options ⇒ Hash<String,String>
(Deprecated) The options for the domain entry.
-
#target ⇒ String
The target AWS name server (e.g.,
ns-111.awsdns-22.com.
). -
#type ⇒ 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).
Instance Attribute Details
#id ⇒ String
The ID of the domain recordset entry.
#is_alias ⇒ Boolean
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.
#name ⇒ String
The name of the domain.
#options ⇒ Hash<String,String>
(Deprecated) The options for the domain entry.
#target ⇒ 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.
#type ⇒ 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