---
type: resource-type
title: NeptuneEventSubscription
description: aws resource type AWS::Neptune::EventSubscription
name: NeptuneEventSubscription
lexicon: aws
resource_type: AWS::Neptune::EventSubscription
---
`AWS::Neptune::EventSubscription`, a resource type of the aws lexicon.

## Properties

- `SnsTopicArn` (`string`, required): The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
- `Enabled` (`boolean`, optional): A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- `EventCategories` (`string[]`, optional): A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
- `SourceIds` (`string[]`, optional): The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
- `SourceType` (`string`, optional): The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.
- `SubscriptionName` (`string`, optional): The name of the subscription.
- `Tags` (`NeptuneEventSubscription_Tag[]`, optional): An array of key-value pairs to apply to this resource.
