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.

LaunchTemplateVersion

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

type LaunchTemplateVersion struct { CreateTime *time.Time `locationName:"createTime" type:"timestamp"` CreatedBy *string `locationName:"createdBy" type:"string"` DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` LaunchTemplateData *ResponseLaunchTemplateData `locationName:"launchTemplateData" type:"structure"` LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` VersionDescription *string `locationName:"versionDescription" type:"string"` VersionNumber *int64 `locationName:"versionNumber" type:"long"` }

Describes a launch template version.

CreateTime

Type: *time.Time

The time the version was created.

CreatedBy

Type: *string

The principal that created the version.

DefaultVersion

Type: *bool

Indicates whether the version is the default version.

LaunchTemplateData

The information for a launch template.

LaunchTemplateId

Type: *string

The ID of the launch template.

LaunchTemplateName

Type: *string

The name of the launch template.

VersionDescription

Type: *string

The description for the version.

VersionNumber

Type: *int64

The version number.

Method

GoString

func (s LaunchTemplateVersion) GoString() string

GoString returns the string representation

SetCreateTime

func (s *LaunchTemplateVersion) SetCreateTime(v time.Time) *LaunchTemplateVersion

SetCreateTime sets the CreateTime field's value.

SetCreatedBy

func (s *LaunchTemplateVersion) SetCreatedBy(v string) *LaunchTemplateVersion

SetCreatedBy sets the CreatedBy field's value.

SetDefaultVersion

func (s *LaunchTemplateVersion) SetDefaultVersion(v bool) *LaunchTemplateVersion

SetDefaultVersion sets the DefaultVersion field's value.

SetLaunchTemplateData

func (s *LaunchTemplateVersion) SetLaunchTemplateData(v *ResponseLaunchTemplateData) *LaunchTemplateVersion

SetLaunchTemplateData sets the LaunchTemplateData field's value.

SetLaunchTemplateId

func (s *LaunchTemplateVersion) SetLaunchTemplateId(v string) *LaunchTemplateVersion

SetLaunchTemplateId sets the LaunchTemplateId field's value.

SetLaunchTemplateName

func (s *LaunchTemplateVersion) SetLaunchTemplateName(v string) *LaunchTemplateVersion

SetLaunchTemplateName sets the LaunchTemplateName field's value.

SetVersionDescription

func (s *LaunchTemplateVersion) SetVersionDescription(v string) *LaunchTemplateVersion

SetVersionDescription sets the VersionDescription field's value.

SetVersionNumber

func (s *LaunchTemplateVersion) SetVersionNumber(v int64) *LaunchTemplateVersion

SetVersionNumber sets the VersionNumber field's value.

String

func (s LaunchTemplateVersion) String() string

String returns the string representation

On this page: