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