Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/util-defaults-mode-node

@aws-sdk/util-defaults-mode-node

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

Index

References

ResolveDefaultsModeConfigOptions

Re-exports ResolveDefaultsModeConfigOptions

resolveDefaultsModeConfig

Re-exports resolveDefaultsModeConfig

Variables

Const AWS_DEFAULTS_MODE_CONFIG

AWS_DEFAULTS_MODE_CONFIG: "defaults_mode" = "defaults_mode"

Const AWS_DEFAULTS_MODE_ENV

AWS_DEFAULTS_MODE_ENV: "AWS_DEFAULTS_MODE" = "AWS_DEFAULTS_MODE"

Const AWS_DEFAULT_REGION_ENV

AWS_DEFAULT_REGION_ENV: "AWS_DEFAULT_REGION" = "AWS_DEFAULT_REGION"

Const AWS_EXECUTION_ENV

AWS_EXECUTION_ENV: "AWS_EXECUTION_ENV" = "AWS_EXECUTION_ENV"

Const AWS_REGION_ENV

AWS_REGION_ENV: "AWS_REGION" = "AWS_REGION"

Const DEFAULTS_MODE_OPTIONS

DEFAULTS_MODE_OPTIONS: string[] = ["in-region", "cross-region", "mobile", "standard", "legacy"]

Const ENV_IMDS_DISABLED

ENV_IMDS_DISABLED: "AWS_EC2_METADATA_DISABLED" = "AWS_EC2_METADATA_DISABLED"

Const IMDS_REGION_PATH

IMDS_REGION_PATH: "/latest/meta-data/placement/region" = "/latest/meta-data/placement/region"

Functions

Const inferPhysicalRegion

  • inferPhysicalRegion(): Promise<string | undefined>

Const resolveDefaultsModeConfig

Const resolveNodeDefaultsModeAuto

Object literals

Const NODE_DEFAULTS_MODE_CONFIG_OPTIONS

NODE_DEFAULTS_MODE_CONFIG_OPTIONS: object

default

default: "legacy" = "legacy"

configFileSelector

environmentVariableSelector

  • environmentVariableSelector(env: ProcessEnv): DefaultsMode