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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#server_idString

A system-assigned unique identifier for a server.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1017

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

#ssh_public_key_bodyString

The public key portion of an SSH key pair.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1017

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

#user_nameString

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

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1017

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