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)


9778
9779
9780
9781
9782
9783
# File 'lib/aws-sdk-lightsail/types.rb', line 9778

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)


9778
9779
9780
9781
9782
9783
# File 'lib/aws-sdk-lightsail/types.rb', line 9778

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