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?> ? region, Input<String?> ? severity, 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 totrue.eventCategoriesA list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or runaws redshift describe-event-categories.nameThe name of the Redshift event subscription.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.severityThe event severity to be published by the notification subscription. Valid options areINFOorERROR. Default value ofINFO.snsTopicArnThe ARN of the SNS topic to send events to.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, asourceTypemust also be specified.sourceTypeThe type of source that will be generating the events. Valid options arecluster,cluster-parameter-group,cluster-security-group,cluster-snapshot, orscheduled-action. 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/redshift/latest/mgmt/working-with-event-notifications.html or run
aws redshift describe-event-categories.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the Redshift event subscription.
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
-
severity
→ Input<
String?> ? -
The event severity to be published by the notification subscription. Valid options are
INFOorERROR. Default value ofINFO.final -
snsTopicArn
→ Input<
String> -
The ARN of the SNS topic to send events to.
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
sourceTypemust also be specified.final -
sourceType
→ Input<
String?> ? -
The type of source that will be generating the events. Valid options are
cluster,cluster-parameter-group,cluster-security-group,cluster-snapshot, orscheduled-action. 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