Instance types: (t2.micro, t2.small, c4.large...) those listed here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
I want to access a list of these through boto3. something like:
conn.get_all_instance_types()
or even
conn.describe_instance_types()['InstanceTypes'][0]['Name']
which everything seems to look like in this weird api.
I've looked through the docs for client and ServiceResource, but i can't find anything that seems to come close. I haven't even found a hacky solution that lists something else that happen to represent all the instance types.
Anyone with more experience of boto3?
There's now
boto3.client('ec2').describe_instance_types()and corresponding aws-cli commandaws ec2 describe-instance-types:Expect about 3s of running time.