CognitoOptions class

Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.

Constructors

CognitoOptions({bool? enabled, String? identityPoolId, String? roleArn, String? userPoolId})
CognitoOptions.fromJson(Map<String, dynamic> json)
factory

Properties

enabled bool?
The option to enable Cognito for OpenSearch Dashboards authentication.
final
hashCode int
The hash code for this object.
no setterinherited
identityPoolId String?
The Cognito identity pool ID for OpenSearch Dashboards authentication.
final
roleArn String?
The role ARN that provides OpenSearch permissions for accessing Cognito resources.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userPoolId String?
The Cognito user pool ID for OpenSearch Dashboards authentication.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited