Class: Aws::Transfer::Types::ImportHostKeyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:host_key_body]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The text description that identifies this host key.

Returns:

  • (String)


3406
3407
3408
3409
3410
3411
3412
3413
# File 'lib/aws-sdk-transfer/types.rb', line 3406

class ImportHostKeyRequest < Struct.new(
  :server_id,
  :host_key_body,
  :description,
  :tags)
  SENSITIVE = [:host_key_body]
  include Aws::Structure
end

#host_key_bodyString

The private key portion of an SSH key pair.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

Returns:

  • (String)


3406
3407
3408
3409
3410
3411
3412
3413
# File 'lib/aws-sdk-transfer/types.rb', line 3406

class ImportHostKeyRequest < Struct.new(
  :server_id,
  :host_key_body,
  :description,
  :tags)
  SENSITIVE = [:host_key_body]
  include Aws::Structure
end

#server_idString

The identifier of the server that contains the host key that you are importing.

Returns:

  • (String)


3406
3407
3408
3409
3410
3411
3412
3413
# File 'lib/aws-sdk-transfer/types.rb', line 3406

class ImportHostKeyRequest < Struct.new(
  :server_id,
  :host_key_body,
  :description,
  :tags)
  SENSITIVE = [:host_key_body]
  include Aws::Structure
end

#tagsArray<Types::Tag>

Key-value pairs that can be used to group and search for host keys.

Returns:



3406
3407
3408
3409
3410
3411
3412
3413
# File 'lib/aws-sdk-transfer/types.rb', line 3406

class ImportHostKeyRequest < Struct.new(
  :server_id,
  :host_key_body,
  :description,
  :tags)
  SENSITIVE = [:host_key_body]
  include Aws::Structure
end