Module Values.EventParametersSource

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

Sourcetype nonrec t = {
  1. eventType : EventTypeValues.t;
    (*

    The type of event. Currently, only snapshot sharing events are supported.

    *)
  2. snapshotOwner : SnapshotOwnerList.t;
    (*

    The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

    *)
  3. descriptionRegex : DescriptionRegex.t;
    (*

    The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account. For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

    *)
}
Sourceval context_ : string
Sourceval make : eventType:EventTypeValues.t -> snapshotOwner:SnapshotOwnerList.t -> descriptionRegex:DescriptionRegex.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of AwsAccountId.t ] list | `String of DescriptionRegex.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