You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::GetInstanceAccessDetailsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass GetInstanceAccessDetailsRequest data as a hash:

{
  instance_name: "ResourceName", # required
  protocol: "ssh", # accepts ssh, rdp
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_nameString

The name of the instance to access.

Returns:

  • (String)


1236
1237
1238
1239
1240
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1236

class GetInstanceAccessDetailsRequest < Struct.new(
  :instance_name,
  :protocol)
  include Aws::Structure
end

#protocolString

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

Returns:

  • (String)


1236
1237
1238
1239
1240
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1236

class GetInstanceAccessDetailsRequest < Struct.new(
  :instance_name,
  :protocol)
  include Aws::Structure
end