You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::KeyPair

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

Overview

Describes the SSH key pair.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Returns:

  • (String)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#created_atTime

The timestamp when the key pair was created (e.g., 1479816991.349).

Returns:

  • (Time)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#fingerprintString

The RSA fingerprint of the key pair.

Returns:

  • (String)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#locationTypes::ResourceLocation

The region name and Availability Zone where the key pair was created.



2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#nameString

The friendly name of the SSH key pair.

Returns:

  • (String)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#resource_typeString

The resource type (usually KeyPair).

Returns:

  • (String)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end

#support_codeString

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Returns:

  • (String)


2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2296

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :fingerprint)
  include Aws::Structure
end