Module Values.UpdateStaticPolicyDefinitionSource

Contains information about an update to a static policy.

Sourcetype nonrec t = {
  1. description : StaticPolicyDescription.t option;
    (*

    Specifies the description to be added to or replaced on the static policy.

    *)
  2. statement : PolicyStatement.t;
    (*

    Specifies the Cedar policy language text to be added to or replaced on the static policy. You can change only the following elements from the original content: The action referenced by the policy. Any conditional clauses, such as when or unless clauses. You can't change the following elements: Changing from StaticPolicy to TemplateLinkedPolicy. The effect (permit or forbid) of the policy. The principal referenced by the policy. The resource referenced by the policy.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> statement:PolicyStatement.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StaticPolicyDescription.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