discontinuedPackage aws_deploy_api has been discontinued and replaced by aws_client.

toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ComputePlatform.server:
      return 'Server';
    case ComputePlatform.lambda:
      return 'Lambda';
    case ComputePlatform.ecs:
      return 'ECS';
  }
}