Array of family names to fetch
Promise resolving to Map of family name to family data
import { getElastiCacheFamilies } from 'aws-instance-info/async'
const families = await getElastiCacheFamilies(['M5', 'R6g', 'T3'])
for (const [name, data] of families) {
console.log(`${name}: ${data.category}, ${data.nodeTypes.length} node types`)
}
// M5: general_purpose, 6 node types
// R6g: memory_optimized, 7 node types
// T3: burstable_performance, 3 node types
Get multiple ElastiCache families at once.