AWS EC2 Delete Key Pair VERSION 1

Deletes the specified key pair, by removing the public key from Amazon EC2.

The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.


Dry RunDry run validates user permissions and inputs without completing the EC2 action (true or false).
Key NameThe name of the key pair to be deleted.

Sample Configuration

Dry Runfalse
Key Namesample-key


This handler does not return any results.


No Changelog Available.