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.DBProxyTarget

Description

 
Synopsis

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.

Constructors

DBProxyTarget' 

Fields

  • endpoint :: Maybe Text

    The writer endpoint for the RDS DB instance or Aurora DB cluster.

  • port :: Maybe Int

    The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

  • rdsResourceId :: Maybe Text

    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.

  • role' :: Maybe TargetRole

    A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

  • targetArn :: Maybe Text

    The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.

  • targetHealth :: Maybe TargetHealth

    Information about the connection health of the RDS Proxy target.

  • trackedClusterId :: Maybe Text

    The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.

  • type' :: Maybe TargetType

    Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

Instances

Instances details
FromXML DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

Generic DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

Associated Types

type Rep DBProxyTarget :: Type -> Type #

Read DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

Show DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

NFData DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

Methods

rnf :: DBProxyTarget -> () #

Eq DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

Hashable DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

type Rep DBProxyTarget Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyTarget

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: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.

$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: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: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:type':DBProxyTarget', dbProxyTarget_type - 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.

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_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_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_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.