Module Values.EventSourceSource

[Event-based policies only] Specifies an event that activates an event-based policy.

Sourcetype nonrec t = {
  1. type_ : EventSourceValues.t;
    (*

    The source of the event. Currently only managed CloudWatch Events rules are supported.

    *)
  2. parameters : EventParameters.t option;
    (*

    Information about the event.

    *)
}
Sourceval context_ : string
Sourceval make : ?parameters:??? -> type_:EventSourceValues.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of AwsAccountId.t ] list | `String of DescriptionRegex.t ]) list ]) 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