Cookbook for create security group for AWS



I want to know any chef-cookbook available for create a security group or
instance or key pair in Amazon web service EC2 and Open stack. Apart from aws
cookbook, without any interface any cookbook available for create security
group, instance and key pair. Or any ruby code will available for these
concepts anything ?? please send anything what you have or send any solution
for this as soon as possible.

Thanks and Regards,