describeDbClusterEndpoints

Returns information about endpoints for an Amazon Aurora DB cluster.

This action only applies to Aurora DB clusters.

Samples


fun main() { 
   //sampleStart 
   // The following example retrieves details for your DB cluster endpoints. The most common kinds of
// Aurora clusters have two endpoints. One endpoint has type WRITER. You can use this endpoint for all SQL
// statements. The other endpoint has type READER. You can use this endpoint only for SELECT and other read only
// SQL statements.
val resp = rdsClient.describeDbClusterEndpoints() 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // The following example retrieves details for the DB cluster endpoints of a single specified DB
// cluster. Aurora Serverless clusters have only a single endpoint with a type of WRITER.
val resp = rdsClient.describeDbClusterEndpoints {
    dbClusterIdentifier = "serverless-cluster"
} 
   //sampleEnd
}