import { LoadedConfigSelectors } from "@smithy/node-config-provider"; /** * @internal */ export const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; /** * @internal */ export const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; /** * @internal */ export const ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors = { environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], default: undefined, };