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.

LaunchTemplateOverrides

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

type LaunchTemplateOverrides struct { InstanceType *string `min:"1" type:"string"` }

Describes an override for a launch template.

InstanceType

Type: *string

The instance type.

For information about available instance types, see Available Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) in the Amazon Elastic Compute Cloud User Guide.

Method

GoString

func (s LaunchTemplateOverrides) GoString() string

GoString returns the string representation

SetInstanceType

func (s *LaunchTemplateOverrides) SetInstanceType(v string) *LaunchTemplateOverrides

SetInstanceType sets the InstanceType field's value.

String

func (s LaunchTemplateOverrides) String() string

String returns the string representation

Validate

func (s *LaunchTemplateOverrides) Validate() error

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

On this page: