libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticSearch.Types.CognitoOptions

Description

 
Synopsis

Documentation

data CognitoOptions Source #

Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.

See: newCognitoOptions smart constructor.

Constructors

CognitoOptions' 

Fields

  • identityPoolId :: Maybe Text

    Specifies the Cognito identity pool ID for Kibana authentication.

  • enabled :: Maybe Bool

    Specifies the option to enable Cognito for Kibana authentication.

  • userPoolId :: Maybe Text

    Specifies the Cognito user pool ID for Kibana authentication.

  • roleArn :: Maybe Text

    Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

Instances

Instances details
Eq CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

Read CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

Show CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

Generic CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

Associated Types

type Rep CognitoOptions :: Type -> Type #

NFData CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

Methods

rnf :: CognitoOptions -> () #

Hashable CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

ToJSON CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

FromJSON CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

type Rep CognitoOptions Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.CognitoOptions

type Rep CognitoOptions = D1 ('MetaData "CognitoOptions" "Amazonka.ElasticSearch.Types.CognitoOptions" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "CognitoOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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 - Specifies the Cognito identity pool ID for Kibana authentication.

$sel:enabled:CognitoOptions', cognitoOptions_enabled - Specifies the option to enable Cognito for Kibana authentication.

$sel:userPoolId:CognitoOptions', cognitoOptions_userPoolId - Specifies the Cognito user pool ID for Kibana authentication.

$sel:roleArn:CognitoOptions', cognitoOptions_roleArn - Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

cognitoOptions_identityPoolId :: Lens' CognitoOptions (Maybe Text) Source #

Specifies the Cognito identity pool ID for Kibana authentication.

cognitoOptions_enabled :: Lens' CognitoOptions (Maybe Bool) Source #

Specifies the option to enable Cognito for Kibana authentication.

cognitoOptions_userPoolId :: Lens' CognitoOptions (Maybe Text) Source #

Specifies the Cognito user pool ID for Kibana authentication.

cognitoOptions_roleArn :: Lens' CognitoOptions (Maybe Text) Source #

Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.