Class AWSService
java.lang.Object
org.graylog.integrations.aws.service.AWSService
-
Constructor Summary
ConstructorsConstructorDescriptionAWSService(InputService inputService, MessageInputFactory messageInputFactory, NodeId nodeId) -
Method Summary
Modifier and TypeMethodDescriptionBuild a list of region choices with both a value (persisted in configuration) and display value (shown to the user).saveInput(AWSInputCreateRequest request, User user) Save the AWS Input This method takes the individual input params in theAWSInputCreateRequestand creates/saves an input with them.
-
Constructor Details
-
Method Details
-
getAvailableRegions
- Returns:
- A list of all available regions.
-
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.
-
saveInput
Save the AWS Input This method takes the individual input params in theAWSInputCreateRequestand creates/saves an input with them.- Throws:
Exception
-