Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data KeyPair = KeyPair' {
- resourceType :: Maybe ResourceType
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- fingerprint :: Maybe Text
- name :: Maybe Text
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newKeyPair :: KeyPair
- keyPair_resourceType :: Lens' KeyPair (Maybe ResourceType)
- keyPair_arn :: Lens' KeyPair (Maybe Text)
- keyPair_createdAt :: Lens' KeyPair (Maybe UTCTime)
- keyPair_location :: Lens' KeyPair (Maybe ResourceLocation)
- keyPair_fingerprint :: Lens' KeyPair (Maybe Text)
- keyPair_name :: Lens' KeyPair (Maybe Text)
- keyPair_supportCode :: Lens' KeyPair (Maybe Text)
- keyPair_tags :: Lens' KeyPair (Maybe [Tag])
Documentation
Describes an SSH key pair.
See: newKeyPair
smart constructor.
KeyPair' | |
|
Instances
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_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.