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.

DomainValidationOption

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

type DomainValidationOption struct { DomainName *string `min:"1" type:"string" required:"true"` ValidationDomain *string `min:"1" type:"string" required:"true"` }

Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.

DomainName

Type: *string

A fully qualified domain name (FQDN) in the certificate request.

DomainName is a required field

ValidationDomain

Type: *string

The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you request a certificate for testing.example.com, you can specify example.com for this value. In that case, ACM sends domain validation emails to the following five addresses:

  • admin@example.com

  • administrator@example.com

  • hostmaster@example.com

  • postmaster@example.com

  • webmaster@example.com

ValidationDomain is a required field

Method

GoString

func (s DomainValidationOption) GoString() string

GoString returns the string representation

SetDomainName

func (s *DomainValidationOption) SetDomainName(v string) *DomainValidationOption

SetDomainName sets the DomainName field's value.

SetValidationDomain

func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidationOption

SetValidationDomain sets the ValidationDomain field's value.

String

func (s DomainValidationOption) String() string

String returns the string representation

Validate

func (s *DomainValidationOption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: