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 Details

    • INSTANCE

      protected static final com.amazonaws.regions.AwsRegionProvider INSTANCE
    • DEFAULT

      protected static final com.amazonaws.regions.AwsRegionProvider DEFAULT
    • DEFAULT_REGION

      protected static final String DEFAULT_REGION
      See Also:
    • id

      protected final String id
  • Constructor Details

    • NuxeoAWSRegionProvider

      public NuxeoAWSRegionProvider()
      Creates a new Nuxeo AWS Region Provider for the default configuration.
    • NuxeoAWSRegionProvider

      public NuxeoAWSRegionProvider(String id)
      Creates a new Nuxeo AWS Region Provider for the given configuration.
      Parameters:
      id - the configuration id, or null 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

      public String getRegion()
      Specified by:
      getRegion in class com.amazonaws.regions.AwsRegionProvider