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.

LaunchTemplateTagSpecification

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

type LaunchTemplateTagSpecification struct { ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` }

The tag specification for the launch template.

ResourceType

Type: *string

The type of resource.

Tags

Describes a tag.

Method

GoString

func (s LaunchTemplateTagSpecification) GoString() string

GoString returns the string representation

SetResourceType

func (s *LaunchTemplateTagSpecification) SetResourceType(v string) *LaunchTemplateTagSpecification

SetResourceType sets the ResourceType field's value.

SetTags

func (s *LaunchTemplateTagSpecification) SetTags(v []*Tag) *LaunchTemplateTagSpecification

SetTags sets the Tags field's value.

String

func (s LaunchTemplateTagSpecification) String() string

String returns the string representation

LaunchTemplateTagSpecificationRequest

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

type LaunchTemplateTagSpecificationRequest struct { ResourceType *string `type:"string" enum:"ResourceType"` Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list"` }

The tags specification for the launch template.

ResourceType

Type: *string

The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. To tag a resource after it has been created, see CreateTags.

Tags

Describes a tag.

Method

GoString

func (s LaunchTemplateTagSpecificationRequest) GoString() string

GoString returns the string representation

SetResourceType

func (s *LaunchTemplateTagSpecificationRequest) SetResourceType(v string) *LaunchTemplateTagSpecificationRequest

SetResourceType sets the ResourceType field's value.

SetTags

func (s *LaunchTemplateTagSpecificationRequest) SetTags(v []*Tag) *LaunchTemplateTagSpecificationRequest

SetTags sets the Tags field's value.

String

func (s LaunchTemplateTagSpecificationRequest) String() string

String returns the string representation