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.

ResourceRecord

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

type ResourceRecord struct { Name *string `type:"string" required:"true"` Type *string `type:"string" required:"true" enum:"RecordType"` Value *string `type:"string" required:"true"` }

Contains a DNS record value that you can use to can use to validate ownership or control of a domain. This is used by the DescribeCertificate action.

Name

Type: *string

The name of the DNS record to create in your domain. This is supplied by ACM.

Name is a required field

Type

Type: *string

The type of DNS record. Currently this can be CNAME.

Type is a required field

Value

Type: *string

The value of the CNAME record to add to your DNS database. This is supplied by ACM.

Value is a required field

Method

GoString

func (s ResourceRecord) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetType

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

SetType sets the Type field's value.

SetValue

func (s *ResourceRecord) SetValue(v string) *ResourceRecord

SetValue sets the Value field's value.

String

func (s ResourceRecord) String() string

String returns the string representation

On this page: