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.

Tag

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

type Tag struct { Key *string `type:"string"` Value *string `type:"string"` }

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

Key

Type: *string

The value of Key depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag.

  • Edit a tag: Key is the name of the tag that you want to change the Value for.

  • Delete a key: Key is the name of the tag you want to remove.

  • Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.

Value

Type: *string

The value of Value depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag.

  • Edit a tag: Value is the new value that you want to assign the tag.

Method

GoString

func (s Tag) GoString() string

GoString returns the string representation

SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

SetValue

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

SetValue sets the Value field's value.

String

func (s Tag) String() string

String returns the string representation

On this page: