Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DBProxy = DBProxy' {
- status :: Maybe DBProxyStatus
- dbProxyArn :: Maybe Text
- debugLogging :: Maybe Bool
- vpcSubnetIds :: Maybe [Text]
- vpcId :: Maybe Text
- engineFamily :: Maybe Text
- auth :: Maybe [UserAuthConfigInfo]
- requireTLS :: Maybe Bool
- idleClientTimeout :: Maybe Int
- updatedDate :: Maybe ISO8601
- createdDate :: Maybe ISO8601
- vpcSecurityGroupIds :: Maybe [Text]
- dbProxyName :: Maybe Text
- endpoint :: Maybe Text
- roleArn :: Maybe Text
- newDBProxy :: DBProxy
- dbProxy_status :: Lens' DBProxy (Maybe DBProxyStatus)
- dbProxy_dbProxyArn :: Lens' DBProxy (Maybe Text)
- dbProxy_debugLogging :: Lens' DBProxy (Maybe Bool)
- dbProxy_vpcSubnetIds :: Lens' DBProxy (Maybe [Text])
- dbProxy_vpcId :: Lens' DBProxy (Maybe Text)
- dbProxy_engineFamily :: Lens' DBProxy (Maybe Text)
- dbProxy_auth :: Lens' DBProxy (Maybe [UserAuthConfigInfo])
- dbProxy_requireTLS :: Lens' DBProxy (Maybe Bool)
- dbProxy_idleClientTimeout :: Lens' DBProxy (Maybe Int)
- dbProxy_updatedDate :: Lens' DBProxy (Maybe UTCTime)
- dbProxy_createdDate :: Lens' DBProxy (Maybe UTCTime)
- dbProxy_vpcSecurityGroupIds :: Lens' DBProxy (Maybe [Text])
- dbProxy_dbProxyName :: Lens' DBProxy (Maybe Text)
- dbProxy_endpoint :: Lens' DBProxy (Maybe Text)
- dbProxy_roleArn :: Lens' DBProxy (Maybe Text)
Documentation
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.
DBProxy' | |
|
Instances
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: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:dbProxyArn:DBProxy'
, dbProxy_dbProxyArn
- The Amazon Resource Name (ARN) for the proxy.
$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:vpcSubnetIds:DBProxy'
, dbProxy_vpcSubnetIds
- The EC2 subnet IDs for the proxy.
$sel:vpcId:DBProxy'
, dbProxy_vpcId
- Provides the VPC ID of the DB proxy.
$sel:engineFamily:DBProxy'
, dbProxy_engineFamily
- The engine family applies to MySQL and PostgreSQL for both RDS and
Aurora.
$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:requireTLS:DBProxy'
, dbProxy_requireTLS
- Indicates whether Transport Layer Security (TLS) encryption is required
for connections to the proxy.
$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:updatedDate:DBProxy'
, dbProxy_updatedDate
- The date and time when the proxy was last updated.
$sel:createdDate:DBProxy'
, dbProxy_createdDate
- The date and time when the proxy was first created.
$sel:vpcSecurityGroupIds:DBProxy'
, dbProxy_vpcSecurityGroupIds
- Provides a list of VPC security groups that the proxy belongs to.
$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: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:roleArn:DBProxy'
, dbProxy_roleArn
- 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_dbProxyArn :: Lens' DBProxy (Maybe Text) Source #
The Amazon Resource Name (ARN) for the proxy.
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_engineFamily :: Lens' DBProxy (Maybe Text) Source #
The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
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_requireTLS :: Lens' DBProxy (Maybe Bool) Source #
Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
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_updatedDate :: Lens' DBProxy (Maybe UTCTime) Source #
The date and time when the proxy was last updated.
dbProxy_createdDate :: Lens' DBProxy (Maybe UTCTime) Source #
The date and time when the proxy was first created.
dbProxy_vpcSecurityGroupIds :: Lens' DBProxy (Maybe [Text]) Source #
Provides a list of VPC security groups that the proxy belongs to.
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.