Module Values.RoleConfigurationSource

Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.

Sourcetype nonrec t = {
  1. sourceRoleArn : IamRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.

    *)
  2. targetRoleArn : IamRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.

    *)
}
Sourceval make : ?sourceRoleArn:??? -> ?targetRoleArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of IamRoleArn.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