Skip to content

DeleteKeyPairRequest

Source code in docs_src/capo_lightsail/types/delete_key_pair_request.py
class DeleteKeyPairRequest(TypedDict, closed=True):
    key_pair_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the key pair to delete.</p>"""
    expected_fingerprint: NotRequired["capo_lightsail.types.string.string"]
    """<p>The RSA fingerprint of the Lightsail default key pair to delete.</p> <note> <p>The <code>expectedFingerprint</code> parameter is required only when specifying to delete a Lightsail default key pair.</p> </note>"""

expected_fingerprint instance-attribute

expected_fingerprint: NotRequired[string]

The RSA fingerprint of the Lightsail default key pair to delete.

The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key pair.

key_pair_name instance-attribute

key_pair_name: ResourceName

The name of the key pair to delete.