EventSubscriptionArgs class
The set of arguments for EventSubscription. The set of arguments for EventSubscription.
Constructors
-
EventSubscriptionArgs({Input<
bool?> ? enabled, Input<List< ? eventCategories, Input<String> ?>String?> ? name, Input<String?> ? namePrefix, Input<String?> ? region, required Input<String> snsTopicArn, Input<List< ? sourceIds, Input<String> ?>String?> ? sourceType, Input<Map< ? tags})String, String> ?> -
Creates a new EventSubscriptionArgs.
enabledA boolean flag to enable/disable the subscription. Defaults to true.eventCategoriesA 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 runaws docdb describe-event-categories.nameThe name of the DocumentDB event subscription. By default generated by this provider.namePrefixThe name of the DocumentDB event subscription. Conflicts withname.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.snsTopicArnRequired.sourceIdsA 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.sourceTypeThe type of source that will be generating the events. Valid options aredb-instance,db-cluster,db-parameter-group,db-security-group,db-cluster-snapshot. If not set, all sources will be subscribed to.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
EventSubscriptionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
enabled
→ Input<
bool?> ? -
A boolean flag to enable/disable the subscription. Defaults to true.
final
-
eventCategories
→ Input<
List< ?String> ?> -
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.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the DocumentDB event subscription. By default generated by this provider.
final
-
namePrefix
→ Input<
String?> ? -
The name of the DocumentDB event subscription. Conflicts with
name.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snsTopicArn
→ Input<
String> -
final
-
sourceIds
→ Input<
List< ?String> ?> -
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.
final
-
sourceType
→ Input<
String?> ? -
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.final -
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited