@Immutable public class AwsProfileNameLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AWS_PROFILE_ENVIRONMENT_VARIABLE
Environment variable name for overriding the default AWS profile
|
static String |
AWS_PROFILE_SYSTEM_PROPERTY
System property name for overriding the default AWS profile
|
static String |
DEFAULT_PROFILE_NAME
Name of the default profile as specified in the configuration file.
|
static AwsProfileNameLoader |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
loadProfileName()
TODO The order would make more sense as System Property, Environment Variable, Default
Profile name but we have to keep the current order for backwards compatiblity.
|
public static final String DEFAULT_PROFILE_NAME
public static final String AWS_PROFILE_ENVIRONMENT_VARIABLE
public static final String AWS_PROFILE_SYSTEM_PROPERTY
public static final AwsProfileNameLoader INSTANCE
public final String loadProfileName()
Copyright © 2018. All rights reserved.