Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EC2InstanceConnect

import { EC2InstanceConnect } from "https://aws-api.deno.dev/v0.3/services/ec2instanceconnect.ts?docs=full";
class EC2InstanceConnect {
constructor(apiFactory: client.ApiFactory);
async sendSerialConsoleSSHPublicKey(params: SendSerialConsoleSSHPublicKeyRequest, opts?: client.RequestOptions): Promise<SendSerialConsoleSSHPublicKeyResponse>;
async sendSSHPublicKey(params: SendSSHPublicKeyRequest, opts?: client.RequestOptions): Promise<SendSSHPublicKeyResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new EC2InstanceConnect(apiFactory: client.ApiFactory)
[src]

§Methods

§

Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.

§

Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.

§Static Properties