UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

16 lines (15 loc) 632 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NODE_REGION_CONFIG_FILE_OPTIONS = exports.NODE_REGION_CONFIG_OPTIONS = exports.REGION_INI_NAME = exports.REGION_ENV_NAME = void 0; exports.REGION_ENV_NAME = "AWS_REGION"; exports.REGION_INI_NAME = "region"; exports.NODE_REGION_CONFIG_OPTIONS = { environmentVariableSelector: (env) => env[exports.REGION_ENV_NAME], configFileSelector: (profile) => profile[exports.REGION_INI_NAME], default: () => { throw new Error("Region is missing"); }, }; exports.NODE_REGION_CONFIG_FILE_OPTIONS = { preferredFile: "credentials", };