Check if an ElastiCache node type exists in the dataset.
The node type to check
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')) // trueconsole.log(await isValidElastiCacheNodeType('cache.m5.invalid')) // falseconsole.log(await isValidElastiCacheNodeType('cache.t3.micro')) // true Copy
import { isValidElastiCacheNodeType } from 'aws-instance-info/async'console.log(await isValidElastiCacheNodeType('cache.m5.large')) // trueconsole.log(await isValidElastiCacheNodeType('cache.m5.invalid')) // falseconsole.log(await isValidElastiCacheNodeType('cache.t3.micro')) // true
Check if an ElastiCache node type exists in the dataset.