Function
Static Public Summary | ||
public |
configProvider(AWS: Object, getters: Function[], opts: Object): Object return config object |
|
public |
environmentConfigs(config: Object): Object return config object load from environment variables. |
|
public |
fileConfigs(config: Object, AWS: Object, opts: Object): Object return config object load from config file. |
|
public |
initialize AWS.config using regionProvider |
Static Public
public configProvider(AWS: Object, getters: Function[], opts: Object): Object source
import configProvider from 'aws-sdk-config-loader/src/configProvider.js'
return config object
Test:
public environmentConfigs(config: Object): Object source
import environmentConfigs from 'aws-sdk-config-loader/src/configs/environmentConfigs.js'
return config object load from environment variables.
Params:
Name | Type | Attribute | Description |
config | Object | config object |
Test:
public fileConfigs(config: Object, AWS: Object, opts: Object): Object source
import fileConfigs from 'aws-sdk-config-loader/src/configs/fileConfigs.js'
return config object load from config file.
Test:
public loader(AWS: Object, opts: Object) source
import loader from 'aws-sdk-config-loader/src/index.js'
initialize AWS.config using regionProvider