AWS EC2

Delete key pair

Delete a key pair by removing the public key from Amazon EC2. If the key pair does not exist no key pairs are removed, but the action is still successful.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

keyName

string

The name of the key pair.

keyPairId

string

The ID of the key pair.

Outputs

Field

Type

Description

amzRequestId [required]

string