class Aws::Lightsail::Types::DomainEntry
Describes a domain recordset entry.
@note When making an API call, you may pass DomainEntry
data as a hash: { id: "NonEmptyString", name: "DomainName", target: "string", is_alias: false, type: "DomainEntryType", options: { "DomainEntryOptionsKeys" => "string", }, }
@!attribute [rw] id
The ID of the domain recordset entry. @return [String]
@!attribute [rw] name
The name of the domain. @return [String]
@!attribute [rw] target
The target IP address (e.g., `192.0.2.0`), or 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`. 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. @return [String]
@!attribute [rw] is_alias
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. @return [Boolean]
@!attribute [rw] 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` @return [String]
@!attribute [rw] options
(Deprecated) The options for the domain entry. <note markdown="1"> In releases prior to November 29, 2017, this parameter was not included in the API response. It is now deprecated. </note> @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry AWS API Documentation
Constants
- SENSITIVE