aws-instance-info - v1.0.0
    Preparing search index...

    Function getEC2FamilyInstanceTypes

    • Get all instance types belonging to a specific EC2 family.

      Parameters

      • family: string

        The instance family (e.g., "M5")

      Returns Promise<string[]>

      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', ...]