Get all node types belonging to a specific Elasticache family. This loads the family file but only returns the list of node types.
The node family (e.g., "M5")
Array of node type names in the family
import { getElastiCacheFamilyNodeTypes } from 'aws-instance-info'const nodeTypes = getElastiCacheFamilyNodeTypes('M5')console.log(nodeTypes) // ['cache.m5.large', 'cache.m5.xlarge', 'cache.m5.2xlarge', ...] Copy
import { getElastiCacheFamilyNodeTypes } from 'aws-instance-info'const nodeTypes = getElastiCacheFamilyNodeTypes('M5')console.log(nodeTypes) // ['cache.m5.large', 'cache.m5.xlarge', 'cache.m5.2xlarge', ...]
Get all node types belonging to a specific Elasticache family. This loads the family file but only returns the list of node types.