Class AwsCloudWatchEventListener
java.lang.Object
org.apache.polaris.service.events.jsonEventListener.aws.cloudwatch.AwsCloudWatchEventListener
- All Implemented Interfaces:
PolarisEventListener
@ApplicationScoped
@Identifier("aws-cloudwatch")
public class AwsCloudWatchEventListener
extends Object
implements PolarisEventListener
-
Constructor Summary
ConstructorsConstructorDescriptionAwsCloudWatchEventListener(AwsCloudWatchConfiguration config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionprotected software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsAsyncClientvoidonEvent(PolarisEvent event)
-
Constructor Details
-
AwsCloudWatchEventListener
@Inject public AwsCloudWatchEventListener(AwsCloudWatchConfiguration config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Clock clock)
-
-
Method Details
-
createCloudWatchAsyncClient
protected software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsAsyncClient createCloudWatchAsyncClient() -
onEvent
- Specified by:
onEventin interfacePolarisEventListener
-