Class ServiceNamespace
The service that supports Application AutoScaling.
Inheritance
System.Object
ServiceNamespace
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ServiceNamespace : Enum
Syntax (vb)
Public NotInheritable Class ServiceNamespace
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var shardsScalableTarget = new ScalableTarget(this, "ElastiCacheRedisShardsScalableTarget", new ScalableTargetProps {
ServiceNamespace = ServiceNamespace.ELASTICACHE,
ScalableDimension = "elasticache:replication-group:NodeGroups",
MinCapacity = 2,
MaxCapacity = 10,
ResourceId = "replication-group/main-cluster"
});
shardsScalableTarget.ScaleToTrackMetric("ElastiCacheRedisShardsCPUUtilization", new BasicTargetTrackingScalingPolicyProps {
TargetValue = 20,
PredefinedMetric = PredefinedMetric.ELASTICACHE_PRIMARY_ENGINE_CPU_UTILIZATION
});
Synopsis
Fields
APPSTREAM | App Stream. |
COMPREHEND | Comprehend. |
CUSTOM_RESOURCE | Custom Resource. |
DYNAMODB | Dynamo DB. |
EC2 | Elastic Compute Cloud. |
ECS | Elastic Container Service. |
ELASTIC_MAP_REDUCE | Elastic Map Reduce. |
ELASTICACHE | ElastiCache. |
KAFKA | Kafka. |
LAMBDA | Lambda. |
NEPTUNE | Neptune. |
RDS | Relational Database Service. |
SAGEMAKER | SageMaker. |
value__ |
Fields
APPSTREAM
COMPREHEND
CUSTOM_RESOURCE
Custom Resource.
public const ServiceNamespace CUSTOM_RESOURCE
Field Value
Type | Description |
---|---|
ServiceNamespace |
DYNAMODB
EC2
Elastic Compute Cloud.
public const ServiceNamespace EC2
Field Value
Type | Description |
---|---|
ServiceNamespace |
ECS
Elastic Container Service.
public const ServiceNamespace ECS
Field Value
Type | Description |
---|---|
ServiceNamespace |
ELASTIC_MAP_REDUCE
Elastic Map Reduce.
public const ServiceNamespace ELASTIC_MAP_REDUCE
Field Value
Type | Description |
---|---|
ServiceNamespace |
ELASTICACHE
ElastiCache.
public const ServiceNamespace ELASTICACHE
Field Value
Type | Description |
---|---|
ServiceNamespace |
KAFKA
LAMBDA
NEPTUNE
RDS
Relational Database Service.
public const ServiceNamespace RDS
Field Value
Type | Description |
---|---|
ServiceNamespace |
SAGEMAKER
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |