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)


3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-transfer/types.rb', line 3447

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)


3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-transfer/types.rb', line 3447

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)


3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-transfer/types.rb', line 3447

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:



3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-transfer/types.rb', line 3447

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