Class: Aws::Lightsail::Types::DomainEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::DomainEntry
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Describes a domain recordset entry.
Constant Summary collapse
- SENSITIVE =
[]
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, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web Services resource.
-
#name ⇒ String
The name of the domain.
-
#options ⇒ Hash<String,String>
(Discontinued) The options for the domain entry.
-
#target ⇒ String
The target IP address (‘192.0.2.0`), or AWS name server (`ns-111.awsdns-22.com.`).
-
#type ⇒ String
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).
Instance Attribute Details
#id ⇒ String
The ID of the domain recordset entry.
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |
#is_alias ⇒ Boolean
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.
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the domain.
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |
#options ⇒ Hash<String,String>
(Discontinued) 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 discontinued.
</note>
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |
#target ⇒ String
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.
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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`
6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6071 class DomainEntry < Struct.new( :id, :name, :target, :is_alias, :type, :options) SENSITIVE = [] include Aws::Structure end |