Skip to content

SendSSHPublicKeyRequest

Source code in docs_src/capo_ec2_instance_connect/types/send_ssh_public_key_request.py
class SendSSHPublicKeyRequest(TypedDict, closed=True):
    instance_id: "capo_ec2_instance_connect.types.instance_id.InstanceId"
    """<p>The ID of the EC2 instance.</p>"""
    instance_os_user: "capo_ec2_instance_connect.types.instance_os_user.InstanceOSUser"
    """<p>The OS user on the EC2 instance for whom the key can be used to authenticate.</p>"""
    ssh_public_key: "capo_ec2_instance_connect.types.ssh_public_key.SSHPublicKey"
    """<p>The public key material. To use the public key, you must have the matching private key.</p>"""
    availability_zone: NotRequired[
        "capo_ec2_instance_connect.types.availability_zone.AvailabilityZone"
    ]
    """<p>The Availability Zone in which the EC2 instance was launched.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[AvailabilityZone]

The Availability Zone in which the EC2 instance was launched.

instance_id instance-attribute

instance_id: InstanceId

The ID of the EC2 instance.

instance_os_user instance-attribute

instance_os_user: InstanceOSUser

The OS user on the EC2 instance for whom the key can be used to authenticate.

ssh_public_key instance-attribute

ssh_public_key: SSHPublicKey

The public key material. To use the public key, you must have the matching private key.