toValue method
Implementation
String toValue() {
switch (this) {
case ScalableDimension.autoscalingAutoScalingGroupDesiredCapacity:
return 'autoscaling:autoScalingGroup:DesiredCapacity';
case ScalableDimension.ecsServiceDesiredCount:
return 'ecs:service:DesiredCount';
case ScalableDimension.ec2SpotFleetRequestTargetCapacity:
return 'ec2:spot-fleet-request:TargetCapacity';
case ScalableDimension.rdsClusterReadReplicaCount:
return 'rds:cluster:ReadReplicaCount';
case ScalableDimension.dynamodbTableReadCapacityUnits:
return 'dynamodb:table:ReadCapacityUnits';
case ScalableDimension.dynamodbTableWriteCapacityUnits:
return 'dynamodb:table:WriteCapacityUnits';
case ScalableDimension.dynamodbIndexReadCapacityUnits:
return 'dynamodb:index:ReadCapacityUnits';
case ScalableDimension.dynamodbIndexWriteCapacityUnits:
return 'dynamodb:index:WriteCapacityUnits';
}
}