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)


9761
9762
9763
9764
9765
9766
# File 'lib/aws-sdk-lightsail/types.rb', line 9761

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)


9761
9762
9763
9764
9765
9766
# File 'lib/aws-sdk-lightsail/types.rb', line 9761

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