AWS::EC2::KeyPair - AWS CloudFormation
Use the AWS CloudFormation AWS::EC2::KeyPair resource for EC2.