Class: Aws::EC2::Types::KeyPair

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

Overview

Describes a key pair.

Instance Attribute Summary collapse

Instance Attribute Details

#key_fingerprintString

The SHA-1 digest of the DER encoded private key.

Returns:

  • (String)


29920
29921
29922
29923
29924
29925
29926
29927
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29920

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name,
  :key_pair_id,
  :tags)
  include Aws::Structure
end

#key_materialString

An unencrypted PEM encoded RSA private key.

Returns:

  • (String)


29920
29921
29922
29923
29924
29925
29926
29927
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29920

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name,
  :key_pair_id,
  :tags)
  include Aws::Structure
end

#key_nameString

The name of the key pair.

Returns:

  • (String)


29920
29921
29922
29923
29924
29925
29926
29927
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29920

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name,
  :key_pair_id,
  :tags)
  include Aws::Structure
end

#key_pair_idString

The ID of the key pair.

Returns:

  • (String)


29920
29921
29922
29923
29924
29925
29926
29927
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29920

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name,
  :key_pair_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags applied to the key pair.

Returns:



29920
29921
29922
29923
29924
29925
29926
29927
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29920

class KeyPair < Struct.new(
  :key_fingerprint,
  :key_material,
  :key_name,
  :key_pair_id,
  :tags)
  include Aws::Structure
end