| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| export const NAMING_CONVENTION_AWS = { |
| 'cloud_provider': 'aws', |
| 'personal_storage': 'Project bucket', |
| 'account': '', |
| 'container': '', |
| 'image': 'AMI', |
| 'data_engine_master_instance_size': 'Master instance shape', |
| 'data_engine_slave_instance_size': 'Slave instance shape', |
| 'master_node_shape': 'master_node_shape', |
| 'slave_node_shape': 'slave_node_shape', |
| 'total_instance_number': 'total_instance_number', |
| 'spot_instance': 'Spot instance', |
| 'cluster_version': 'emr_version', |
| 'max_cluster_name_length': 10, |
| 'billing': { |
| 'resourceName': 'resource_name', |
| 'cost': 'cost', |
| 'costTotal': 'cost_total', |
| 'currencyCode': 'currency_code', |
| 'dateFrom': 'from', |
| 'dateTo': 'to', |
| 'service': 'product', |
| 'service_filter_key': 'product', |
| 'type': 'resource_type', |
| 'resourceType': 'dlab_resource_type', |
| 'instance_size': 'shape', |
| 'dlabId': 'dlab_id' |
| }, |
| 'service': 'Service', |
| 'type': 'Type', |
| 'instance_size': 'Shape', |
| 'user_storage_account_name': '', |
| 'shared_storage_account_name': '', |
| 'bucket_name': 'user_own_bicket_name', |
| 'shared_bucket_name': 'shared_bucket_name', |
| 'datalake_name': '', |
| 'datalake_user_directory_name': '', |
| 'datalake_shared_directory_name': '', |
| 'docker.dlab-dataengine-service': { |
| 'total_instance_number_min': 'min_emr_instance_count', |
| 'total_instance_number_max': 'max_emr_instance_count', |
| 'min_emr_spot_instance_bid_pct': 'min_emr_spot_instance_bid_pct', |
| 'max_emr_spot_instance_bid_pct': 'max_emr_spot_instance_bid_pct', |
| 'master_node_shape': 'master_node_shape', |
| 'slave_node_shape': 'slave_node_shape', |
| 'total_instance_number': 'total_instance_number', |
| }, |
| 'docker.dlab-dataengine': { |
| 'total_instance_number_min': 'min_spark_instance_count', |
| 'total_instance_number_max': 'max_spark_instance_count', |
| 'data_engine_master_instance_size': 'Node shape', |
| 'master_node_shape': 'dataengine_instance_shape', |
| 'total_instance_number': 'dataengine_instance_count', |
| }, |
| }; |
| |
| |