@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.
9 lines (8 loc) • 461 B
JavaScript
import { EndpointMode } from "./EndpointMode";
export var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
export var CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode";
export var ENDPOINT_MODE_CONFIG_OPTIONS = {
environmentVariableSelector: function (env) { return env[ENV_ENDPOINT_MODE_NAME]; },
configFileSelector: function (profile) { return profile[CONFIG_ENDPOINT_MODE_NAME]; },
default: EndpointMode.IPv4,
};