createDbClusterEndpoint

Creates a new custom endpoint and associates it with an Amazon Aurora DB cluster.

This action applies only to Aurora DB clusters.

Samples

// The following example creates a custom DB cluster endpoint and associate it with the specified
// Aurora DB cluster.
val resp = rdsClient.createDbClusterEndpoint {
    dbClusterIdentifier = "mydbcluster"
    dbClusterEndpointIdentifier = "mycustomendpoint"
    endpointType = "reader"
    staticMembers = listOf<String>(
        "dbinstance1",
        "dbinstance2"
    )
}