Module Values.DestinationSource

Represents a cross-account destination that receives subscription log events.

Sourcetype nonrec t = {
  1. destinationName : DestinationName.t option;
    (*

    The name of the destination.

    *)
  2. targetArn : TargetArn.t option;
    (*

    The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

    *)
  3. roleArn : RoleArn.t option;
    (*

    A role for impersonation, used when delivering log events to the target.

    *)
  4. accessPolicy : AccessPolicy.t option;
    (*

    An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

    *)
  5. arn : Arn.t option;
    (*

    The ARN of this destination.

    *)
  6. creationTime : Timestamp.t option;
    (*

    The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    *)
}
Sourceval make : ?destinationName:??? -> ?targetArn:??? -> ?roleArn:??? -> ?accessPolicy:??? -> ?arn:??? -> ?creationTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Timestamp.t | `String of DestinationName.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