@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) • 471 B
JavaScript
import { __assign } from "tslib";
import { normalizeBoolean } from "./utils/normalizeBoolean";
import { normalizeEndpoint } from "./utils/normalizeEndpoint";
export var resolveCustomEndpointsConfig = function (input) {
var _a;
return (__assign(__assign({}, input), { tls: (_a = input.tls) !== null && _a !== void 0 ? _a : true, endpoint: normalizeEndpoint(input), isCustomEndpoint: true, useDualstackEndpoint: normalizeBoolean(input.useDualstackEndpoint) }));
};