Class AWS

java.lang.Object
org.graylog.aws.AWS

public class AWS extends Object
A common utils class for the AWS plugin.
  • Field Details

  • Method Details

    • buildRegionChoices

      public static Map<String,String> buildRegionChoices()
      Build a list of region choices with both a value (persisted in configuration) and display value (shown to the user). The display value is formatted nicely: "EU (London): eu-west-2" The value is eventually passed to Regions.fromName() to get the actual region object: eu-west-2
      Returns:
      a choices map with configuration value map keys and display value map values.