Values.CognitoOptionsSourceContainer for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
type nonrec t = {enabled : Boolean.t option;Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
*)userPoolId : UserPoolId.t option;The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
*)identityPoolId : IdentityPoolId.t option;The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
*)roleArn : RoleArn.t option;The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.
*)}val to_value :
t ->
[> `Structure of
(string * [> `Boolean of Boolean.t | `String of UserPoolId.t ]) list ]