For more information, see Using AWS Lambda with Amazon RDS. To increase database security, we recommend that you use AWS Secrets Manager instead of environment variables to storeĭatabase credentials. Securing environment variablesįor securing your environment variables, you can use server-side encryption to protect your data at rest andĬlient-side encryption to protect your data in transit. The presence of specific variables or their values can The sample values shown reflect the latest runtimes. For more information, see Configuring provisioned concurrency. NET 7 runtimes, set this variable to enable orĭisable. LOG_ERROR to avoid throwing runtime errors from the X-Ray SDK.ĪWS_XRAY_DAEMON_ADDRESS – For X-Ray tracing, the IP address and port of the X-RayĪWS_LAMBDA_DOTNET_PREJIT – For the. ( $LAMBDA_TASK_ROOT/vendor/bundle/ruby/2.5.0:/opt/ruby/gems/2.5.0).ĪWS_XRAY_CONTEXT_MISSING – For X-Ray tracing, Lambda sets this to PYTHONPATH – ( Python 2.7, 3.6, 3.8) The Python ( /opt/nodejs/node12/node_modules/:/opt/nodejs/node_modules:$LAMBDA_RUNTIME_DIR/node_modules). NODE_PATH – ( Node.js) The Node.js library path ( /var/lang/lib:/lib64:/usr/lib64:$LAMBDA_RUNTIME_DIR:$LAMBDA_RUNTIME_DIR/lib:$LAMBDA_TASK_ROOT:$LAMBDA_TASK_ROOT/lib:/opt/lib). LD_LIBRARY_PATH – The system library path LANG – The locale of the runtime ( en_US.UTF-8). The following additional environment variables aren't reserved and can be extended in your function LAMBDA_RUNTIME_DIR – The path to runtime libraries. LAMBDA_TASK_ROOT – The path to your Lambda function code. – The access keys obtained from the function's executionĪWS_LAMBDA_RUNTIME_API – ( Custom runtime) The The AWS_LAMBDA_LOG_GROUP_NAME and AWS_LAMBDA_LOG_STREAM_NAME environment variables are not available in Lambda SnapStart functions.ĪWS_ACCESS_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN For information, see Configuring provisioned concurrency or Improving startup performance with Lambda SnapStart.ĪWS_LAMBDA_LOG_GROUP_NAME, AWS_LAMBDA_LOG_STREAM_NAME – The name of theĪmazon CloudWatch Logs group and stream for the function. This environment variable is not defined for OS-only runtimes (the provided runtime family).ĪWS_LAMBDA_FUNCTION_NAME – The name of the function.ĪWS_LAMBDA_FUNCTION_MEMORY_SIZE – The amount of memory available to the function inĪWS_LAMBDA_FUNCTION_VERSION – The version of the function beingĪWS_LAMBDA_INITIALIZATION_TYPE – The initialization type of the function, which is on-demand, provisioned-concurrency, or snap-start. Prefixed by AWS_Lambda_ (for example, AWS_Lambda_java8). In the AWS SDKs and Tools Reference Guide.ĪWS_EXECUTION_ENV – The runtime identifier, / Name as should appear in the (implicit)Įmitted for async functions and the async and await keywords.Įmitted for locals whose types implements one of the Fn* traits.Įmitted for locals that are being consumed when use in a function call.Įmitted for control-flow related tokens, this includes the ? operator.Įmitted for crate names, like serde and crate.For more information about using the AWS Region environment variables with AWS SDKs, see AWS Region / Index of a crate in the `crates` array. / For proc-macro crates, path to compiled / Whether the crate is a proc-macro crate. / The set of cfgs activated for a given crate, like / source can't refer to files in another source. / rust-analyzer assumes that files from one
/ If two crates share an `.rs` file in common, / Different crates can share the same `source`. / recursively, unless a subdirectory is in / files under `root_module.parent` can belong / By default, rust-analyzer assumes that only / Optionally specify the (super)set of `.rs` / assumes that non-member crates don't change). / performance optimizations (rust-analyzer / library and 3rd party crates to enable / Set this to `false` for things like standard / (members are the crates which reside inside / By default, inferred from the `root_module` / Should this crate be treated as a member of / Path to the root module of the crate. / key for semantically-significant crate names. / Optional crate name used for display purposes, / dependencies as well as sysroot crate (libstd, / The set of crates comprising the current
/ several different "sysroots" in one graph of
/ dependencies yourself and, for example, have / if you omit this path, you can specify sysroot / If provided, rust-analyzer automatically adds / It should point to the directory where std, / By default, this is `lib/rustlib/src/rust/library` / Path to the directory with *source code* of / /Users/yourname/.rustup/toolchains/stable-x86_64-apple-darwin / To see the current value of sysroot, you / crates that are built-in to rust, such as / The sysroot is where rustc looks for the