ServiceResource / Sub-Resource / KeyPair
KeyPair#
- EC2.ServiceResource.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:
- Returns:
A KeyPairInfo resource