Module Values.ResourceAccessPolicySource

A policy used by the function to access a resource.

Sourcetype nonrec t = {
  1. permission : Permission.t option;
    (*

    The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

    *)
  2. resourceId : string;
    (*

    The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)

    *)
}
Sourceval context_ : string
Sourceval make : ?permission:??? -> resourceId:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string ]) 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