EventSubscriptionArgs constructor
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 http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run aws rds describe-event-categories.
name The name of the DB event subscription. By default generated by this provider.
namePrefix The name of the DB event subscription. Conflicts with name.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
snsTopic The SNS topic to send events to.
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-parameter-group, db-security-group, db-snapshot, db-cluster, db-cluster-snapshot, custom-engine-version, db-proxy, blue-green-deployment, db-shard-group, and zero-etl. 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.snsTopic,
this.sourceIds,
this.sourceType,
this.tags,
});