Class AWSService

java.lang.Object
org.graylog.integrations.aws.service.AWSService

public class AWSService extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getAvailableRegions

      public RegionsResponse getAvailableRegions()
      Returns:
      A list of all available regions.
    • 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.of() to get the actual region object: eu-west-2
      Returns:
      a choices map with configuration value map keys and display value map values.
    • getAvailableServices

      public AvailableServiceResponse getAvailableServices()
      Returns:
      A list of available AWS services supported by the AWS Graylog AWS integration.
    • getPermissions

      public KinesisPermissionsResponse getPermissions()
      Returns:
      A list of required permissions for the regular AWS Kinesis setup and for the auto-setup.
    • saveInput

      public Input saveInput(AWSInputCreateRequest request, User user) throws Exception
      Save the AWS Input This method takes the individual input params in the AWSInputCreateRequest and creates/saves an input with them.
      Throws:
      Exception