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

CreateKeyPairRequest

import type { CreateKeyPairRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface CreateKeyPairRequest {
DryRun?: boolean | null;
KeyName: string;
KeyType?: KeyType | null;
TagSpecifications?: TagSpecification[] | null;
}

§Properties

§
DryRun?: boolean | null
[src]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

§
KeyName: string
[src]

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

§
KeyType?: KeyType | null
[src]

The type of key pair. Note that ED25519 keys are not supported for Windows instances, EC2 Instance Connect, and EC2 Serial Console.

Default: rsa

§
TagSpecifications?: TagSpecification[] | null
[src]

The tags to apply to the new key pair.