Class AWSService
java.lang.Object
org.graylog.integrations.aws.service.AWSService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAWSService
(InputService inputService, MessageInputFactory messageInputFactory, NodeId nodeId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
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 theAWSInputCreateRequest
and creates/saves an input with them.
-
Field Details
-
POLICY_ENCODING_ERROR
- See Also:
-
-
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.
-
getAvailableServices
- Returns:
- A list of available AWS services supported by the AWS Graylog AWS integration.
-
getPermissions
- Returns:
- A list of required permissions for the regular AWS Kinesis setup and for the auto-setup.
-
saveInput
Save the AWS Input This method takes the individual input params in theAWSInputCreateRequest
and creates/saves an input with them.- Throws:
Exception
-