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.


Parameters

NameDescription
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

NameDescription
Dry Runfalse
Key Namesample-key

Results

This handler does not return any results.


Changelog

AWS EC2 Delete Key Pair V1 (2017-08-22)

* Initial version. See README for details.