Skip to content
v2.273.0

ServiceNamespace Enum ​

The service that supports Application AutoScaling.

Example ​

ts
const shardsScalableTarget = new appscaling.ScalableTarget(this, 'ElastiCacheRedisShardsScalableTarget', {
  serviceNamespace: appscaling.ServiceNamespace.ELASTICACHE,
  scalableDimension: 'elasticache:replication-group:NodeGroups',
  minCapacity: 2,
  maxCapacity: 10,
  resourceId: 'replication-group/main-cluster',
});

shardsScalableTarget.scaleToTrackMetric('ElastiCacheRedisShardsCPUUtilization', {
  targetValue: 20,
  predefinedMetric: appscaling.PredefinedMetric.ELASTICACHE_PRIMARY_ENGINE_CPU_UTILIZATION,
});

Members ​

MemberDescription
ECSElastic Container Service.
ELASTIC_MAP_REDUCEElastic Map Reduce.
EC2Elastic Compute Cloud.
APPSTREAMApp Stream.
DYNAMODBDynamo DB.
RDSRelational Database Service.
SAGEMAKERSageMaker.
CUSTOM_RESOURCECustom Resource.
LAMBDALambda.
COMPREHENDComprehend.
KAFKAKafka.
ELASTICACHEElastiCache.
NEPTUNENeptune.
CASSANDRACassandra.
WORKSPACESWorkspaces.

Referenced by ​