Module Values.PutResourcePolicyInputSource

Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.

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

    Details of the resource policy.

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

    The Amazon Resource Name (ARN) of the response plan to add the resource policy to.

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