EventSubscriptionState constructor
- Input<
String?> ? arn, - Input<
String?> ? customerAwsId, - Input<
bool?> ? enabled, - Input<
List< ? eventCategories,String> ?> - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
String?> ? region, - Input<
String?> ? snsTopicArn, - Input<
List< ? sourceIds,String> ?> - Input<
String?> ? sourceType, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new EventSubscriptionState.
arn ARN of the DocumentDB event notification subscription
customerAwsId The AWS customer account associated with the DocumentDB event notification subscription
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 Optional.
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.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const EventSubscriptionState({
this.arn,
this.customerAwsId,
this.enabled,
this.eventCategories,
this.name,
this.namePrefix,
this.region,
this.snsTopicArn,
this.sourceIds,
this.sourceType,
this.tags,
this.tagsAll,
});