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
| Member | Description |
|---|---|
ECS | Elastic Container Service. |
ELASTIC_MAP_REDUCE | Elastic Map Reduce. |
EC2 | Elastic Compute Cloud. |
APPSTREAM | App Stream. |
DYNAMODB | Dynamo DB. |
RDS | Relational Database Service. |
SAGEMAKER | SageMaker. |
CUSTOM_RESOURCE | Custom Resource. |
LAMBDA | Lambda. |
COMPREHEND | Comprehend. |
KAFKA | Kafka. |
ELASTICACHE | ElastiCache. |
NEPTUNE | Neptune. |
CASSANDRA | Cassandra. |
WORKSPACES | Workspaces. |
Referenced by
BaseScalableAttributeProps.serviceNamespaceservice_namespaceserviceNamespaceServiceNamespaceServiceNamespaceScalableTargetProps.serviceNamespaceservice_namespaceserviceNamespaceServiceNamespaceServiceNamespace