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.

GetInstanceAccessDetailsInput

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

type GetInstanceAccessDetailsInput struct { InstanceName *string `locationName:"instanceName" type:"string" required:"true"` Protocol *string `locationName:"protocol" type:"string" enum:"InstanceAccessProtocol"` }

InstanceName

Type: *string

The name of the instance to access.

InstanceName is a required field

Protocol

Type: *string

The protocol to use to connect to your instance. Defaults to ssh.

Method

GoString

func (s GetInstanceAccessDetailsInput) GoString() string

GoString returns the string representation

SetInstanceName

func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput

SetInstanceName sets the InstanceName field's value.

SetProtocol

func (s *GetInstanceAccessDetailsInput) SetProtocol(v string) *GetInstanceAccessDetailsInput

SetProtocol sets the Protocol field's value.

String

func (s GetInstanceAccessDetailsInput) String() string

String returns the string representation

Validate

func (s *GetInstanceAccessDetailsInput) Validate() error

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

On this page: