aws_config::default_provider::region

Function default_provider

Source
pub fn default_provider() -> impl ProvideRegion
Expand description

Default Region Provider chain

This provider will check the following sources in order:

  1. Environment variables
  2. Profile file
  3. EC2 IMDSv2