Module Values.CognitoOptionsSource

Container for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

Sourcetype nonrec t = {
  1. enabled : Boolean.t option;
    (*

    Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.

    *)
  2. userPoolId : UserPoolId.t option;
    (*

    The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

    *)
  3. identityPoolId : IdentityPoolId.t option;
    (*

    The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

    *)
  4. roleArn : RoleArn.t option;
    (*

    The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.

    *)
}
Sourceval make : ?enabled:??? -> ?userPoolId:??? -> ?identityPoolId:??? -> ?roleArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of UserPoolId.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