Values.EventRuleStructureSourceContains a complete list of fields related to an EventRule.
type nonrec t = {arn : EventRuleArn.t option;The Amazon Resource Name (ARN) of the EventRule. CloudFormation stack generates this ARN and then uses this ARN to associate with the NotificationConfiguration.
*)notificationConfigurationArn : NotificationConfigurationArn.t option;The ARN for the NotificationConfiguration associated with this EventRule.
*)creationTime : CreationTime.t option;The creation time of the EventRule.
*)source : Source.t option;The event source this rule should match with the EventBridge event sources. It must match with atleast one of the valid EventBridge event 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.
*)eventType : EventType.t option;The event type this rule should match with the EventBridge events. It must match with atleast one of the valid EventBridge event types. For example, Amazon EC2 Instance State change Notification and Amazon CloudWatch State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
*)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.
*)regions : Regions.t option;A list of Amazon Web Services Regions that send events to this EventRule.
*)managedRules : ManagedRuleArns.t option;A list of Amazon EventBridge Managed Rule ARNs associated with this EventRule. These are created by User Notifications within your account so your EventRules can function.
*)statusSummaryByRegion : StatusSummaryByRegion.t option;A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of Region.t ] list
| `Map of
([> `String of Region.t ]
* [> `Structure of
(string
* [> `Enum of string
| `String of EventRuleStatusReason.t ])
list ])
list
| `String of EventRuleArn.t
| `Timestamp of CreationTime.t ])
list ]