Module Values.CreateEventRuleRequestSource

Creates an EventRule that is associated with a specified NotificationConfiguration.

Sourcetype nonrec t = {
  1. notificationConfigurationArn : NotificationConfigurationArn.t;
    (*

    The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.

    *)
  2. source : Source.t;
    (*

    The matched event source. Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.

    *)
  3. eventType : EventType.t;
    (*

    The event type to match. Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.

    *)
  4. eventPattern : EventRuleEventPattern.t option;
    (*

    An additional event pattern used to further filter the events this EventRule receives. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.

    *)
  5. regions : Regions.t;
    (*

    A list of Amazon Web Services Regions that send events to this EventRule.

    *)
}
Sourceval context_ : string
Sourceval make : ?eventPattern:??? -> notificationConfigurationArn:NotificationConfigurationArn.t -> source:Source.t -> eventType:EventType.t -> regions:Regions.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Region.t ] list | `String of NotificationConfigurationArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t