KeyPair

KeyPair(name)

Creates a KeyPairInfo resource.:

key_pair_info = ec2.KeyPair('name')
Parameters
name (string) -- The KeyPair's name identifier. This must be set.
Return type
EC2.KeyPairInfo
Returns
A KeyPairInfo resource