Module Values.ResourcePolicySource

A policy enabling one or more entities to put logs to a log group in this account.

Sourcetype nonrec t = {
  1. policyName : PolicyName.t option;
    (*

    The name of the resource policy.

    *)
  2. policyDocument : PolicyDocument.t option;
    (*

    The details of the policy.

    *)
  3. lastUpdatedTime : Timestamp.t option;
    (*

    Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    *)
  4. policyScope : PolicyScope.t option;
    (*

    Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.

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

    The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.

    *)
  6. revisionId : ExpectedRevisionId.t option;
    (*

    The revision ID of the resource policy. Only populated for resource-scoped policies.

    *)
}
Sourceval make : ?policyName:??? -> ?policyDocument:??? -> ?lastUpdatedTime:??? -> ?policyScope:??? -> ?resourceArn:??? -> ?revisionId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Timestamp.t | `String of PolicyName.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