EventSubscriptionArgs constructor

const EventSubscriptionArgs({
  1. Input<bool?>? enabled,
  2. Input<List<String>?>? eventCategories,
  3. Input<String?>? name,
  4. Input<String?>? namePrefix,
  5. Input<String?>? region,
  6. required Input<String> snsTopicArn,
  7. Input<List<String>?>? sourceIds,
  8. Input<String?>? sourceType,
  9. Input<Map<String, String>?>? tags,
})

Creates a new EventSubscriptionArgs. enabled A boolean flag to enable/disable the subscription. Defaults to true. eventCategories A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/documentdb/latest/developerguide/API_Event.html or run aws docdb describe-event-categories. name The name of the DocumentDB event subscription. By default generated by this provider. namePrefix The name of the DocumentDB event subscription. Conflicts with name. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. snsTopicArn Required. sourceIds A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified. sourceType The type of source that will be generating the events. Valid options are db-instance, db-cluster, db-parameter-group, db-security-group, db-cluster-snapshot. If not set, all sources will be subscribed to. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const EventSubscriptionArgs({
  this.enabled,
  this.eventCategories,
  this.name,
  this.namePrefix,
  this.region,
  required this.snsTopicArn,
  this.sourceIds,
  this.sourceType,
  this.tags,
});