Get all instance types belonging to a specific EC2 family.
The instance family (e.g., "M5")
Promise resolving to array of instance type names in the family
import { getEC2FamilyInstanceTypes } from 'aws-instance-info/async'const types = await getEC2FamilyInstanceTypes('M5')console.log(types) // ['m5.large', 'm5.xlarge', 'm5.2xlarge', ...] Copy
import { getEC2FamilyInstanceTypes } from 'aws-instance-info/async'const types = await getEC2FamilyInstanceTypes('M5')console.log(types) // ['m5.large', 'm5.xlarge', 'm5.2xlarge', ...]
Get all instance types belonging to a specific EC2 family.