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 DBProxyTarget = DBProxyTarget' {}
- newDBProxyTarget :: DBProxyTarget
- dbProxyTarget_targetArn :: Lens' DBProxyTarget (Maybe Text)
- dbProxyTarget_targetHealth :: Lens' DBProxyTarget (Maybe TargetHealth)
- dbProxyTarget_trackedClusterId :: Lens' DBProxyTarget (Maybe Text)
- dbProxyTarget_role :: Lens' DBProxyTarget (Maybe TargetRole)
- dbProxyTarget_rdsResourceId :: Lens' DBProxyTarget (Maybe Text)
- dbProxyTarget_type :: Lens' DBProxyTarget (Maybe TargetType)
- dbProxyTarget_endpoint :: Lens' DBProxyTarget (Maybe Text)
- dbProxyTarget_port :: Lens' DBProxyTarget (Maybe Int)
Documentation
data DBProxyTarget Source #
Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster that the proxy can connect to. One or more targets are associated with an RDS Proxy target group.
This data type is used as a response element in the
DescribeDBProxyTargets
action.
See: newDBProxyTarget
smart constructor.
DBProxyTarget' | |
|
Instances
newDBProxyTarget :: DBProxyTarget Source #
Create a value of DBProxyTarget
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:targetArn:DBProxyTarget'
, dbProxyTarget_targetArn
- The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB
cluster.
$sel:targetHealth:DBProxyTarget'
, dbProxyTarget_targetHealth
- Information about the connection health of the RDS Proxy target.
$sel:trackedClusterId:DBProxyTarget'
, dbProxyTarget_trackedClusterId
- The DB cluster identifier when the target represents an Aurora DB
cluster. This field is blank when the target represents an RDS DB
instance.
$sel:role':DBProxyTarget'
, dbProxyTarget_role
- A value that indicates whether the target of the proxy can be used for
read/write or read-only operations.
$sel:rdsResourceId:DBProxyTarget'
, dbProxyTarget_rdsResourceId
- The identifier representing the target. It can be the instance
identifier for an RDS DB instance, or the cluster identifier for an
Aurora DB cluster.
$sel:type':DBProxyTarget'
, dbProxyTarget_type
- Specifies the kind of database, such as an RDS DB instance or an Aurora
DB cluster, that the target represents.
$sel:endpoint:DBProxyTarget'
, dbProxyTarget_endpoint
- The writer endpoint for the RDS DB instance or Aurora DB cluster.
$sel:port:DBProxyTarget'
, dbProxyTarget_port
- The port that the RDS Proxy uses to connect to the target RDS DB
instance or Aurora DB cluster.
dbProxyTarget_targetArn :: Lens' DBProxyTarget (Maybe Text) Source #
The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.
dbProxyTarget_targetHealth :: Lens' DBProxyTarget (Maybe TargetHealth) Source #
Information about the connection health of the RDS Proxy target.
dbProxyTarget_trackedClusterId :: Lens' DBProxyTarget (Maybe Text) Source #
The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.
dbProxyTarget_role :: Lens' DBProxyTarget (Maybe TargetRole) Source #
A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
dbProxyTarget_rdsResourceId :: Lens' DBProxyTarget (Maybe Text) Source #
The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster.
dbProxyTarget_type :: Lens' DBProxyTarget (Maybe TargetType) Source #
Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.
dbProxyTarget_endpoint :: Lens' DBProxyTarget (Maybe Text) Source #
The writer endpoint for the RDS DB instance or Aurora DB cluster.
dbProxyTarget_port :: Lens' DBProxyTarget (Maybe Int) Source #
The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.