Class: Aws::Lightsail::Types::CreateKeyPairResult

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_pairTypes::KeyPair

An array of key-value pairs containing information about the new key pair you just created.

Returns:



4285
4286
4287
4288
4289
4290
4291
4292
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4285

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  SENSITIVE = []
  include Aws::Structure
end

#operationTypes::Operation

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

Returns:



4285
4286
4287
4288
4289
4290
4291
4292
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4285

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  SENSITIVE = []
  include Aws::Structure
end

#private_key_base_64String

A base64-encoded RSA private key.

Returns:

  • (String)


4285
4286
4287
4288
4289
4290
4291
4292
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4285

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  SENSITIVE = []
  include Aws::Structure
end

#public_key_base_64String

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

Returns:

  • (String)


4285
4286
4287
4288
4289
4290
4291
4292
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4285

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  SENSITIVE = []
  include Aws::Structure
end