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

    Function isValidElastiCacheNodeType

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

      Parameters

      • nodeType: string

        The node type to check

      Returns Promise<boolean>

      Promise resolving to true if the node type exists, false otherwise

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

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