amazonka-elasticache-2.0: Amazon ElastiCache SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElastiCache.Types.AuthenticationMode

Description

 
Synopsis

Documentation

data AuthenticationMode Source #

Specifies the authentication mode to use.

See: newAuthenticationMode smart constructor.

Constructors

AuthenticationMode' 

Fields

Instances

Instances details
ToQuery AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

Generic AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

Associated Types

type Rep AuthenticationMode :: Type -> Type #

Read AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

Show AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

NFData AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

Methods

rnf :: AuthenticationMode -> () #

Eq AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

Hashable AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

type Rep AuthenticationMode Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.AuthenticationMode

type Rep AuthenticationMode = D1 ('MetaData "AuthenticationMode" "Amazonka.ElastiCache.Types.AuthenticationMode" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "AuthenticationMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "passwords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputAuthenticationType))))

newAuthenticationMode :: AuthenticationMode Source #

Create a value of AuthenticationMode 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:passwords:AuthenticationMode', authenticationMode_passwords - Specifies the passwords to use for authentication if Type is set to password.

$sel:type':AuthenticationMode', authenticationMode_type - Specifies the authentication type. Possible options are IAM authentication, password and no password.

authenticationMode_passwords :: Lens' AuthenticationMode (Maybe (NonEmpty Text)) Source #

Specifies the passwords to use for authentication if Type is set to password.

authenticationMode_type :: Lens' AuthenticationMode (Maybe InputAuthenticationType) Source #

Specifies the authentication type. Possible options are IAM authentication, password and no password.