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.

8 lines (7 loc) 408 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromStatic = void 0; const property_provider_1 = require("@aws-sdk/property-provider"); const isFunction = (func) => typeof func === "function"; const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : property_provider_1.fromStatic(defaultValue); exports.fromStatic = fromStatic;