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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-transfer/types.rb

Overview

Note:

When making an API call, you may pass ImportSshPublicKeyRequest data as a 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 an SFTP server.

Returns:

  • (String)


504
505
506
507
508
509
# File 'lib/aws-sdk-transfer/types.rb', line 504

class ImportSshPublicKeyRequest < Struct.new(
  :server_id,
  :ssh_public_key_body,
  :user_name)
  include Aws::Structure
end

#ssh_public_key_bodyString

The public key portion of an SSH key pair.

Returns:

  • (String)


504
505
506
507
508
509
# File 'lib/aws-sdk-transfer/types.rb', line 504

class ImportSshPublicKeyRequest < Struct.new(
  :server_id,
  :ssh_public_key_body,
  :user_name)
  include Aws::Structure
end

#user_nameString

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

Returns:

  • (String)


504
505
506
507
508
509
# File 'lib/aws-sdk-transfer/types.rb', line 504

class ImportSshPublicKeyRequest < Struct.new(
  :server_id,
  :ssh_public_key_body,
  :user_name)
  include Aws::Structure
end