AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DomainEntry

import "github.com/aws/aws-sdk-go/service/lightsail"

type DomainEntry struct { Id *string `locationName:"id" type:"string"` IsAlias *bool `locationName:"isAlias" type:"boolean"` Name *string `locationName:"name" type:"string"` Options map[string]*string `locationName:"options" deprecated:"true" type:"map"` Target *string `locationName:"target" type:"string"` Type *string `locationName:"type" type:"string"` }

Describes a domain recordset entry.

Id

Type: *string

The ID of the domain recordset entry.

IsAlias

Type: *bool

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

Type: *string

The name of the domain.

Options

Type: map[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.

Deprecated: Options has been deprecated

Target

Type: *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

Type: *string

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

Method

GoString

func (s DomainEntry) GoString() string

GoString returns the string representation

SetId

func (s *DomainEntry) SetId(v string) *DomainEntry

SetId sets the Id field's value.

SetIsAlias

func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry

SetIsAlias sets the IsAlias field's value.

SetName

func (s *DomainEntry) SetName(v string) *DomainEntry

SetName sets the Name field's value.

SetOptions

func (s *DomainEntry) SetOptions(v map[string]*string) *DomainEntry

SetOptions sets the Options field's value.

SetTarget

func (s *DomainEntry) SetTarget(v string) *DomainEntry

SetTarget sets the Target field's value.

SetType

func (s *DomainEntry) SetType(v string) *DomainEntry

SetType sets the Type field's value.

String

func (s DomainEntry) String() string

String returns the string representation

On this page: