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

    Function isValidElastiCacheNodeType

    • Check if an Elasticache node type exists in the dataset.

      Parameters

      • nodeType: string

        The node type to check

      Returns boolean

      True if the node type exists, false otherwise

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

      console.log(isValidElastiCacheNodeType('cache.m5.large')) // true
      console.log(isValidElastiCacheNodeType('cache.m5.invalid')) // false
      console.log(isValidElastiCacheNodeType('cache.t3.micro')) // true