Skip to content

Create Db Cluster Endpoint

rds_create_db_cluster_endpoint R Documentation

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

Description

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

This action applies only to Aurora DB clusters.

Usage

rds_create_db_cluster_endpoint(DBClusterIdentifier,
  DBClusterEndpointIdentifier, EndpointType, StaticMembers,
  ExcludedMembers, Tags)

Arguments

DBClusterIdentifier

[required] The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointIdentifier

[required] The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

EndpointType

[required] The type of the endpoint, one of: READER, WRITER, ANY.

StaticMembers

List of DB instance identifiers that are part of the custom endpoint group.

ExcludedMembers

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. This parameter is relevant only if the list of static members is empty.

Tags

The tags to be assigned to the Amazon RDS resource.

Value

A list with the following syntax:

list(
  DBClusterEndpointIdentifier = "string",
  DBClusterIdentifier = "string",
  DBClusterEndpointResourceIdentifier = "string",
  Endpoint = "string",
  Status = "string",
  EndpointType = "string",
  CustomEndpointType = "string",
  StaticMembers = list(
    "string"
  ),
  ExcludedMembers = list(
    "string"
  ),
  DBClusterEndpointArn = "string"
)

Request syntax

svc$create_db_cluster_endpoint(
  DBClusterIdentifier = "string",
  DBClusterEndpointIdentifier = "string",
  EndpointType = "string",
  StaticMembers = list(
    "string"
  ),
  ExcludedMembers = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)