Module Values.ResourcePolicySource

An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

Sourcetype nonrec t = {
  1. resourceArn : Arn.t option;
    (*

    The ARN of the resource associated with the resource policy

    *)
  2. revision : PolicyRevision.t option;
    (*

    The current revision of the resource policy.

    *)
  3. document : PolicyDocument.t option;
    (*

    The resource policy formatted in JSON.

    *)
}
Sourceval make : ?resourceArn:??? -> ?revision:??? -> ?document:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.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