Get all available EC2 instance types.
Array of all instance type names
import { getAllEC2InstanceTypes } from 'aws-instance-info'const types = getAllEC2InstanceTypes()console.log(types) // ['m5.large', 'm5.xlarge', 'c7.2xlarge', ...]console.log(types.length) // ~1000 Copy
import { getAllEC2InstanceTypes } from 'aws-instance-info'const types = getAllEC2InstanceTypes()console.log(types) // ['m5.large', 'm5.xlarge', 'c7.2xlarge', ...]console.log(types.length) // ~1000
Get all available EC2 instance types.