libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.KeyPair

Description

 
Synopsis

Documentation

data KeyPair Source #

Describes an SSH key pair.

See: newKeyPair smart constructor.

Constructors

KeyPair' 

Fields

  • resourceType :: Maybe ResourceType

    The resource type (usually KeyPair).

  • 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).

  • location :: Maybe ResourceLocation

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

  • fingerprint :: Maybe Text

    The RSA fingerprint of the key pair.

  • name :: Maybe Text

    The friendly name of the SSH key pair.

  • 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
Eq KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

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

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

Read KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Show 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 #

NFData KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

rnf :: KeyPair -> () #

Hashable KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

Methods

hashWithSalt :: Int -> KeyPair -> Int #

hash :: KeyPair -> Int #

FromJSON KeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.Types.KeyPair

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:resourceType:KeyPair', keyPair_resourceType - The resource type (usually KeyPair).

$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:location:KeyPair', keyPair_location - The region name and Availability Zone where the key pair was created.

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

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

$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_resourceType :: Lens' KeyPair (Maybe ResourceType) Source #

The resource type (usually KeyPair).

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_location :: Lens' KeyPair (Maybe ResourceLocation) Source #

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

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

The RSA fingerprint of the key pair.

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

The friendly name of the SSH key pair.

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.