Get the category for an ElastiCache node family.
The node family (e.g., "M5")
Promise resolving to the category (e.g., "general_purpose")
import { getElastiCacheFamilyCategory } from 'aws-instance-info/async'const category = await getElastiCacheFamilyCategory('M5')console.log(category) // 'general_purpose'const category2 = await getElastiCacheFamilyCategory('R6g')console.log(category2) // 'memory_optimized' Copy
import { getElastiCacheFamilyCategory } from 'aws-instance-info/async'const category = await getElastiCacheFamilyCategory('M5')console.log(category) // 'general_purpose'const category2 = await getElastiCacheFamilyCategory('R6g')console.log(category2) // 'memory_optimized'
Get the category for an ElastiCache node family.