Class: Aws::Lightsail::Types::ImportKeyPairRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_pair_nameString

The name of the key pair for which you want to import the public key.

Returns:

  • (String)


9928
9929
9930
9931
9932
9933
# File 'lib/aws-sdk-lightsail/types.rb', line 9928

class ImportKeyPairRequest < Struct.new(
  :key_pair_name,
  :public_key_base_64)
  SENSITIVE = []
  include Aws::Structure
end

#public_key_base_64String

A base64-encoded public key of the ssh-rsa type.

Returns:

  • (String)


9928
9929
9930
9931
9932
9933
# File 'lib/aws-sdk-lightsail/types.rb', line 9928

class ImportKeyPairRequest < Struct.new(
  :key_pair_name,
  :public_key_base_64)
  SENSITIVE = []
  include Aws::Structure
end