aws-instance-info - v0.2.1
    Preparing search index...

    Function getEC2FamilyInstanceTypes

    • Get all instance types belonging to a specific EC2 family. This loads the family file but only returns the list of instance types.

      Parameters

      Returns EC2InstanceType[]

      Array of instance type names in the family

      import { getEC2FamilyInstanceTypes } from 'aws-instance-info'

      const types = getEC2FamilyInstanceTypes('M5')
      console.log(types) // ['m5.large', 'm5.xlarge', 'm5.2xlarge', ...]