amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.KeyPair

Description

 
Synopsis

Documentation

data KeyPair Source #

Describes an SSH key pair.

See: newKeyPair smart constructor.

Constructors

KeyPair' 

Fields

  • arn :: Maybe Text

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

  • createdAt :: Maybe POSIX

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

  • fingerprint :: Maybe Text

    The RSA fingerprint of the key pair.

  • location :: Maybe ResourceLocation

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

  • name :: Maybe Text

    The friendly name of the SSH key pair.

  • resourceType :: Maybe ResourceType

    The resource type (usually KeyPair).

  • supportCode :: Maybe Text

    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.

  • tags :: Maybe [Tag]

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

Instances

Instances details
FromJSON KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Generic KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Associated Types

type Rep KeyPair :: Type -> Type #

Methods

from :: KeyPair -> Rep KeyPair x #

to :: Rep KeyPair x -> KeyPair #

Read KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Show KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

NFData KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

rnf :: KeyPair -> () #

Eq KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

(==) :: KeyPair -> KeyPair -> Bool #

(/=) :: KeyPair -> KeyPair -> Bool #

Hashable KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

hashWithSalt :: Int -> KeyPair -> Int #

hash :: KeyPair -> Int #

type Rep KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

newKeyPair :: KeyPair Source #

Create a value of KeyPair with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:createdAt:KeyPair', keyPair_createdAt - The timestamp when the key pair was created (e.g., 1479816991.349).

$sel:fingerprint:KeyPair', keyPair_fingerprint - The RSA fingerprint of the key pair.

$sel:location:KeyPair', keyPair_location - The region name and Availability Zone where the key pair was created.

$sel:name:KeyPair', keyPair_name - The friendly name of the SSH key pair.

$sel:resourceType:KeyPair', keyPair_resourceType - The resource type (usually KeyPair).

$sel:supportCode:KeyPair', keyPair_supportCode - 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.

$sel:tags:KeyPair', keyPair_tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

keyPair_arn :: Lens' KeyPair (Maybe Text) Source #

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

keyPair_createdAt :: Lens' KeyPair (Maybe UTCTime) Source #

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

keyPair_fingerprint :: Lens' KeyPair (Maybe Text) Source #

The RSA fingerprint of the key pair.

keyPair_location :: Lens' KeyPair (Maybe ResourceLocation) Source #

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

keyPair_name :: Lens' KeyPair (Maybe Text) Source #

The friendly name of the SSH key pair.

keyPair_resourceType :: Lens' KeyPair (Maybe ResourceType) Source #

The resource type (usually KeyPair).

keyPair_supportCode :: Lens' KeyPair (Maybe Text) Source #

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.

keyPair_tags :: Lens' KeyPair (Maybe [Tag]) Source #

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