toValue method
Implementation
String toValue() {
switch (this) {
case ScalableDimension.ecsServiceDesiredCount:
return 'ecs:service:DesiredCount';
case ScalableDimension.ec2SpotFleetRequestTargetCapacity:
return 'ec2:spot-fleet-request:TargetCapacity';
case ScalableDimension.elasticmapreduceInstancegroupInstanceCount:
return 'elasticmapreduce:instancegroup:InstanceCount';
case ScalableDimension.appstreamFleetDesiredCapacity:
return 'appstream:fleet:DesiredCapacity';
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';
case ScalableDimension.rdsClusterReadReplicaCount:
return 'rds:cluster:ReadReplicaCount';
case ScalableDimension.sagemakerVariantDesiredInstanceCount:
return 'sagemaker:variant:DesiredInstanceCount';
case ScalableDimension.customResourceResourceTypeProperty:
return 'custom-resource:ResourceType:Property';
case ScalableDimension
.comprehendDocumentClassifierEndpointDesiredInferenceUnits:
return 'comprehend:document-classifier-endpoint:DesiredInferenceUnits';
case ScalableDimension
.comprehendEntityRecognizerEndpointDesiredInferenceUnits:
return 'comprehend:entity-recognizer-endpoint:DesiredInferenceUnits';
case ScalableDimension.lambdaFunctionProvisionedConcurrency:
return 'lambda:function:ProvisionedConcurrency';
case ScalableDimension.cassandraTableReadCapacityUnits:
return 'cassandra:table:ReadCapacityUnits';
case ScalableDimension.cassandraTableWriteCapacityUnits:
return 'cassandra:table:WriteCapacityUnits';
case ScalableDimension.kafkaBrokerStorageVolumeSize:
return 'kafka:broker-storage:VolumeSize';
}
}