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

Class: Aws::Transfer::Types::ImportSshPublicKeyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ImportSshPublicKeyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  server_id: "ServerId", # required
  ssh_public_key_body: "SshPublicKeyBody", # required
  user_name: "UserName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#server_idString

A system-assigned unique identifier for a server.

Returns:

  • (String)

    A system-assigned unique identifier for a server.

#ssh_public_key_bodyString

The public key portion of an SSH key pair.

Returns:

  • (String)

    The public key portion of an SSH key pair.

#user_nameString

The name of the user account that is assigned to one or more servers.

Returns:

  • (String)

    The name of the user account that is assigned to one or more servers.