Search code examples
amazon-neptuneaws-event-bridgeamazon-cloudtrail

How to listen events from amazon Neptune? Event Bridge possible?


I am trying to listen events from event bridge for Neptune but not getting any luck. I have tried event bridge rule to add amazon Neptune as a source but it is not working. I am interested in events like, if Instance is created or DBcluster is created. I have also explored aws cloud trail to add as a source of event bridge but didn't work. Is event subscription in Amazon Neptune can help us this this way? Any help would be highly appreciated.


Solution

  • Please refer to Subscribing to Neptune event notification

    Essentially the steps are to enable Amazon Neptune event subscriptions and chose which events you want to track (can be all events or a specific one), and where to deliver them. The notifications can be sent to e-mail, SMS, or to the ARN representing a Simple Notification Service (SNS) topic.

    Using this approach you can have the event delivered to many different targets by SNS.

    One of the targets that SNS supports delivering events to is AWS Lambda functions. As needed you could create a small Lambda function that puts the events into Amazon Cloud Watch Logs or many other destinations. SNS also integrates with Amazon Kinesis Data Firehose, which can be used to deliver events to targets such as Amazon OpenSearch Service, Amazon S3 and Amazon Redshift. You will find more details of how to use SNS here and application to application message delivery is described here.

    You can also use the CLI or SDK to create an event subscription. Using the CLI, this command will display the available options.

    aws neptune create-event-subscription help