enum ServiceNamespace
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ApplicationAutoScaling.ServiceNamespace |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#ServiceNamespace |
![]() | software.amazon.awscdk.services.applicationautoscaling.ServiceNamespace |
![]() | aws_cdk.aws_applicationautoscaling.ServiceNamespace |
![]() | aws-cdk-lib » aws_applicationautoscaling » ServiceNamespace |
The service that supports Application AutoScaling.
Example
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
Name | 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. |
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.