EventRuleArgs class

The set of arguments for EventRule. The set of arguments for EventRule.

Constructors

EventRuleArgs({Input<String?>? eventPattern, required Input<String> eventType, required Input<String> notificationConfigurationArn, required Input<List<String>> regions, required Input<String> source})
Creates a new EventRuleArgs. eventPattern JSON string defining the event pattern to match. Maximum length is 4096 characters. eventType Type of event to match. Must be between 1 and 128 characters, and match the pattern ([a-zA-Z0-9 \-\(\)])+. notificationConfigurationArn ARN of the notification configuration to associate with this event rule. Must match the pattern arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}. regions Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern ([a-z]{1,2})-([a-z]{1,15}-)+([0-9]). source Source of the event. Must be between 1 and 36 characters, and match the pattern aws.([a-z0-9\-])+.
const
EventRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

eventPattern → Input<String?>?
JSON string defining the event pattern to match. Maximum length is 4096 characters.
final
eventType → Input<String>
Type of event to match. Must be between 1 and 128 characters, and match the pattern ([a-zA-Z0-9 \-\(\)])+.
final
hashCode → int
The hash code for this object.
no setterinherited
notificationConfigurationArn → Input<String>
ARN of the notification configuration to associate with this event rule. Must match the pattern arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}.
final
regions → Input<List<String>>
Set of AWS regions where the event rule will be applied. Each region must be between 2 and 25 characters, and match the pattern ([a-z]{1,2})-([a-z]{1,15}-)+([0-9]).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String>
Source of the event. Must be between 1 and 36 characters, and match the pattern aws.([a-z0-9\-])+.
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