EC2InstanceConnect
import { EC2InstanceConnect } from "https://aws-api.deno.dev/v0.2/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>;
§Constructors
§
new EC2InstanceConnect(apiFactory: client.ApiFactory)
[src]§Methods
§
sendSerialConsoleSSHPublicKey(params: SendSerialConsoleSSHPublicKeyRequest, opts?: client.RequestOptions): Promise<SendSerialConsoleSSHPublicKeyResponse>
[src]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.
§
sendSSHPublicKey(params: SendSSHPublicKeyRequest, opts?: client.RequestOptions): Promise<SendSSHPublicKeyResponse>
[src]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
§
ApiMetadata: client.ApiMetadata
[src]