Skip to content

KeyPair

Source code in docs_src/capo_lightsail/types/key_pair.py
class KeyPair(TypedDict, closed=True):
    name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The friendly name of the SSH key pair.</p>"""
    arn: NotRequired["capo_lightsail.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Resource Name (ARN) of the key pair (<code>arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE</code>).</p>"""
    support_code: NotRequired["capo_lightsail.types.string.string"]
    """<p>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.</p>"""
    created_at: NotRequired["capo_lightsail.types.iso_date.IsoDate"]
    """<p>The timestamp when the key pair was created (<code>1479816991.349</code>).</p>"""
    location: NotRequired["capo_lightsail.types.resource_location.ResourceLocation"]
    """<p>The region name and Availability Zone where the key pair was created.</p>"""
    resource_type: NotRequired["capo_lightsail.types.resource_type.ResourceType"]
    """<p>The resource type (usually <code>KeyPair</code>).</p>"""
    tags: NotRequired["capo_lightsail.types.tag_list.TagList"]
    """<p>The tag keys and optional values for the resource. For more information about tags in Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>"""
    fingerprint: NotRequired["capo_lightsail.types.base64.Base64"]
    """<p>The RSA fingerprint of the key pair.</p>"""

arn instance-attribute

arn: NotRequired[NonEmptyString]

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

created_at instance-attribute

created_at: NotRequired[IsoDate]

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

fingerprint instance-attribute

fingerprint: NotRequired[Base64]

The RSA fingerprint of the key pair.

location instance-attribute

location: NotRequired[ResourceLocation]

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

name instance-attribute

name: NotRequired[ResourceName]

The friendly name of the SSH key pair.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The resource type (usually KeyPair).

support_code instance-attribute

support_code: NotRequired[string]

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 instance-attribute

tags: NotRequired[TagList]

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