libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.Types.UserAuthConfig

Description

 
Synopsis

Documentation

data UserAuthConfig Source #

Specifies the details of authentication used by a proxy to log in as a specific database user.

See: newUserAuthConfig smart constructor.

Constructors

UserAuthConfig' 

Fields

  • iAMAuth :: Maybe IAMAuthMode

    Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy.

  • userName :: Maybe Text

    The name of the database user to which the proxy connects.

  • authScheme :: Maybe AuthScheme

    The type of authentication that the proxy uses for connections from the proxy to the underlying database.

  • secretArn :: Maybe Text

    The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.

  • description :: Maybe Text

    A user-specified description about the authentication used by a proxy to log in as a specific database user.

Instances

Instances details
Eq UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

Read UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

Show UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

Generic UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

Associated Types

type Rep UserAuthConfig :: Type -> Type #

NFData UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

Methods

rnf :: UserAuthConfig -> () #

Hashable UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

ToQuery UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

type Rep UserAuthConfig Source # 
Instance details

Defined in Amazonka.RDS.Types.UserAuthConfig

type Rep UserAuthConfig = D1 ('MetaData "UserAuthConfig" "Amazonka.RDS.Types.UserAuthConfig" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "UserAuthConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "iAMAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IAMAuthMode)) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "authScheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthScheme)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUserAuthConfig :: UserAuthConfig Source #

Create a value of UserAuthConfig 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:iAMAuth:UserAuthConfig', userAuthConfig_iAMAuth - Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy.

$sel:userName:UserAuthConfig', userAuthConfig_userName - The name of the database user to which the proxy connects.

$sel:authScheme:UserAuthConfig', userAuthConfig_authScheme - The type of authentication that the proxy uses for connections from the proxy to the underlying database.

$sel:secretArn:UserAuthConfig', userAuthConfig_secretArn - The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.

$sel:description:UserAuthConfig', userAuthConfig_description - A user-specified description about the authentication used by a proxy to log in as a specific database user.

userAuthConfig_iAMAuth :: Lens' UserAuthConfig (Maybe IAMAuthMode) Source #

Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy.

userAuthConfig_userName :: Lens' UserAuthConfig (Maybe Text) Source #

The name of the database user to which the proxy connects.

userAuthConfig_authScheme :: Lens' UserAuthConfig (Maybe AuthScheme) Source #

The type of authentication that the proxy uses for connections from the proxy to the underlying database.

userAuthConfig_secretArn :: Lens' UserAuthConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.

userAuthConfig_description :: Lens' UserAuthConfig (Maybe Text) Source #

A user-specified description about the authentication used by a proxy to log in as a specific database user.