Module Values.PutResourcePolicyInputSource

Stores a resource policy for the ARN of a Project or ReportGroup object.

Sourcetype nonrec t = {
  1. policy : NonEmptyString.t;
    (*

    A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide.

    *)
  2. resourceArn : NonEmptyString.t;
    (*

    The ARN of the Project or ReportGroup resource you want to associate with a resource policy.

    *)
}
Sourceval context_ : string
Sourceval make : policy:NonEmptyString.t -> resourceArn:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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