EventRuleArgs constructor

const EventRuleArgs({
  1. Input<String?>? eventPattern,
  2. required Input<String> eventType,
  3. required Input<String> notificationConfigurationArn,
  4. required Input<List<String>> regions,
  5. 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\-])+.

Implementation

const EventRuleArgs({
  this.eventPattern,
  required this.eventType,
  required this.notificationConfigurationArn,
  required this.regions,
  required this.source,
});