Package org.nuxeo.runtime.aws
Class NuxeoAWSRegionProvider
java.lang.Object
com.amazonaws.regions.AwsRegionProvider
org.nuxeo.runtime.aws.NuxeoAWSRegionProvider
public class NuxeoAWSRegionProvider
extends com.amazonaws.regions.AwsRegionProvider
AWS Region Provider that uses Nuxeo configuration, or uses the default AWS chain as a fallback.
- Since:
- 10.3
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new Nuxeo AWS Region Provider for the default configuration.Creates a new Nuxeo AWS Region Provider for the given configuration. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.amazonaws.regions.AwsRegionProvider
Gets a Nuxeo AWS Region Provider for the default configuration.
-
Field Details
-
INSTANCE
protected static final com.amazonaws.regions.AwsRegionProvider INSTANCE -
DEFAULT
protected static final com.amazonaws.regions.AwsRegionProvider DEFAULT -
DEFAULT_REGION
- See Also:
-
id
-
-
Constructor Details
-
NuxeoAWSRegionProvider
public NuxeoAWSRegionProvider()Creates a new Nuxeo AWS Region Provider for the default configuration. -
NuxeoAWSRegionProvider
Creates a new Nuxeo AWS Region Provider for the given configuration.- Parameters:
id
- the configuration id, ornull
for the default- Since:
- 11.1
-
-
Method Details
-
getInstance
public static com.amazonaws.regions.AwsRegionProvider getInstance()Gets a Nuxeo AWS Region Provider for the default configuration. -
getRegion
- Specified by:
getRegion
in classcom.amazonaws.regions.AwsRegionProvider
-