Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CognitoOptions = CognitoOptions' {}
- newCognitoOptions :: CognitoOptions
- cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text)
- cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool)
- cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text)
- cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text)
Documentation
data CognitoOptions Source #
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
See: newCognitoOptions
smart constructor.
CognitoOptions' | |
|
Instances
newCognitoOptions :: CognitoOptions Source #
Create a value of CognitoOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identityPoolId:CognitoOptions'
, cognitoOptions_identityPoolId
- The Cognito identity pool ID for OpenSearch Dashboards authentication.
$sel:enabled:CognitoOptions'
, cognitoOptions_enabled
- The option to enable Cognito for OpenSearch Dashboards authentication.
$sel:userPoolId:CognitoOptions'
, cognitoOptions_userPoolId
- The Cognito user pool ID for OpenSearch Dashboards authentication.
$sel:roleArn:CognitoOptions'
, cognitoOptions_roleArn
- The role ARN that provides OpenSearch permissions for accessing Cognito
resources.
cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text) Source #
The Cognito identity pool ID for OpenSearch Dashboards authentication.
cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool) Source #
The option to enable Cognito for OpenSearch Dashboards authentication.
cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text) Source #
The Cognito user pool ID for OpenSearch Dashboards authentication.
cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text) Source #
The role ARN that provides OpenSearch permissions for accessing Cognito resources.