amazonka-rds-2.0: Amazon Relational Database Service 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.RDS.Types.DBProxy

Description

 
Synopsis

Documentation

data DBProxy Source #

The data structure representing a proxy managed by the RDS Proxy.

This data type is used as a response element in the DescribeDBProxies action.

See: newDBProxy smart constructor.

Constructors

DBProxy' 

Fields

  • auth :: Maybe [UserAuthConfigInfo]

    One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.

  • createdDate :: Maybe ISO8601

    The date and time when the proxy was first created.

  • dbProxyArn :: Maybe Text

    The Amazon Resource Name (ARN) for the proxy.

  • dbProxyName :: Maybe Text

    The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.

  • debugLogging :: Maybe Bool

    Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.

  • endpoint :: Maybe Text

    The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

  • engineFamily :: Maybe Text

    The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases. SQLSERVER supports RDS for Microsoft SQL Server databases.

  • idleClientTimeout :: Maybe Int

    The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.

    Default: 1800 (30 minutes)

    Constraints: 1 to 28,800

  • requireTLS :: Maybe Bool

    Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.

  • status :: Maybe DBProxyStatus

    The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.

  • updatedDate :: Maybe ISO8601

    The date and time when the proxy was last updated.

  • vpcId :: Maybe Text

    Provides the VPC ID of the DB proxy.

  • vpcSecurityGroupIds :: Maybe [Text]

    Provides a list of VPC security groups that the proxy belongs to.

  • vpcSubnetIds :: Maybe [Text]

    The EC2 subnet IDs for the proxy.

Instances

Instances details
FromXML DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Generic DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Associated Types

type Rep DBProxy :: Type -> Type #

Methods

from :: DBProxy -> Rep DBProxy x #

to :: Rep DBProxy x -> DBProxy #

Read DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Show DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

NFData DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Methods

rnf :: DBProxy -> () #

Eq DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Methods

(==) :: DBProxy -> DBProxy -> Bool #

(/=) :: DBProxy -> DBProxy -> Bool #

Hashable DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

Methods

hashWithSalt :: Int -> DBProxy -> Int #

hash :: DBProxy -> Int #

type Rep DBProxy Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxy

type Rep DBProxy = D1 ('MetaData "DBProxy" "Amazonka.RDS.Types.DBProxy" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DBProxy'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "auth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserAuthConfigInfo])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "dbProxyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "dbProxyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "debugLogging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "engineFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "idleClientTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "requireTLS") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBProxyStatus)))) :*: ((S1 ('MetaSel ('Just "updatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "vpcSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vpcSubnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newDBProxy :: DBProxy Source #

Create a value of DBProxy 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:auth:DBProxy', dbProxy_auth - One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.

$sel:createdDate:DBProxy', dbProxy_createdDate - The date and time when the proxy was first created.

$sel:dbProxyArn:DBProxy', dbProxy_dbProxyArn - The Amazon Resource Name (ARN) for the proxy.

$sel:dbProxyName:DBProxy', dbProxy_dbProxyName - The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.

$sel:debugLogging:DBProxy', dbProxy_debugLogging - Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.

$sel:endpoint:DBProxy', dbProxy_endpoint - The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

$sel:engineFamily:DBProxy', dbProxy_engineFamily - The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases. SQLSERVER supports RDS for Microsoft SQL Server databases.

$sel:idleClientTimeout:DBProxy', dbProxy_idleClientTimeout - The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.

Default: 1800 (30 minutes)

Constraints: 1 to 28,800

$sel:requireTLS:DBProxy', dbProxy_requireTLS - Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

$sel:roleArn:DBProxy', dbProxy_roleArn - The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.

$sel:status:DBProxy', dbProxy_status - The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.

$sel:updatedDate:DBProxy', dbProxy_updatedDate - The date and time when the proxy was last updated.

$sel:vpcId:DBProxy', dbProxy_vpcId - Provides the VPC ID of the DB proxy.

$sel:vpcSecurityGroupIds:DBProxy', dbProxy_vpcSecurityGroupIds - Provides a list of VPC security groups that the proxy belongs to.

$sel:vpcSubnetIds:DBProxy', dbProxy_vpcSubnetIds - The EC2 subnet IDs for the proxy.

dbProxy_auth :: Lens' DBProxy (Maybe [UserAuthConfigInfo]) Source #

One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.

dbProxy_createdDate :: Lens' DBProxy (Maybe UTCTime) Source #

The date and time when the proxy was first created.

dbProxy_dbProxyArn :: Lens' DBProxy (Maybe Text) Source #

The Amazon Resource Name (ARN) for the proxy.

dbProxy_dbProxyName :: Lens' DBProxy (Maybe Text) Source #

The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.

dbProxy_debugLogging :: Lens' DBProxy (Maybe Bool) Source #

Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.

dbProxy_endpoint :: Lens' DBProxy (Maybe Text) Source #

The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

dbProxy_engineFamily :: Lens' DBProxy (Maybe Text) Source #

The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases. SQLSERVER supports RDS for Microsoft SQL Server databases.

dbProxy_idleClientTimeout :: Lens' DBProxy (Maybe Int) Source #

The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.

Default: 1800 (30 minutes)

Constraints: 1 to 28,800

dbProxy_requireTLS :: Lens' DBProxy (Maybe Bool) Source #

Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

dbProxy_roleArn :: Lens' DBProxy (Maybe Text) Source #

The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.

dbProxy_status :: Lens' DBProxy (Maybe DBProxyStatus) Source #

The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.

dbProxy_updatedDate :: Lens' DBProxy (Maybe UTCTime) Source #

The date and time when the proxy was last updated.

dbProxy_vpcId :: Lens' DBProxy (Maybe Text) Source #

Provides the VPC ID of the DB proxy.

dbProxy_vpcSecurityGroupIds :: Lens' DBProxy (Maybe [Text]) Source #

Provides a list of VPC security groups that the proxy belongs to.

dbProxy_vpcSubnetIds :: Lens' DBProxy (Maybe [Text]) Source #

The EC2 subnet IDs for the proxy.