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

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

Overview

Describes an SSH key pair.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#created_atTime

The timestamp when the key pair was created (‘1479816991.349`).

Returns:

  • (Time)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#fingerprintString

The RSA fingerprint of the key pair.

Returns:

  • (String)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#locationTypes::ResourceLocation

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



10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#nameString

The friendly name of the SSH key pair.

Returns:

  • (String)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#resource_typeString

The resource type (usually ‘KeyPair`).

Returns:

  • (String)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

class KeyPair < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :fingerprint)
  SENSITIVE = []
  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)


10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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

#tagsArray<Types::Tag>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the [Amazon Lightsail Developer Guide].

[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags

Returns:



10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
# File 'lib/aws-sdk-lightsail/types.rb', line 10895

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