EventSubscriptionArgs constructor
Creates a new EventSubscriptionArgs.
enabled Whether the event subscription should be enabled.
eventCategories List of event categories to listen for, see DescribeEventCategories for a canonical list.
name Name of event subscription.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
snsTopicArn SNS topic arn to send events on.
sourceIds Ids of sources to listen to. If you don't specify a value, notifications are provided for all sources.
sourceType Type of source for events. Valid values: replication-instance or replication-task
tags Map of resource 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,
required this.eventCategories,
this.name,
this.region,
required this.snsTopicArn,
this.sourceIds,
required this.sourceType,
this.tags,
});