Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CognitoOptions = CognitoOptions' {}
- newCognitoOptions :: CognitoOptions
- cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool)
- cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text)
- cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text)
- cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text)
Documentation
data CognitoOptions Source #
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.
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:enabled:CognitoOptions'
, cognitoOptions_enabled
- Whether to enable or disable Amazon Cognito authentication for
OpenSearch Dashboards.
$sel:identityPoolId:CognitoOptions'
, cognitoOptions_identityPoolId
- The Amazon Cognito identity pool ID that you want OpenSearch Service to
use for OpenSearch Dashboards authentication.
$sel:roleArn:CognitoOptions'
, cognitoOptions_roleArn
- The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch
Service to configure your user pool and identity pool.
$sel:userPoolId:CognitoOptions'
, cognitoOptions_userPoolId
- The Amazon Cognito user pool ID that you want OpenSearch Service to use
for OpenSearch Dashboards authentication.
cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool) Source #
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text) Source #
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text) Source #
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch
Service to configure your user pool and identity pool.
cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text) Source #
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.